Changeset 66853 in webkit


Ignore:
Timestamp:
Sep 6, 2010 4:00:57 PM (14 years ago)
Author:
diegohcg@webkit.org
Message:

2010-09-06 Diego Gonzalez <diegohcg@webkit.org>

Reviewed by Antonio Gomes.

[Qt] Update NetworkAccessManager in Qt FrameNetworkingContext
https://bugs.webkit.org/show_bug.cgi?id=45231

Make possible to get the current QNAM when NetwokingContext request it.

  • WebCoreSupport/FrameNetworkingContextQt.cpp: (WebCore::FrameNetworkingContextQt::networkAccessManager):
Location:
trunk/WebKit/qt
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebKit/qt/ChangeLog

    r66835 r66853  
     12010-09-06  Diego Gonzalez  <diegohcg@webkit.org>
     2
     3        Reviewed by Antonio Gomes.
     4
     5        [Qt] Update NetworkAccessManager in Qt FrameNetworkingContext
     6        https://bugs.webkit.org/show_bug.cgi?id=45231
     7
     8        Make possible to get the current QNAM when NetwokingContext request it.
     9
     10        * WebCoreSupport/FrameNetworkingContextQt.cpp:
     11        (WebCore::FrameNetworkingContextQt::networkAccessManager):
     12
    1132010-09-06  Csaba Osztrogonác  <ossy@webkit.org>
    214
  • trunk/WebKit/qt/WebCoreSupport/FrameNetworkingContextQt.cpp

    r66794 r66853  
    2424#include <QNetworkAccessManager>
    2525#include <QObject>
     26#include <QWebFrame>
     27#include <QWebPage>
    2628
    2729namespace WebCore {
     
    4648QNetworkAccessManager* FrameNetworkingContextQt::networkAccessManager() const
    4749{
    48     return m_networkAccessManager;
     50    return (qobject_cast<QWebFrame*>(m_originatingObject))->page()->networkAccessManager();
    4951}
    5052
Note: See TracChangeset for help on using the changeset viewer.