| Index: chrome/browser/dom_ui/ntp_resource_cache.cc
|
| ===================================================================
|
| --- chrome/browser/dom_ui/ntp_resource_cache.cc (revision 33574)
|
| +++ chrome/browser/dom_ui/ntp_resource_cache.cc (working copy)
|
| @@ -143,7 +143,6 @@
|
| // Watch for pref changes that cause us to need to invalidate the HTML cache.
|
| PrefService* pref_service = profile_->GetPrefs();
|
| pref_service->AddPrefObserver(prefs::kShowBookmarkBar, this);
|
| - pref_service->AddPrefObserver(prefs::kHomePageIsNewTabPage, this);
|
| pref_service->AddPrefObserver(prefs::kNTPShownSections, this);
|
|
|
| // Watch for pref changes that cause us to need to invalidate the CSS cache.
|
| @@ -153,7 +152,6 @@
|
| NTPResourceCache::~NTPResourceCache() {
|
| PrefService* pref_service = profile_->GetPrefs();
|
| pref_service->RemovePrefObserver(prefs::kShowBookmarkBar, this);
|
| - pref_service->RemovePrefObserver(prefs::kHomePageIsNewTabPage, this);
|
| pref_service->RemovePrefObserver(prefs::kNTPShownSections, this);
|
|
|
| pref_service->RemovePrefObserver(prefs::kNTPPromoLineRemaining, this);
|
| @@ -359,9 +357,6 @@
|
| else
|
| localized_strings.SetString(L"syncispresent", "false");
|
|
|
| - if (!profile_->GetPrefs()->GetBoolean(prefs::kHomePageIsNewTabPage))
|
| - localized_strings.SetString(L"showsetashomepage", "true");
|
| -
|
| ChromeURLDataManager::DataSource::SetFontAndTextDirection(&localized_strings);
|
|
|
| // Control fade and resize animations.
|
|
|