Index: ui/app_list/views/app_list_view_unittest.cc |
diff --git a/ui/app_list/views/app_list_view_unittest.cc b/ui/app_list/views/app_list_view_unittest.cc |
index a93a966fa7b534a79111a3dce7833fd345e913f0..56e2bdd6bdbcac9632e266419fb243eb75c3b7e3 100644 |
--- a/ui/app_list/views/app_list_view_unittest.cc |
+++ b/ui/app_list/views/app_list_view_unittest.cc |
@@ -172,8 +172,8 @@ AppListViewTestContext::AppListViewTestContext(gfx::NativeView parent) { |
view_ = new app_list::AppListView(delegate_.get()); |
// Initialize centered around a point that ensures the window is wholly shown. |
- view_->InitAsBubble(parent, 0); |
- view_->SetAnchorPoint(gfx::Point(300, 300)); |
+ view_->Initialize(parent, 0); |
+ view_->MaybeSetAnchorPoint(gfx::Point(300, 300)); |
} |
AppListViewTestContext::~AppListViewTestContext() { |