From 4210fd1c641adf59480040629dfe8ffc43028637 Mon Sep 17 00:00:00 2001 From: "aa@chromium.org" Date: Wed, 22 Sep 2010 20:44:19 +0000 Subject: Fix a bug where we would show both the apps and thumb sections if both sections were shown under the old version of the ntp. Also clean up some old cruft. BUG=55610 TEST=Upgrade Chrome from an older version to a version with this change with at least one app installed. Should see only apps section. Do it with no apps installed, should see only MV section. Review URL: http://codereview.chromium.org/3393013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60216 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/dom_ui/new_tab_ui.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'chrome/browser/dom_ui/new_tab_ui.h') diff --git a/chrome/browser/dom_ui/new_tab_ui.h b/chrome/browser/dom_ui/new_tab_ui.h index e091fcf..35e2a87 100644 --- a/chrome/browser/dom_ui/new_tab_ui.h +++ b/chrome/browser/dom_ui/new_tab_ui.h @@ -96,7 +96,7 @@ class NewTabUI : public DOMUI, NotificationRegistrar registrar_; // The preference version. This used for migrating prefs of the NTP. - static const int current_pref_version_ = 2; + static const int current_pref_version_ = 3; DISALLOW_COPY_AND_ASSIGN(NewTabUI); }; -- cgit v1.1