summaryrefslogtreecommitdiffstats
path: root/chrome/browser/dom_ui
diff options
context:
space:
mode:
authortony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-24 20:42:08 +0000
committertony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-24 20:42:08 +0000
commit88fa072e3b345923caa58795a0b8fa739431ddb3 (patch)
treee1ca7e36731876d545ff94053d8bbc4828ff6529 /chrome/browser/dom_ui
parent9e3a9a5085c46b4e6f6024638b295593f1a28293 (diff)
downloadchromium_src-88fa072e3b345923caa58795a0b8fa739431ddb3.zip
chromium_src-88fa072e3b345923caa58795a0b8fa739431ddb3.tar.gz
chromium_src-88fa072e3b345923caa58795a0b8fa739431ddb3.tar.bz2
fix build
TBR=arv Review URL: http://codereview.chromium.org/431038 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@32966 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/dom_ui')
-rw-r--r--chrome/browser/dom_ui/new_tab_ui.cc1
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,