Chromium Code Reviews| Index: webkit/compositor_bindings/web_layer_tree_view_impl.cc |
| diff --git a/webkit/compositor_bindings/web_layer_tree_view_impl.cc b/webkit/compositor_bindings/web_layer_tree_view_impl.cc |
| index 856e1ecde35e64a63898f01082bf0f34cfb694dd..7dab45077027c434af21af7c5751242be4d0c6a2 100644 |
| --- a/webkit/compositor_bindings/web_layer_tree_view_impl.cc |
| +++ b/webkit/compositor_bindings/web_layer_tree_view_impl.cc |
| @@ -53,6 +53,7 @@ bool WebLayerTreeViewImpl::initialize(const WebLayerTreeView::Settings& webSetti |
| settings.initialDebugState.showPlatformLayerTree = webSettings.showPlatformLayerTree; |
| settings.initialDebugState.showDebugBorders = webSettings.showDebugBorders; |
| settings.implSidePainting = CommandLine::ForCurrentProcess()->HasSwitch(cc::switches::kEnableImplSidePainting); |
| + settings.recordRenderingStats = webSettings.recordRenderingStats; |
|
jamesr
2013/01/30 19:13:27
this code can see command line switches - why can'
danakj
2013/01/30 19:15:09
Hm, ya I can move it from content/ to cc/. That do
|
| settings.calculateTopControlsPosition = CommandLine::ForCurrentProcess()->HasSwitch(switches::kEnableTopControlsPositionCalculation); |
| if (CommandLine::ForCurrentProcess()->HasSwitch(switches::kTopControlsHeight)) { |