Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(48)

Unified Diff: third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp

Issue 1367853002: Move GeolocationDispatcher into blink. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp
diff --git a/third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp b/third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp
index 7230e961ecec6f9f0eb007cf69832f03653b08fa..04470a6ce0a35ce9f101d97e6c4b51bc97028708 100644
--- a/third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp
+++ b/third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp
@@ -124,8 +124,10 @@ DEFINE_TRACE(FrameLoaderClientImpl)
void FrameLoaderClientImpl::didCreateNewDocument()
{
- if (m_webFrame->client())
+ if (m_webFrame->client()) {
+ m_webFrame->frame()->document()->setServiceProvider(m_webFrame->client()->serviceProvider());
m_webFrame->client()->didCreateNewDocument(m_webFrame);
+ }
}
void FrameLoaderClientImpl::dispatchDidClearWindowObjectInMainWorld()

Powered by Google App Engine
This is Rietveld 408576698