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 57786073303cf66ef314a961058e3e6cfdc805ca..8927047a65173b66123b2ecc205f19fd7c0cd783 100644 |
--- a/chrome/browser/tab_contents/render_view_host_delegate_helper.cc |
+++ b/chrome/browser/tab_contents/render_view_host_delegate_helper.cc |
@@ -287,6 +287,10 @@ WebPreferences RenderViewHostDelegateHelper::GetWebkitPrefs( |
command_line.HasSwitch(switches::kAllowFileAccessFromFiles); |
web_prefs.show_composited_layer_borders = |
command_line.HasSwitch(switches::kShowCompositedLayerBorders); |
+ web_prefs.show_composited_layer_tree = |
+ command_line.HasSwitch(switches::kShowCompositedLayerTree); |
+ web_prefs.show_fps_counter = |
+ command_line.HasSwitch(switches::kShowFPSCounter); |
web_prefs.accelerated_compositing_enabled = |
gpu_enabled() && |
!command_line.HasSwitch(switches::kDisableAcceleratedCompositing); |