Index: chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc |
diff --git a/chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc b/chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc |
index 38e8f424d171f7961cdcf73ddb15ab4cb644eff5..4998e089c3da322515cbee0c424176399a0ec781 100644 |
--- a/chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc |
+++ b/chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc |
@@ -1298,11 +1298,6 @@ void BookmarkBarView::Init() { |
// else case: we'll receive notification back from the BookmarkModel when |
// done loading, then we'll populate the bar. |
} |
- |
- // The first check for the app launcher is asynchronous, run it now. |
- apps::GetIsAppLauncherEnabled( |
- base::Bind(&BookmarkBarView::OnAppLauncherEnabledCompleted, |
- base::Unretained(this))); |
} |
int BookmarkBarView::GetBookmarkButtonCount() { |
@@ -1874,8 +1869,3 @@ void BookmarkBarView::OnAppsPageShortcutVisibilityPrefChanged() { |
UpdateBookmarksSeparatorVisibility(); |
Layout(); |
} |
- |
-void BookmarkBarView::OnAppLauncherEnabledCompleted(bool app_launcher_enabled) { |
- // Disregard |app_launcher_enabled|, use apps::WasAppLauncherEnable instead. |
- OnAppsPageShortcutVisibilityPrefChanged(); |
-} |