Index: cc/layer_tree_settings.cc |
diff --git a/cc/layer_tree_settings.cc b/cc/layer_tree_settings.cc |
index 4ef2b7b7856d685fa953819ca9967806d9037c3d..4221167c29fa139a0ed67d473ea6deccda6bc79e 100644 |
--- a/cc/layer_tree_settings.cc |
+++ b/cc/layer_tree_settings.cc |
@@ -15,6 +15,7 @@ namespace cc { |
LayerTreeSettings::LayerTreeSettings() |
: acceleratePainting(false) |
+ , compositorFrameMessage(false) |
, implSidePainting(false) |
, renderVSyncEnabled(true) |
, perTilePaintingEnabled(false) |
@@ -33,6 +34,7 @@ LayerTreeSettings::LayerTreeSettings() |
, minimumOcclusionTrackingSize(gfx::Size(160, 160)) |
{ |
// TODO(danakj): Move this to chromium when we don't go through the WebKit API anymore. |
+ compositorFrameMessage = CommandLine::ForCurrentProcess()->HasSwitch(cc::switches::kEnableCompositorFrameMessage); |
implSidePainting = CommandLine::ForCurrentProcess()->HasSwitch(cc::switches::kEnableImplSidePainting); |
partialSwapEnabled = CommandLine::ForCurrentProcess()->HasSwitch(switches::kEnablePartialSwap); |
backgroundColorInsteadOfCheckerboard = CommandLine::ForCurrentProcess()->HasSwitch(switches::kBackgroundColorInsteadOfCheckerboard); |