Index: chrome/browser/dom_ui/ntp_resource_cache.cc |
=================================================================== |
--- chrome/browser/dom_ui/ntp_resource_cache.cc (revision 58489) |
+++ chrome/browser/dom_ui/ntp_resource_cache.cc (working copy) |
@@ -306,7 +306,7 @@ |
const CommandLine* command_line = CommandLine::ForCurrentProcess(); |
bool has_3d = |
- command_line->HasSwitch(switches::kEnableAcceleratedCompositing); |
+ !command_line->HasSwitch(switches::kDisableAcceleratedCompositing); |
localized_strings.SetString("has_3d", has_3d ? "true" : "false"); |
// Pass the shown_sections pref early so that we can prevent flicker. |