Changeset 203756 in webkit
- Timestamp:
- Jul 26, 2016 5:44:01 PM (8 years ago)
- Location:
- trunk/Source/WebKit
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/ChangeLog
r203754 r203756 1 2016-07-26 Simon Fraser <simon.fraser@apple.com> 2 3 Fix the Windows debug build. 4 5 WebResourceLoadScheduler's logging was a holdover from it being in WebCore, 6 and prior to r203749 WebKit was actually using a WebCore log channel. 7 8 For some reason this doesn't build on Windows debug, so just remove 9 this logging for now. 10 11 * WebCoreSupport/WebResourceLoadScheduler.cpp: 12 (WebResourceLoadScheduler::scheduleLoad): Deleted. 13 (WebResourceLoadScheduler::servePendingRequests): Deleted. 14 (WebResourceLoadScheduler::scheduleServePendingRequests): Deleted. 15 (WebResourceLoadScheduler::requestTimerFired): Deleted. 16 (WebResourceLoadScheduler::HostInformation::addLoadInProgress): Deleted. 17 1 18 2016-07-26 Simon Fraser <simon.fraser@apple.com> 2 19 -
trunk/Source/WebKit/WebCoreSupport/WebResourceLoadScheduler.cpp
r203749 r203756 25 25 #include "WebResourceLoadScheduler.h" 26 26 27 #include "WebKitLogging.h"28 27 #include <WebCore/Document.h> 29 28 #include <WebCore/DocumentLoader.h> … … 127 126 ASSERT(resourceLoader); 128 127 129 LOG(ResourceLoading, "WebResourceLoadScheduler::load resource %p '%s'", resourceLoader, resourceLoader->url().string().latin1().data());130 131 128 #if PLATFORM(IOS) 132 129 // If there's a web archive resource for this URL, we don't need to schedule the load since it will never touch the network. … … 222 219 void WebResourceLoadScheduler::servePendingRequests(ResourceLoadPriority minimumPriority) 223 220 { 224 LOG(ResourceLoading, "WebResourceLoadScheduler::servePendingRequests. m_suspendPendingRequestsCount=%d", m_suspendPendingRequestsCount);225 221 if (isSuspendingPendingRequests()) 226 222 return; … … 243 239 void WebResourceLoadScheduler::servePendingRequests(HostInformation* host, ResourceLoadPriority minimumPriority) 244 240 { 245 LOG(ResourceLoading, "WebResourceLoadScheduler::servePendingRequests HostInformation.m_name='%s'", host->name().latin1().data());246 247 241 auto priority = ResourceLoadPriority::Highest; 248 242 while (true) { … … 292 286 void WebResourceLoadScheduler::scheduleServePendingRequests() 293 287 { 294 LOG(ResourceLoading, "WebResourceLoadScheduler::scheduleServePendingRequests, m_requestTimer.isActive()=%u", m_requestTimer.isActive());295 288 if (!m_requestTimer.isActive()) 296 289 m_requestTimer.startOneShot(0); … … 299 292 void WebResourceLoadScheduler::requestTimerFired() 300 293 { 301 LOG(ResourceLoading, "WebResourceLoadScheduler::requestTimerFired\n");302 294 servePendingRequests(); 303 295 } … … 339 331 void WebResourceLoadScheduler::HostInformation::addLoadInProgress(ResourceLoader* resourceLoader) 340 332 { 341 LOG(ResourceLoading, "HostInformation '%s' loading '%s'. Current count %d", m_name.latin1().data(), resourceLoader->url().string().latin1().data(), m_requestsLoading.size());342 333 m_requestsLoading.add(resourceLoader); 343 334 } -
trunk/Source/WebKit/mac/ChangeLog
r203752 r203756 1 2016-07-26 Simon Fraser <simon.fraser@apple.com> 2 3 Fix the Windows debug build. 4 5 WebResourceLoadScheduler's logging was a holdover from it being in WebCore, 6 and prior to r203749 WebKit was actually using a WebCore log channel. 7 8 For some reason this doesn't build on Windows debug, so just remove 9 this logging for now. 10 11 * Misc/WebKitLogging.h: 12 1 13 2016-07-26 Myles C. Maxfield <mmaxfield@apple.com> 2 14 -
trunk/Source/WebKit/mac/Misc/WebKitLogging.h
r203749 r203756 61 61 M(Redirect) \ 62 62 M(RemoteInspector) \ 63 M(ResourceLoading) \64 63 M(TextInput) \ 65 64 M(Timing) \
Note: See TracChangeset
for help on using the changeset viewer.