Index: chrome/browser/tab_contents/render_view_host_delegate_helper.cc |
=================================================================== |
--- chrome/browser/tab_contents/render_view_host_delegate_helper.cc (revision 86432) |
+++ chrome/browser/tab_contents/render_view_host_delegate_helper.cc (working copy) |
@@ -320,7 +320,7 @@ |
command_line.HasSwitch(switches::kForceCompositingMode); |
web_prefs.accelerated_2d_canvas_enabled = |
gpu_enabled() && |
- command_line.HasSwitch(switches::kEnableAccelerated2dCanvas); |
+ !command_line.HasSwitch(switches::kDisableAccelerated2dCanvas); |
web_prefs.accelerated_drawing_enabled = |
gpu_enabled() && |
command_line.HasSwitch(switches::kEnableAcceleratedDrawing); |