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 1923f09b771d480d5de58ea465c421033207ce11..ebaa74e371365b39eb81908d735076bd5b6f4885 100644 |
--- a/content/browser/browser_plugin/browser_plugin_guest.cc |
+++ b/content/browser/browser_plugin/browser_plugin_guest.cc |
@@ -376,7 +376,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); |
} |