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

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

Issue 1986963003: Apps window keeps moving down to the right when reopened (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 | « ui/wm/core/visibility_controller_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/wm/core/window_animations.cc
diff --git a/ui/wm/core/window_animations.cc b/ui/wm/core/window_animations.cc
index 07476c36b0456c73c283fabbf27a1e48dc7852b9..eb43332c85c5af2dcf0f1f76cf00035304b1b3fd 100644
--- a/ui/wm/core/window_animations.cc
+++ b/ui/wm/core/window_animations.cc
@@ -103,6 +103,9 @@ class HidingWindowAnimationObserverBase : public aura::WindowObserver {
layer_owner_->root(), topmost_transient_child->layer());
}
}
+ // Reset the transform for the window_ so that window's bound is represent
sky 2016/05/18 00:03:55 nit: |window_| (just as on line 80 and 81). Also,
+ // the correct value.
+ window_->layer()->SetTransform(gfx::Transform());
}
protected:
« no previous file with comments | « ui/wm/core/visibility_controller_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698