| Index: ash/rotator/screen_rotation_animator.cc
|
| diff --git a/ash/rotator/screen_rotation_animator.cc b/ash/rotator/screen_rotation_animator.cc
|
| index 9f6f4afed13d849f29c19227b32306583ad5ab16..7171e9a5dc727a2cf68470063bc68bde6b26b7db 100644
|
| --- a/ash/rotator/screen_rotation_animator.cc
|
| +++ b/ash/rotator/screen_rotation_animator.cc
|
| @@ -169,7 +169,7 @@ void RotateScreen(int64_t display_id,
|
| const gfx::Tween::Type tween_type = gfx::Tween::FAST_OUT_LINEAR_IN;
|
|
|
| std::unique_ptr<ui::LayerTreeOwner> old_layer_tree =
|
| - ::wm::RecreateLayers(root_window);
|
| + ::wm::RecreateLayers(root_window, nullptr);
|
|
|
| // Add the cloned layer tree in to the root, so it will be rendered.
|
| root_window->layer()->Add(old_layer_tree->root());
|
|
|