Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(384)

Unified Diff: content/browser/browser_plugin/browser_plugin_guest.cc

Issue 1237343002: Fix nested GuestView's container bounds calculation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix type mismatch for win_x64 compile Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/guest_view/browser/test_guest_view_manager.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
}
« no previous file with comments | « components/guest_view/browser/test_guest_view_manager.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698