Index: content/browser/browser_plugin/browser_plugin_embedder_helper.cc |
diff --git a/content/browser/browser_plugin/browser_plugin_embedder_helper.cc b/content/browser/browser_plugin/browser_plugin_embedder_helper.cc |
index ba63545e06939cdc362cb5d16859b29479733cb4..65911ad4d25f50b936891c4a67aacaf1177a3e19 100644 |
--- a/content/browser/browser_plugin/browser_plugin_embedder_helper.cc |
+++ b/content/browser/browser_plugin/browser_plugin_embedder_helper.cc |
@@ -93,7 +93,8 @@ void BrowserPluginEmbedderHelper::OnHandleInputEvent( |
// Convert the window coordinates into screen coordinates. |
gfx::Rect guest_screen_rect(*guest_rect); |
if (rvh->GetView()) |
- guest_screen_rect.Offset(rvh->GetView()->GetViewBounds().origin()); |
+ guest_screen_rect.Offset( |
+ rvh->GetView()->GetViewBounds().OffsetFromOrigin()); |
IPC::Message* reply_message = |
IPC::SyncMessage::GenerateReply(&message); |