Index: ash/launcher/launcher_tooltip_manager_unittest.cc |
diff --git a/ash/launcher/launcher_tooltip_manager_unittest.cc b/ash/launcher/launcher_tooltip_manager_unittest.cc |
index d222e7a6bc559b1292ae859490afa31fd61de84d..d81b4c7b0f36c29f99c7110ce7300779d136492d 100644 |
--- a/ash/launcher/launcher_tooltip_manager_unittest.cc |
+++ b/ash/launcher/launcher_tooltip_manager_unittest.cc |
@@ -10,6 +10,7 @@ |
#include "ash/shell.h" |
#include "ash/shell_window_ids.h" |
#include "ash/test/ash_test_base.h" |
+#include "ash/test/launcher_test_api.h" |
#include "ash/wm/window_util.h" |
#include "base/strings/string16.h" |
#include "base/time/time.h" |
@@ -44,7 +45,7 @@ class LauncherTooltipManagerTest : public AshTestBase { |
Shell::GetPrimaryRootWindowController(); |
tooltip_manager_.reset(new internal::LauncherTooltipManager( |
controller->GetShelfLayoutManager(), |
- controller->shelf()->launcher()->GetLauncherViewForTest())); |
+ LauncherTestAPI(controller->shelf()->launcher()).launcher_view())); |
} |
virtual void TearDown() OVERRIDE { |