diff options
author | aa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-09-22 20:44:19 +0000 |
---|---|---|
committer | aa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-09-22 20:44:19 +0000 |
commit | 4210fd1c641adf59480040629dfe8ffc43028637 (patch) | |
tree | 505880c3c092fef3c851ef80266410e636ab3d67 /chrome/browser/dom_ui/new_tab_ui.h | |
parent | f98880809f5a494fae92e52fa1e81c62a0a14cd8 (diff) | |
download | chromium_src-4210fd1c641adf59480040629dfe8ffc43028637.zip chromium_src-4210fd1c641adf59480040629dfe8ffc43028637.tar.gz chromium_src-4210fd1c641adf59480040629dfe8ffc43028637.tar.bz2 |
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
Diffstat (limited to 'chrome/browser/dom_ui/new_tab_ui.h')
-rw-r--r-- | chrome/browser/dom_ui/new_tab_ui.h | 2 |
1 files changed, 1 insertions, 1 deletions
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); }; |