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