Changeset 67224 in webkit


Ignore:
Timestamp:
Sep 10, 2010 1:01:53 PM (14 years ago)
Author:
abarth@webkit.org
Message:

2010-09-10 Adam Barth <abarth@webkit.org>

Reviewed by Darin Adler.

Remove useless FrameLoader method
https://bugs.webkit.org/show_bug.cgi?id=45492

This method has one caller, and that caller already has a more direct
way of accessing the correct DocumentLoader.

  • loader/FrameLoader.cpp:
  • loader/FrameLoader.h:
  • loader/MainResourceLoader.cpp: (WebCore::MainResourceLoader::addData):
Location:
trunk/WebCore
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r67223 r67224  
     12010-09-10  Adam Barth  <abarth@webkit.org>
     2
     3        Reviewed by Darin Adler.
     4
     5        Remove useless FrameLoader method
     6        https://bugs.webkit.org/show_bug.cgi?id=45492
     7
     8        This method has one caller, and that caller already has a more direct
     9        way of accessing the correct DocumentLoader.
     10
     11        * loader/FrameLoader.cpp:
     12        * loader/FrameLoader.h:
     13        * loader/MainResourceLoader.cpp:
     14        (WebCore::MainResourceLoader::addData):
     15
    1162010-09-10  Adam Barth  <abarth@webkit.org>
    217
  • trunk/WebCore/loader/FrameLoader.cpp

    r67223 r67224  
    14941494}
    14951495
    1496 void FrameLoader::receivedData(const char* data, int length)
    1497 {
    1498     activeDocumentLoader()->receivedData(data, length);
    1499 }
    1500 
    15011496bool FrameLoader::willLoadMediaElementURL(KURL& url)
    15021497{
  • trunk/WebCore/loader/FrameLoader.h

    r67223 r67224  
    154154    const ResourceRequest& initialRequest() const;
    155155    void receivedMainResourceError(const ResourceError&, bool isComplete);
    156     void receivedData(const char*, int);
    157156
    158157    bool willLoadMediaElementURL(KURL&);
  • trunk/WebCore/loader/MainResourceLoader.cpp

    r65468 r67224  
    147147{
    148148    ResourceLoader::addData(data, length, allAtOnce);
    149     frameLoader()->receivedData(data, length);
     149    documentLoader()->receivedData(data, length);
    150150}
    151151
Note: See TracChangeset for help on using the changeset viewer.