Changeset 172931 in webkit


Ignore:
Timestamp:
Aug 25, 2014 11:46:01 AM (10 years ago)
Author:
Antti Koivisto
Message:

Remove ResourceLoader::didChangePriority
https://bugs.webkit.org/show_bug.cgi?id=136230

Reviewed by Andreas Kling.

It doesn't do anything on any platform.

  • loader/ResourceLoader.cpp:

(WebCore::ResourceLoader::didChangePriority): Deleted.

  • loader/ResourceLoader.h:
  • loader/cache/CachedResource.cpp:

(WebCore::CachedResource::setLoadPriority):

  • platform/network/ResourceHandle.cpp:

(WebCore::ResourceHandle::didChangePriority): Deleted.

  • platform/network/ResourceHandle.h:
Location:
trunk/Source/WebCore
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r172930 r172931  
     12014-08-25  Antti Koivisto  <antti@apple.com>
     2
     3        Remove ResourceLoader::didChangePriority
     4        https://bugs.webkit.org/show_bug.cgi?id=136230
     5
     6        Reviewed by Andreas Kling.
     7
     8        It doesn't do anything on any platform.
     9
     10        * loader/ResourceLoader.cpp:
     11        (WebCore::ResourceLoader::didChangePriority): Deleted.
     12        * loader/ResourceLoader.h:
     13        * loader/cache/CachedResource.cpp:
     14        (WebCore::CachedResource::setLoadPriority):
     15        * platform/network/ResourceHandle.cpp:
     16        (WebCore::ResourceHandle::didChangePriority): Deleted.
     17        * platform/network/ResourceHandle.h:
     18
    1192014-08-24  Brian J. Burg  <burg@cs.washington.edu>
    220
  • trunk/Source/WebCore/loader/ResourceLoader.cpp

    r172495 r172931  
    405405}
    406406
    407 void ResourceLoader::didChangePriority(ResourceLoadPriority loadPriority)
    408 {
    409     if (m_handle)
    410         m_handle->didChangePriority(loadPriority);
    411 }
    412 
    413407void ResourceLoader::cancel()
    414408{
  • trunk/Source/WebCore/loader/ResourceLoader.h

    r172849 r172931  
    104104    virtual void didReceiveDataArray(CFArrayRef dataArray);
    105105#endif
    106     void didChangePriority(ResourceLoadPriority);
    107106
    108107    virtual bool shouldUseCredentialStorage();
  • trunk/Source/WebCore/loader/cache/CachedResource.cpp

    r172790 r172931  
    794794    if (loadPriority == ResourceLoadPriorityUnresolved)
    795795        loadPriority = defaultPriorityForResourceType(type());
    796     if (loadPriority == m_loadPriority)
    797         return;
    798796    m_loadPriority = loadPriority;
    799     if (m_loader)
    800         m_loader->didChangePriority(loadPriority);
    801797}
    802798
  • trunk/Source/WebCore/platform/network/ResourceHandle.cpp

    r168248 r172931  
    240240}
    241241
    242 void ResourceHandle::didChangePriority(ResourceLoadPriority)
    243 {
    244     // Optionally implemented by platform.
    245 }
    246 
    247242} // namespace WebCore
  • trunk/Source/WebCore/platform/network/ResourceHandle.h

    r172849 r172931  
    239239    WEBCORE_EXPORT void setDefersLoading(bool);
    240240
    241     void didChangePriority(ResourceLoadPriority);
    242 
    243241    WEBCORE_EXPORT ResourceRequest& firstRequest();
    244242    const String& lastHTTPMethod() const;
Note: See TracChangeset for help on using the changeset viewer.