Index: ui/views/controls/webview/webview.cc |
diff --git a/ui/views/controls/webview/webview.cc b/ui/views/controls/webview/webview.cc |
index f17c534f4ac44c9d3cf04f412f45782285b13b4c..da391c26ab07ccad085d05ca313a3d2573c49815 100644 |
--- a/ui/views/controls/webview/webview.cc |
+++ b/ui/views/controls/webview/webview.cc |
@@ -366,6 +366,7 @@ content::WebContents* WebView::CreateWebContents( |
if (!contents) { |
content::WebContents::CreateParams create_params( |
browser_context, NULL); |
+ create_params.context = GetWidget()->GetNativeView(); |
return content::WebContents::Create(create_params); |
} |