Commit 3089f8ab authored by estade@chromium.org's avatar estade@chromium.org

ntp: don't care about changes to home page pref

a long while back the NTP showed some sort of UI depending on whether it was your home page or not, but that's long since gone so we don't need to reconstruct the cache if it's changed.

BUG=none
TEST=none


Review URL: http://codereview.chromium.org/8774014

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@112957 0039d316-1c4b-4281-b951-d872f2087c98
parent 4ab8e422
......@@ -181,7 +181,6 @@ NTPResourceCache::NTPResourceCache(Profile* profile) : profile_(profile) {
pref_change_registrar_.Init(profile_->GetPrefs());
pref_change_registrar_.Add(prefs::kSyncAcknowledgedSyncTypes, this);
pref_change_registrar_.Add(prefs::kShowBookmarkBar, this);
pref_change_registrar_.Add(prefs::kHomePageIsNewTabPage, this);
pref_change_registrar_.Add(prefs::kNTPShownPage, this);
pref_change_registrar_.Add(prefs::kSyncPromoShowNTPBubble, this);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment