| 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 330abd805cb7c87faeac71cd072b3064e3f68850..ce48fb8f9e0c909eb2ca97899702315386279794 100644
|
| --- a/chrome/browser/ui/webui/ntp/ntp_resource_cache.cc
|
| +++ b/chrome/browser/ui/webui/ntp/ntp_resource_cache.cc
|
| @@ -179,6 +179,7 @@ NTPResourceCache::NTPResourceCache(Profile* profile) : profile_(profile) {
|
| pref_change_registrar_.Add(prefs::kEnableBookmarkBar, this);
|
| pref_change_registrar_.Add(prefs::kNTPShownSections, this);
|
| pref_change_registrar_.Add(prefs::kNTPShownPage, this);
|
| + pref_change_registrar_.Add(prefs::kNTP4IntroDisplayCount, this);
|
| }
|
|
|
| NTPResourceCache::~NTPResourceCache() {}
|
| @@ -224,7 +225,8 @@ void NTPResourceCache::Observe(int type,
|
| *pref_name == prefs::kEnableBookmarkBar ||
|
| *pref_name == prefs::kHomePageIsNewTabPage ||
|
| *pref_name == prefs::kNTPShownSections ||
|
| - *pref_name == prefs::kNTPShownPage) {
|
| + *pref_name == prefs::kNTPShownPage ||
|
| + *pref_name == prefs::kNTP4IntroDisplayCount) {
|
| new_tab_incognito_html_ = NULL;
|
| new_tab_html_ = NULL;
|
| } else {
|
|
|