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 359d53a20daea7fd8787a603edafd186a2c70d8b..54c3f5d6e53d8355fcd8f3afdbdd437bde96071d 100644 |
--- a/content/browser/browser_plugin/browser_plugin_guest.cc |
+++ b/content/browser/browser_plugin/browser_plugin_guest.cc |
@@ -475,11 +475,6 @@ gfx::Point BrowserPluginGuest::GetScreenCoordinates( |
gfx::Point screen_pos(relative_position); |
screen_pos += guest_window_rect_.OffsetFromOrigin(); |
- if (embedder_web_contents()->GetBrowserPluginGuest()) { |
- BrowserPluginGuest* embedder_guest = |
- embedder_web_contents()->GetBrowserPluginGuest(); |
- screen_pos += embedder_guest->guest_window_rect_.OffsetFromOrigin(); |
- } |
return screen_pos; |
} |