Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1264)

Unified Diff: chrome/browser/dom_ui/ntp_resource_cache.cc

Issue 3342016: Turning WebGL and the accelerated compositor on by default (linux and windows... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/app/chrome_dll_main.cc ('k') | chrome/browser/renderer_host/browser_render_process_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.
« no previous file with comments | « chrome/app/chrome_dll_main.cc ('k') | chrome/browser/renderer_host/browser_render_process_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698