Index: cc/trees/layer_tree_host_common.cc |
diff --git a/cc/trees/layer_tree_host_common.cc b/cc/trees/layer_tree_host_common.cc |
index cdb67611826cc66e8cb3af2567c46f5a84729c48..bae3112caea32114a2bae6b6845c257ddc1b2fcb 100644 |
--- a/cc/trees/layer_tree_host_common.cc |
+++ b/cc/trees/layer_tree_host_common.cc |
@@ -2496,9 +2496,9 @@ void LayerTreeHostCommon::CalculateDrawProperties( |
ProcessCalcDrawPropsInputs(*inputs, &globals, &data_for_recursion); |
PreCalculateMetaInformationRecursiveData recursive_data; |
+ PreCalculateMetaInformation(inputs->root_layer, &recursive_data); |
if (!inputs->verify_property_trees) { |
- PreCalculateMetaInformation(inputs->root_layer, &recursive_data); |
std::vector<AccumulatedSurfaceState<Layer>> accumulated_surface_state; |
CalculateDrawPropertiesInternal<Layer>( |
inputs->root_layer, globals, data_for_recursion, |
@@ -2509,7 +2509,6 @@ void LayerTreeHostCommon::CalculateDrawProperties( |
{ |
TRACE_EVENT0(TRACE_DISABLED_BY_DEFAULT("cc.debug.cdp-perf"), |
"LayerTreeHostCommon::CalculateDrawProperties"); |
- PreCalculateMetaInformation(inputs->root_layer, &recursive_data); |
std::vector<AccumulatedSurfaceState<Layer>> accumulated_surface_state; |
CalculateDrawPropertiesInternal<Layer>( |
inputs->root_layer, globals, data_for_recursion, |