Index: content/browser/web_contents/web_contents_impl.cc |
diff --git a/content/browser/web_contents/web_contents_impl.cc b/content/browser/web_contents/web_contents_impl.cc |
index c4ab6f55571a9887c3a706fbf59f6b5ec46ca05d..ef061c94b3208cb96ab77aa66a73785ebe9605e5 100644 |
--- a/content/browser/web_contents/web_contents_impl.cc |
+++ b/content/browser/web_contents/web_contents_impl.cc |
@@ -2368,9 +2368,10 @@ void WebContentsImpl::OnPpapiBrokerPermissionResult(int request_id, |
result)); |
} |
-void WebContentsImpl::OnBrowserPluginNavigateGuest(int instance_id, |
- const std::string& src, |
- const gfx::Size& size) { |
+void WebContentsImpl::OnBrowserPluginNavigateGuest( |
+ int instance_id, |
+ const std::string& src, |
+ const BrowserPluginHostMsg_ResizeGuest_Params& resize_params) { |
// This is the first 'navigate' to a browser plugin, before WebContents has/is |
// an 'Embedder'; subsequent navigate messages for this WebContents will |
// be handled by the BrowserPluginEmbedderHelper of the embedder itself (this |
@@ -2386,7 +2387,7 @@ void WebContentsImpl::OnBrowserPluginNavigateGuest(int instance_id, |
browser_plugin_embedder_->NavigateGuest(GetRenderViewHost(), |
instance_id, |
src, |
- size); |
+ resize_params); |
} |
// Notifies the RenderWidgetHost instance about the fact that the page is |