Changeset 67461 in webkit


Ignore:
Timestamp:
Sep 14, 2010 6:16:42 AM (14 years ago)
Author:
abecsi@webkit.org
Message:

2010-09-14 Balazs Kelemen <kb@inf.u-szeged.hu>

Reviewed by Andreas Kling.

[Qt] Cookie operations should use NetworkingContext
https://bugs.webkit.org/show_bug.cgi?id=45745
No new functionality so no new tests.

  • platform/qt/CookieJarQt.cpp: (WebCore::cookieJar): Use the NetworkingContext for obtaining the QNetworkAccessManager instead of directly accessing the FrameLoaderClient.
Location:
trunk/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r67459 r67461  
     12010-09-14  Balazs Kelemen  <kb@inf.u-szeged.hu>
     2
     3        Reviewed by Andreas Kling.
     4
     5        [Qt] Cookie operations should use NetworkingContext
     6        https://bugs.webkit.org/show_bug.cgi?id=45745
     7        No new functionality so no new tests.
     8
     9        * platform/qt/CookieJarQt.cpp:
     10        (WebCore::cookieJar): Use the NetworkingContext for obtaining the QNetworkAccessManager
     11        instead of directly accessing the FrameLoaderClient.
     12
    1132010-09-14  Sheriff Bot  <webkit.review.bot@gmail.com>
    214
  • trunk/WebCore/platform/qt/CookieJarQt.cpp

    r56386 r67461  
    3232#include "Document.h"
    3333#include "KURL.h"
     34#include "NetworkingContext.h"
    3435#include "PlatformString.h"
    3536
     
    5253    if (!loader)
    5354        return 0;
    54     QWebFrame* webFrame = static_cast<FrameLoaderClientQt*>(loader->client())->webFrame();
    55     QWebPage* page = webFrame->page();
    56     QNetworkAccessManager* manager = page->networkAccessManager();
     55    QNetworkAccessManager* manager = loader->networkingContext()->networkAccessManager();
    5756    QNetworkCookieJar* jar = manager->cookieJar();
    5857    return jar;
Note: See TracChangeset for help on using the changeset viewer.