| Index: ash/dip_unittest.cc
|
| diff --git a/ash/dip_unittest.cc b/ash/dip_unittest.cc
|
| index 2a311d547f8b8cc53262d549bf897481ad967aee..8ac0adb52ac227dd19caa79abde9b29f052ae588 100644
|
| --- a/ash/dip_unittest.cc
|
| +++ b/ash/dip_unittest.cc
|
| @@ -63,7 +63,7 @@ TEST_F(DIPTest, MAYBE_WorkArea) {
|
|
|
| // Sanity check if the workarea's inset hight is same as
|
| // the launcher's height.
|
| - Launcher* launcher = Shell::GetInstance()->launcher();
|
| + Launcher* launcher = Launcher::ForPrimaryDisplay();
|
| EXPECT_EQ(
|
| display_2x.bounds().InsetsFrom(work_area).height(),
|
| launcher->widget()->GetNativeView()->layer()->bounds().height());
|
|
|