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

Unified Diff: components/plugins/renderer/webview_plugin.cc

Issue 2651583007: Plumbing blink::Interface{Provider|Registry} through WebLocalFrame's constructor. (Closed)
Patch Set: ScreenWakeLockTest Created 3 years, 11 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
« no previous file with comments | « no previous file | content/renderer/render_frame_impl.h » ('j') | content/renderer/render_frame_impl.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/plugins/renderer/webview_plugin.cc
diff --git a/components/plugins/renderer/webview_plugin.cc b/components/plugins/renderer/webview_plugin.cc
index 0141ce4f6a560bc880d79f2074f227bfdafd0a6a..ec05de3a5d3e657aaee6515600e6d3a91488f4a4 100644
--- a/components/plugins/renderer/webview_plugin.cc
+++ b/components/plugins/renderer/webview_plugin.cc
@@ -253,7 +253,7 @@ WebViewPlugin::WebViewHelper::WebViewHelper(
// consistent view of our preferences.
content::RenderView::ApplyWebPreferences(preferences, web_view_);
WebLocalFrame* web_frame = WebLocalFrame::create(
- blink::WebTreeScopeType::Document, this);
+ blink::WebTreeScopeType::Document, this, nullptr, nullptr);
Łukasz Anforowicz 2017/01/23 23:38:16 WebViewPlugin::WebViewHelper doesn't override inte
web_view_->setMainFrame(web_frame);
// TODO(dcheng): The main frame widget currently has a special case.
// Eliminate this once WebView is no longer a WebWidget.
« no previous file with comments | « no previous file | content/renderer/render_frame_impl.h » ('j') | content/renderer/render_frame_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698