| 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 86c3144be0facce626bb6bdd73a4a607d189416c..4919b1ff5c39ac27c7039d9706454190b627052b 100644
|
| --- a/content/browser/browser_plugin/browser_plugin_guest.cc
|
| +++ b/content/browser/browser_plugin/browser_plugin_guest.cc
|
| @@ -387,7 +387,7 @@ void BrowserPluginGuest::ShowWidget(RenderViewHost* render_view_host,
|
| int route_id,
|
| const gfx::Rect& initial_pos) {
|
| gfx::Rect screen_pos(initial_pos);
|
| - screen_pos.Offset(guest_rect_.origin());
|
| + screen_pos.Offset(guest_rect_.OffsetFromOrigin());
|
| static_cast<WebContentsImpl*>(web_contents())->ShowCreatedWidget(route_id,
|
| screen_pos);
|
| }
|
|
|