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

Unified Diff: chrome/browser/ui/ash/multi_user/user_switch_animator_chromeos.cc

Issue 2383263002: Generalize layer mirroring for phantom windows (Closed)
Patch Set: Rebase 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
« no previous file with comments | « cc/layers/surface_layer.h ('k') | chrome/browser/ui/views/frame/contents_web_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/ash/multi_user/user_switch_animator_chromeos.cc
diff --git a/chrome/browser/ui/ash/multi_user/user_switch_animator_chromeos.cc b/chrome/browser/ui/ash/multi_user/user_switch_animator_chromeos.cc
index cad2fe6307841bc94534d7674f60f5d4bf46c59b..da9c45f384c2dd6c8483c802a89f4b8e7012834d 100644
--- a/chrome/browser/ui/ash/multi_user/user_switch_animator_chromeos.cc
+++ b/chrome/browser/ui/ash/multi_user/user_switch_animator_chromeos.cc
@@ -334,7 +334,7 @@ void UserSwitchAnimatorChromeOS::TransitionWindows(
// window we encounter.
found_foreground_maximized_window = true;
ui::LayerTreeOwner* old_layer =
- wm::RecreateLayers(window, nullptr).release();
+ wm::RecreateLayers(window).release();
window->layer()->parent()->StackAtBottom(old_layer->root());
new MaximizedWindowAnimationWatcher(window->layer()->GetAnimator(),
old_layer);
« no previous file with comments | « cc/layers/surface_layer.h ('k') | chrome/browser/ui/views/frame/contents_web_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698