Index: content/browser/browser_plugin/browser_plugin_guest.cc |
diff --git a/content/browser/browser_plugin/browser_plugin_guest.cc b/content/browser/browser_plugin/browser_plugin_guest.cc |
index a29b56d7791d0a0ac3672b85cf3ef7ceeea7db30..111e7a0812e659d525ecec153f0c4a7bc7889edd 100644 |
--- a/content/browser/browser_plugin/browser_plugin_guest.cc |
+++ b/content/browser/browser_plugin/browser_plugin_guest.cc |
@@ -236,7 +236,7 @@ void BrowserPluginGuest::InitInternal( |
UpdateVisibility(); |
is_full_page_plugin_ = params.is_full_page_plugin; |
- guest_window_rect_ = gfx::Rect(params.origin, params.view_size); |
+ guest_window_rect_ = params.view_rect; |
if (owner_web_contents_ != owner_web_contents) { |
WebContentsViewGuest* new_view = |