| 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 71d8e6be0a6626f00b14320fadb73cd0f29cbe5b..9ee300fcdb61d1d59d1f7d4b4a4373ec15194c96 100644
|
| --- a/cc/trees/layer_tree_host_common.cc
|
| +++ b/cc/trees/layer_tree_host_common.cc
|
| @@ -81,6 +81,7 @@ LayerTreeHostCommon::CalcDrawPropsImplInputs::CalcDrawPropsImplInputs(
|
| bool can_render_to_separate_surface,
|
| bool can_adjust_raster_scales,
|
| bool verify_clip_tree_calculations,
|
| + bool verify_transform_tree_calculations,
|
| LayerImplList* render_surface_layer_list,
|
| PropertyTrees* property_trees)
|
| : root_layer(root_layer),
|
| @@ -98,6 +99,7 @@ LayerTreeHostCommon::CalcDrawPropsImplInputs::CalcDrawPropsImplInputs(
|
| can_render_to_separate_surface(can_render_to_separate_surface),
|
| can_adjust_raster_scales(can_adjust_raster_scales),
|
| verify_clip_tree_calculations(verify_clip_tree_calculations),
|
| + verify_transform_tree_calculations(verify_transform_tree_calculations),
|
| render_surface_layer_list(render_surface_layer_list),
|
| property_trees(property_trees) {}
|
|
|
| @@ -120,6 +122,7 @@ LayerTreeHostCommon::CalcDrawPropsImplInputsForTesting::
|
| true,
|
| false,
|
| true,
|
| + true,
|
| render_surface_layer_list,
|
| GetPropertyTrees(root_layer)) {
|
| DCHECK(root_layer);
|
| @@ -592,6 +595,9 @@ void CalculateDrawPropertiesInternal(
|
| if (inputs->verify_clip_tree_calculations)
|
| draw_property_utils::VerifyClipTreeCalculations(visible_layer_list,
|
| inputs->property_trees);
|
| + if (inputs->verify_transform_tree_calculations)
|
| + draw_property_utils::VerifyTransformTreeCalculations(
|
| + visible_layer_list, inputs->property_trees);
|
|
|
| if (should_measure_property_tree_performance) {
|
| TRACE_EVENT_END0(TRACE_DISABLED_BY_DEFAULT("cc.debug.cdp-perf"),
|
|
|