Index: third_party/WebKit/Source/web/WebFactoryImpl.cpp |
diff --git a/third_party/WebKit/Source/web/WebFactoryImpl.cpp b/third_party/WebKit/Source/web/WebFactoryImpl.cpp |
index 66230e3c840b6d554ceb80b03f06e71d2cb6a164..1ffa694782cc943c68218febe1be4ec0e313a5ce 100644 |
--- a/third_party/WebKit/Source/web/WebFactoryImpl.cpp |
+++ b/third_party/WebKit/Source/web/WebFactoryImpl.cpp |
@@ -17,10 +17,10 @@ ChromeClient* WebFactoryImpl::CreateChromeClient(WebViewBase* view) const { |
return ChromeClientImpl::Create(view); |
} |
-WebViewBase* WebFactoryImpl::CreateWebViewBase( |
- WebViewClient* client, |
- WebPageVisibilityState state) const { |
- return WebViewImpl::Create(client, state); |
+WebViewBase* WebFactoryImpl::CreateWebViewBase(WebViewClient* client, |
+ WebPageVisibilityState state, |
+ WebViewBase* opener) const { |
+ return WebViewImpl::Create(client, state, static_cast<WebViewImpl*>(opener)); |
} |
WebLocalFrameBase* WebFactoryImpl::CreateWebLocalFrameBase( |