Changeset 90376 in webkit


Ignore:
Timestamp:
Jul 4, 2011 1:28:13 PM (13 years ago)
Author:
vsevik@chromium.org
Message:

2011-07-04 Vsevolod Vlasov <vsevik@chromium.org>

ResourceLoadNotifier::dispatchWillSendRequest should not compare StringImpl directly
https://bugs.webkit.org/show_bug.cgi?id=63873

Reviewed by Alexey Proskuryakov.

  • loader/ResourceLoadNotifier.cpp: (WebCore::ResourceLoadNotifier::dispatchWillSendRequest):
Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r90375 r90376  
     12011-07-04  Vsevolod Vlasov  <vsevik@chromium.org>
     2
     3        ResourceLoadNotifier::dispatchWillSendRequest should not compare StringImpl directly
     4        https://bugs.webkit.org/show_bug.cgi?id=63873
     5
     6        Reviewed by Alexey Proskuryakov.
     7
     8        * loader/ResourceLoadNotifier.cpp:
     9        (WebCore::ResourceLoadNotifier::dispatchWillSendRequest):
     10
    1112011-07-04  Sheriff Bot  <webkit.review.bot@gmail.com>
    212
  • trunk/Source/WebCore/loader/ResourceLoadNotifier.cpp

    r90375 r90376  
    108108void ResourceLoadNotifier::dispatchWillSendRequest(DocumentLoader* loader, unsigned long identifier, ResourceRequest& request, const ResourceResponse& redirectResponse)
    109109{
    110     StringImpl* oldRequestURL = request.url().string().impl();
     110    String oldRequestURL = request.url().string();
    111111    m_frame->loader()->documentLoader()->didTellClientAboutLoad(request.url());
    112112
     
    114114
    115115    // If the URL changed, then we want to put that new URL in the "did tell client" set too.
    116     if (!request.isNull() && oldRequestURL != request.url().string().impl())
     116    if (!request.isNull() && oldRequestURL != request.url().string())
    117117        m_frame->loader()->documentLoader()->didTellClientAboutLoad(request.url());
    118118
Note: See TracChangeset for help on using the changeset viewer.