summaryrefslogtreecommitdiffstats
path: root/content/browser/browser_plugin/browser_plugin_guest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'content/browser/browser_plugin/browser_plugin_guest.cc')
-rw-r--r--content/browser/browser_plugin/browser_plugin_guest.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/content/browser/browser_plugin/browser_plugin_guest.cc b/content/browser/browser_plugin/browser_plugin_guest.cc
index a29b56d..111e7a0 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 =