diff options
Diffstat (limited to 'Source/WebKit2/WebProcess/WebCoreSupport/qt/WebFrameNetworkingContext.h')
-rw-r--r-- | Source/WebKit2/WebProcess/WebCoreSupport/qt/WebFrameNetworkingContext.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Source/WebKit2/WebProcess/WebCoreSupport/qt/WebFrameNetworkingContext.h b/Source/WebKit2/WebProcess/WebCoreSupport/qt/WebFrameNetworkingContext.h index 966e6d2e9..8e72baef6 100644 --- a/Source/WebKit2/WebProcess/WebCoreSupport/qt/WebFrameNetworkingContext.h +++ b/Source/WebKit2/WebProcess/WebCoreSupport/qt/WebFrameNetworkingContext.h @@ -22,7 +22,6 @@ #include "WebProcess.h" #include <WebCore/FrameNetworkingContext.h> -#include <wtf/OwnPtr.h> namespace WebKit { @@ -31,17 +30,18 @@ class WebFrame; class WebFrameNetworkingContext : public WebCore::FrameNetworkingContext { public: static PassRefPtr<WebFrameNetworkingContext> create(WebFrame*); - QObject* originatingObject() const { return m_originatingObject.get(); } + + QObject* originatingObject() const override { return m_originatingObject.get(); } private: WebFrameNetworkingContext(WebFrame*); ~WebFrameNetworkingContext() { } - QNetworkAccessManager* networkAccessManager() const { return WebProcess::shared().networkAccessManager(); } - bool mimeSniffingEnabled() const { return m_mimeSniffingEnabled; } - bool thirdPartyCookiePolicyPermission(const QUrl&) const { /*TODO. Used QWebSettings in WK1.*/ return true; } + QNetworkAccessManager* networkAccessManager() const override { return WebProcess::singleton().networkAccessManager(); } + bool mimeSniffingEnabled() const override { return m_mimeSniffingEnabled; } + bool thirdPartyCookiePolicyPermission(const QUrl&) const override { /*TODO. Used QWebSettings in WK1.*/ return true; } - OwnPtr<QObject> m_originatingObject; + std::unique_ptr<QObject> m_originatingObject; bool m_mimeSniffingEnabled; }; |