summaryrefslogtreecommitdiffstats
path: root/chrome/browser/dom_ui
diff options
context:
space:
mode:
authormirandac@chromium.org <mirandac@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-26 02:56:58 +0000
committermirandac@chromium.org <mirandac@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-26 02:56:58 +0000
commitcdbc184570cbc8e2838d45e810bc68ef66b7347f (patch)
tree462e065d7d371dac5bb887c2d29803240d490cf5 /chrome/browser/dom_ui
parenta4a3292e978cca3ad8c0baa5205054b5b3802e64 (diff)
downloadchromium_src-cdbc184570cbc8e2838d45e810bc68ef66b7347f.zip
chromium_src-cdbc184570cbc8e2838d45e810bc68ef66b7347f.tar.gz
chromium_src-cdbc184570cbc8e2838d45e810bc68ef66b7347f.tar.bz2
Turn tips on by default, and turn off tip loading during UI testing.
BUG= none TEST= none Review URL: http://codereview.chromium.org/173444 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24418 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/dom_ui')
-rw-r--r--chrome/browser/dom_ui/new_tab_ui.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/dom_ui/new_tab_ui.cc b/chrome/browser/dom_ui/new_tab_ui.cc
index 6e90533..ab9440b 100644
--- a/chrome/browser/dom_ui/new_tab_ui.cc
+++ b/chrome/browser/dom_ui/new_tab_ui.cc
@@ -1600,7 +1600,7 @@ bool NewTabUI::UseOldNewTabPage() {
// static
bool NewTabUI::WebResourcesEnabled() {
const CommandLine* command_line = CommandLine::ForCurrentProcess();
- return command_line->HasSwitch(switches::kEnableWebResources);
+ return !command_line->HasSwitch(switches::kDisableWebResources);
}
// static