| Index: chrome/browser/dom_ui/new_tab_ui.cc
|
| diff --git a/chrome/browser/dom_ui/new_tab_ui.cc b/chrome/browser/dom_ui/new_tab_ui.cc
|
| index 3f0dbf2052993c95e7ae85e7cbe6e3884eed76cf..db9502960815a14a5dbc57279aaf5971dea4ae56 100644
|
| --- a/chrome/browser/dom_ui/new_tab_ui.cc
|
| +++ b/chrome/browser/dom_ui/new_tab_ui.cc
|
| @@ -482,6 +482,7 @@ NewTabUI::NewTabUI(TabContents* contents)
|
|
|
| static bool first_view = true;
|
| if (first_view) {
|
| + Profile* profile = GetProfile();
|
| // Decrement ntp promo counters; the default values are specified in
|
| // Browser::RegisterUserPrefs.
|
| profile->GetPrefs()->SetInteger(prefs::kNTPPromoLineRemaining,
|
|
|