summaryrefslogtreecommitdiffstats
path: root/content/browser/browser_plugin/browser_plugin_guest.cc
diff options
context:
space:
mode:
authorfsamuel <fsamuel@chromium.org>2015-02-25 12:07:03 -0800
committerCommit bot <commit-bot@chromium.org>2015-02-25 20:07:56 +0000
commit49745bbf3e2dc37bd4218389c9a9c3a610a82889 (patch)
tree92faf21dbb0ecf8778113b72cca63b06f680261b /content/browser/browser_plugin/browser_plugin_guest.cc
parentbd068cbf310c99f58181dbed9a3493285227c023 (diff)
downloadchromium_src-49745bbf3e2dc37bd4218389c9a9c3a610a82889.zip
chromium_src-49745bbf3e2dc37bd4218389c9a9c3a610a82889.tar.gz
chromium_src-49745bbf3e2dc37bd4218389c9a9c3a610a82889.tar.bz2
Cleanup BrowserPlugin
BrowserPluginHostMsg_Attach_Params took in both a size and an origin before this patch. It seems simpler to pass a view_rect instead. BUG=none TBR=kenrb@chromium.org for trivial browser_plugin_messages.h change. Review URL: https://codereview.chromium.org/953243002 Cr-Commit-Position: refs/heads/master@{#318096}
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 =