| Index: ash/system/web_notification/ash_popup_alignment_delegate_unittest.cc
|
| diff --git a/ash/system/web_notification/ash_popup_alignment_delegate_unittest.cc b/ash/system/web_notification/ash_popup_alignment_delegate_unittest.cc
|
| index e379c3e52694e73b78c8c85465d2c77b0f503099..b8d45fa3e68b4faf96698244f7a22336d2d61ba3 100644
|
| --- a/ash/system/web_notification/ash_popup_alignment_delegate_unittest.cc
|
| +++ b/ash/system/web_notification/ash_popup_alignment_delegate_unittest.cc
|
| @@ -37,7 +37,7 @@ class AshPopupAlignmentDelegateTest : public test::AshTestBase {
|
| keyboard::switches::kEnableVirtualKeyboard);
|
| test::AshTestBase::SetUp();
|
| SetAlignmentDelegate(
|
| - base::WrapUnique(new AshPopupAlignmentDelegate(GetPrimaryShelf())));
|
| + base::MakeUnique<AshPopupAlignmentDelegate>(GetPrimaryShelf()));
|
| }
|
|
|
| void TearDown() override {
|
| @@ -253,7 +253,7 @@ TEST_F(AshPopupAlignmentDelegateTest, Extended) {
|
| return;
|
| UpdateDisplay("600x600,800x800");
|
| SetAlignmentDelegate(
|
| - base::WrapUnique(new AshPopupAlignmentDelegate(GetPrimaryShelf())));
|
| + base::MakeUnique<AshPopupAlignmentDelegate>(GetPrimaryShelf()));
|
|
|
| display::Display second_display =
|
| Shell::GetInstance()->display_manager()->GetDisplayAt(1u);
|
| @@ -281,7 +281,7 @@ TEST_F(AshPopupAlignmentDelegateTest, Unified) {
|
|
|
| UpdateDisplay("600x600,800x800");
|
| SetAlignmentDelegate(
|
| - base::WrapUnique(new AshPopupAlignmentDelegate(GetPrimaryShelf())));
|
| + base::MakeUnique<AshPopupAlignmentDelegate>(GetPrimaryShelf()));
|
|
|
| EXPECT_GT(600,
|
| alignment_delegate()->GetToastOriginX(gfx::Rect(0, 0, 10, 10)));
|
|
|