Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4140)

Unified Diff: chrome/browser/ui/webui/ntp/ntp_resource_cache.cc

Issue 8135001: Fixed behavior of the bookmark bar visibility. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/webui/ntp/ntp_resource_cache.cc
diff --git a/chrome/browser/ui/webui/ntp/ntp_resource_cache.cc b/chrome/browser/ui/webui/ntp/ntp_resource_cache.cc
index ff19e71c1e5461921e35ca7a30a4e8d76bb58530..cea981390844d69ba1bf2a43b2a5f278fe8a0719 100644
--- a/chrome/browser/ui/webui/ntp/ntp_resource_cache.cc
+++ b/chrome/browser/ui/webui/ntp/ntp_resource_cache.cc
@@ -4,7 +4,6 @@
#include "chrome/browser/ui/webui/ntp/ntp_resource_cache.h"
-#include <algorithm>
#include <vector>
#include "base/command_line.h"
@@ -178,7 +177,6 @@ NTPResourceCache::NTPResourceCache(Profile* profile) : profile_(profile) {
pref_change_registrar_.Init(profile_->GetPrefs());
pref_change_registrar_.Add(prefs::kAcknowledgedSyncTypes, this);
pref_change_registrar_.Add(prefs::kShowBookmarkBar, this);
- pref_change_registrar_.Add(prefs::kEnableBookmarkBar, this);
pref_change_registrar_.Add(prefs::kHomePageIsNewTabPage, this);
pref_change_registrar_.Add(prefs::kNTPShownSections, this);
pref_change_registrar_.Add(prefs::kNTPShownPage, this);

Powered by Google App Engine
This is Rietveld 408576698