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

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

Issue 13560016: [Aura] Fix for a flash of black frame when resizing with the new resize logic. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 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 | « no previous file | 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 6c2339fb720c3874379dafcd41bf7bb978f6a959..513551f9ad8e0467ecfadf39cb43c333d40bd44d 100644
--- a/content/browser/renderer_host/render_widget_host_view_aura.cc
+++ b/content/browser/renderer_host/render_widget_host_view_aura.cc
@@ -758,6 +758,7 @@ void RenderWidgetHostViewAura::WasHidden() {
void RenderWidgetHostViewAura::SetSize(const gfx::Size& size) {
SetBounds(gfx::Rect(window_->bounds().origin(), size));
+ previous_damage_.op(RectToSkIRect(gfx::Rect(size)), SkRegion::kUnion_Op);
piman 2013/04/09 00:11:49 Why is this needed? When we resize, the new frame
}
void RenderWidgetHostViewAura::SetBounds(const gfx::Rect& rect) {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698