Commit 2e40fbf0 authored by skaslev@chromium.org's avatar skaslev@chromium.org

[Aura] Fix for a flash of black frame when resizing with the new resize logic.

BUG=124671, 161008


Review URL: https://chromiumcodereview.appspot.com/13560016

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192950 0039d316-1c4b-4281-b951-d872f2087c98
parent df5ba6bc
...@@ -758,6 +758,7 @@ void RenderWidgetHostViewAura::WasHidden() { ...@@ -758,6 +758,7 @@ void RenderWidgetHostViewAura::WasHidden() {
void RenderWidgetHostViewAura::SetSize(const gfx::Size& size) { void RenderWidgetHostViewAura::SetSize(const gfx::Size& size) {
SetBounds(gfx::Rect(window_->bounds().origin(), size)); SetBounds(gfx::Rect(window_->bounds().origin(), size));
previous_damage_.op(RectToSkIRect(gfx::Rect(size)), SkRegion::kUnion_Op);
} }
void RenderWidgetHostViewAura::SetBounds(const gfx::Rect& rect) { void RenderWidgetHostViewAura::SetBounds(const gfx::Rect& rect) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment