| Index: ash/display/mirror_window_controller_unittest.cc
|
| diff --git a/ash/display/mirror_window_controller_unittest.cc b/ash/display/mirror_window_controller_unittest.cc
|
| index f118d24303a72dd693d725a8d932c63fd90340e9..500448d3f7c3288aef4079e0645b6f4f95e6f1d5 100644
|
| --- a/ash/display/mirror_window_controller_unittest.cc
|
| +++ b/ash/display/mirror_window_controller_unittest.cc
|
| @@ -80,11 +80,8 @@ TEST_F(MirrorWindowControllerTest, MAYBE_MirrorCursorBasic) {
|
| display_manager->SetMultiDisplayMode(DisplayManager::MIRRORING);
|
| UpdateDisplay("400x400,400x400");
|
| aura::Window* root = Shell::GetInstance()->GetPrimaryRootWindow();
|
| - scoped_ptr<aura::Window> window(aura::test::CreateTestWindowWithDelegate(
|
| - &test_window_delegate,
|
| - 0,
|
| - gfx::Rect(50, 50, 100, 100),
|
| - root));
|
| + std::unique_ptr<aura::Window> window(aura::test::CreateTestWindowWithDelegate(
|
| + &test_window_delegate, 0, gfx::Rect(50, 50, 100, 100), root));
|
| window->Show();
|
| window->SetName("foo");
|
|
|
| @@ -130,11 +127,8 @@ TEST_F(MirrorWindowControllerTest, MAYBE_MirrorCursorRotate) {
|
| display_manager->SetMultiDisplayMode(DisplayManager::MIRRORING);
|
| UpdateDisplay("400x400,400x400");
|
| aura::Window* root = Shell::GetInstance()->GetPrimaryRootWindow();
|
| - scoped_ptr<aura::Window> window(aura::test::CreateTestWindowWithDelegate(
|
| - &test_window_delegate,
|
| - 0,
|
| - gfx::Rect(50, 50, 100, 100),
|
| - root));
|
| + std::unique_ptr<aura::Window> window(aura::test::CreateTestWindowWithDelegate(
|
| + &test_window_delegate, 0, gfx::Rect(50, 50, 100, 100), root));
|
| window->Show();
|
| window->SetName("foo");
|
|
|
|
|