diff options
author | fsamuel <fsamuel@chromium.org> | 2015-02-25 12:07:03 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-02-25 20:07:56 +0000 |
commit | 49745bbf3e2dc37bd4218389c9a9c3a610a82889 (patch) | |
tree | 92faf21dbb0ecf8778113b72cca63b06f680261b /content/browser/browser_plugin/browser_plugin_guest.cc | |
parent | bd068cbf310c99f58181dbed9a3493285227c023 (diff) | |
download | chromium_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.cc | 2 |
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 = |