Skip to content
  • cjerdonek@webkit.org's avatar
    2010-05-20 Chris Jerdonek <cjerdonek@webkit.org> · a154c9df
    cjerdonek@webkit.org authored
            Reviewed by Eric Seidel.
    
            Modified FrameLoader::urlSelected() to accept a KURL instead of a
            ResourceRequest.
    
            https://bugs.webkit.org/show_bug.cgi?id=39320
    
            Since ResourceRequest has non-explicit single-parameter constructors for
            String and KURL, urlSelected() previously accepted any of String, KURL,
            and ResourceRequest.  This revision changes urlSelected() to accept only
            a KURL to make the API tighter and easier to refactor.
    
            No new functionality, so no new tests.
    
            * loader/FrameLoader.cpp:
            (WebCore::FrameLoader::urlSelected):
              - Changed the public overload to accept a KURL instead of a ResourceRequest.
            * loader/FrameLoader.h:
              - Changed the public overload to accept a KURL instead of a ResourceRequest.
            * wml/WMLAElement.cpp:
            (WebCore::WMLAElement::defaultEventHandler):
              - Updated the call to urlSelected().
    2010-05-20  Chris Jerdonek  <cjerdonek@webkit.org>
    
            Reviewed by Eric Seidel.
    
            Modified FrameLoader::urlSelected() to accept a KURL instead of a
            ResourceRequest.
    
            https://bugs.webkit.org/show_bug.cgi?id=39320
    
            Since ResourceRequest has non-explicit single-parameter constructors for
            String and KURL, urlSelected() previously accepted any of String, KURL,
            and ResourceRequest.  This revision changes urlSelected() to accept only
            a KURL to make the API tighter and easier to refactor.
    
            * WebCoreSupport/WebContextMenuClient.cpp:
            (WebContextMenuClient::searchWithGoogle):
              - Updated the call to urlSelected().
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@59829 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    a154c9df