Changeset 203756 in webkit


Ignore:
Timestamp:
Jul 26, 2016 5:44:01 PM (8 years ago)
Author:
Simon Fraser
Message:

Fix the Windows debug build.

WebResourceLoadScheduler's logging was a holdover from it being in WebCore,
and prior to r203749 WebKit was actually using a WebCore log channel.

For some reason this doesn't build on Windows debug, so just remove
this logging for now.

Source/WebKit:

  • WebCoreSupport/WebResourceLoadScheduler.cpp:

(WebResourceLoadScheduler::scheduleLoad): Deleted.
(WebResourceLoadScheduler::servePendingRequests): Deleted.
(WebResourceLoadScheduler::scheduleServePendingRequests): Deleted.
(WebResourceLoadScheduler::requestTimerFired): Deleted.
(WebResourceLoadScheduler::HostInformation::addLoadInProgress): Deleted.

Source/WebKit/mac:

  • Misc/WebKitLogging.h:
Location:
trunk/Source/WebKit
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/ChangeLog

    r203754 r203756  
     12016-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
    1182016-07-26  Simon Fraser  <simon.fraser@apple.com>
    219
  • trunk/Source/WebKit/WebCoreSupport/WebResourceLoadScheduler.cpp

    r203749 r203756  
    2525#include "WebResourceLoadScheduler.h"
    2626
    27 #include "WebKitLogging.h"
    2827#include <WebCore/Document.h>
    2928#include <WebCore/DocumentLoader.h>
     
    127126    ASSERT(resourceLoader);
    128127
    129     LOG(ResourceLoading, "WebResourceLoadScheduler::load resource %p '%s'", resourceLoader, resourceLoader->url().string().latin1().data());
    130 
    131128#if PLATFORM(IOS)
    132129    // 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.
     
    222219void WebResourceLoadScheduler::servePendingRequests(ResourceLoadPriority minimumPriority)
    223220{
    224     LOG(ResourceLoading, "WebResourceLoadScheduler::servePendingRequests. m_suspendPendingRequestsCount=%d", m_suspendPendingRequestsCount);
    225221    if (isSuspendingPendingRequests())
    226222        return;
     
    243239void WebResourceLoadScheduler::servePendingRequests(HostInformation* host, ResourceLoadPriority minimumPriority)
    244240{
    245     LOG(ResourceLoading, "WebResourceLoadScheduler::servePendingRequests HostInformation.m_name='%s'", host->name().latin1().data());
    246 
    247241    auto priority = ResourceLoadPriority::Highest;
    248242    while (true) {
     
    292286void WebResourceLoadScheduler::scheduleServePendingRequests()
    293287{
    294     LOG(ResourceLoading, "WebResourceLoadScheduler::scheduleServePendingRequests, m_requestTimer.isActive()=%u", m_requestTimer.isActive());
    295288    if (!m_requestTimer.isActive())
    296289        m_requestTimer.startOneShot(0);
     
    299292void WebResourceLoadScheduler::requestTimerFired()
    300293{
    301     LOG(ResourceLoading, "WebResourceLoadScheduler::requestTimerFired\n");
    302294    servePendingRequests();
    303295}
     
    339331void WebResourceLoadScheduler::HostInformation::addLoadInProgress(ResourceLoader* resourceLoader)
    340332{
    341     LOG(ResourceLoading, "HostInformation '%s' loading '%s'. Current count %d", m_name.latin1().data(), resourceLoader->url().string().latin1().data(), m_requestsLoading.size());
    342333    m_requestsLoading.add(resourceLoader);
    343334}
  • trunk/Source/WebKit/mac/ChangeLog

    r203752 r203756  
     12016-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
    1132016-07-26  Myles C. Maxfield  <mmaxfield@apple.com>
    214
  • trunk/Source/WebKit/mac/Misc/WebKitLogging.h

    r203749 r203756  
    6161    M(Redirect) \
    6262    M(RemoteInspector) \
    63     M(ResourceLoading) \
    6463    M(TextInput) \
    6564    M(Timing) \
Note: See TracChangeset for help on using the changeset viewer.