diff options
-rw-r--r-- | chrome/browser/dom_ui/new_tab_ui.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome/browser/dom_ui/new_tab_ui.cc b/chrome/browser/dom_ui/new_tab_ui.cc index 3f0dbf2..db95029 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, |