| Index: ash/rotator/screen_rotation_animator.cc
|
| diff --git a/ash/rotator/screen_rotation_animator.cc b/ash/rotator/screen_rotation_animator.cc
|
| index bd18d746ed2030ea5273eb5188352b1d54691a45..3dc5de4bde47c004875c4b80e32c244176717e83 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, nullptr);
|
| + ::wm::RecreateLayers(root_window);
|
|
|
| // Add the cloned layer tree in to the root, so it will be rendered.
|
| root_window->layer()->Add(old_layer_tree->root());
|
|
|