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

Unified Diff: ui/wm/core/window_animations.cc

Issue 2383263002: Generalize layer mirroring for phantom windows (Closed)
Patch Set: Revert layer renaming Created 4 years, 2 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
Index: ui/wm/core/window_animations.cc
diff --git a/ui/wm/core/window_animations.cc b/ui/wm/core/window_animations.cc
index 3fd5977ded9550c9af83174fbff6716e021c0518..c32da2952fd77c9e4761381eb64b9cce11f6baf7 100644
--- a/ui/wm/core/window_animations.cc
+++ b/ui/wm/core/window_animations.cc
@@ -84,7 +84,7 @@ class HidingWindowAnimationObserverBase : public aura::WindowObserver {
// activation change does not put the window above the animating
// layer.
void DetachAndRecreateLayers() {
- layer_owner_ = RecreateLayers(window_, nullptr);
+ layer_owner_ = RecreateLayers(window_);
if (window_->parent()) {
const aura::Window::Windows& transient_children =
GetTransientChildren(window_);

Powered by Google App Engine
This is Rietveld 408576698