summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp')
-rw-r--r--third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp b/third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp
index d926ef8..4a6c434 100644
--- a/third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp
+++ b/third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp
@@ -680,9 +680,9 @@ PassRefPtrWillBeRawPtr<DocumentLoader> FrameLoaderClientImpl::createDocumentLoad
return ds.release();
}
-String FrameLoaderClientImpl::userAgent(const KURL& url)
+String FrameLoaderClientImpl::userAgent()
{
- WebString override = m_webFrame->client()->userAgentOverride(m_webFrame, WebURL(url));
+ WebString override = m_webFrame->client()->userAgentOverride(m_webFrame);
if (!override.isEmpty())
return override;