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

Unified Diff: content/browser/renderer_host/render_widget_host_view_aura.cc

Issue 286953002: Remove GetViewBoundsWithResizeLock. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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 | « content/browser/compositor/delegated_frame_host.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/render_widget_host_view_aura.cc
diff --git a/content/browser/renderer_host/render_widget_host_view_aura.cc b/content/browser/renderer_host/render_widget_host_view_aura.cc
index 8095659d5046e27b2cfe3d27c3d0ab0ba20925bd..711107642242e5eb656ff7bb5300c8b19a781c4b 100644
--- a/content/browser/renderer_host/render_widget_host_view_aura.cc
+++ b/content/browser/renderer_host/render_widget_host_view_aura.cc
@@ -768,11 +768,7 @@ bool RenderWidgetHostViewAura::IsShowing() {
}
gfx::Rect RenderWidgetHostViewAura::GetViewBounds() const {
- // This is the size that we want the renderer to produce. While we're waiting
- // for the correct frame (i.e. during a resize), don't change the size so that
- // we don't pipeline more resizes than we can handle.
- gfx::Rect bounds(window_->GetBoundsInScreen());
- return delegated_frame_host_->GetViewBoundsWithResizeLock(bounds);
+ return window_->GetBoundsInScreen();
}
void RenderWidgetHostViewAura::SetBackgroundOpaque(bool opaque) {
« no previous file with comments | « content/browser/compositor/delegated_frame_host.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698