From cdbc184570cbc8e2838d45e810bc68ef66b7347f Mon Sep 17 00:00:00 2001 From: "mirandac@chromium.org" Date: Wed, 26 Aug 2009 02:56:58 +0000 Subject: 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 --- chrome/browser/dom_ui/new_tab_ui.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'chrome/browser/dom_ui') 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 -- cgit v1.1