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

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

Issue 1992853002: Create a LayerDelegate for recreated layers to draw when their content is invalidated. (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 | « ash/wm/drag_window_resizer_unittest.cc ('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 c728eed31a98927ac5f300e1489f1177cc78c1d0..df45d8b022c08c957ff07e3fb0ff2ac74b4fc452 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
@@ -329,7 +329,7 @@ void UserSwitchAnimatorChromeOS::TransitionWindows(
// window we encounter.
found_foreground_maximized_window = true;
ui::LayerTreeOwner* old_layer =
- wm::RecreateLayers(window).release();
+ wm::RecreateLayers(window, nullptr).release();
window->layer()->parent()->StackAtBottom(old_layer->root());
new MaximizedWindowAnimationWatcher(window->layer()->GetAnimator(),
old_layer);
« no previous file with comments | « ash/wm/drag_window_resizer_unittest.cc ('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