Index: chrome/browser/tab_contents/render_view_host_delegate_helper.cc |
diff --git a/chrome/browser/tab_contents/render_view_host_delegate_helper.cc b/chrome/browser/tab_contents/render_view_host_delegate_helper.cc |
index a99d549c9077e65d810c9c7cbd599ad7ea4ca60a..44eb8197f1eb7c2f835d08071d1ea74851fee577 100644 |
--- a/chrome/browser/tab_contents/render_view_host_delegate_helper.cc |
+++ b/chrome/browser/tab_contents/render_view_host_delegate_helper.cc |
@@ -268,6 +268,8 @@ WebPreferences RenderViewHostDelegateHelper::GetWebkitPrefs( |
command_line.HasSwitch(switches::kShowCompositedLayerBorders); |
web_prefs.accelerated_compositing_enabled = |
command_line.HasSwitch(switches::kEnableAcceleratedCompositing); |
+ web_prefs.accelerated_2d_canvas_enabled = |
+ command_line.HasSwitch(switches::kEnableAccelerated2dCanvas); |
web_prefs.memory_info_enabled = |
command_line.HasSwitch(switches::kEnableMemoryInfo); |
// The user stylesheet watcher may not exist in a testing profile. |