| 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 e7c1f0f76df98791b75cc42135adbea4a8436543..952ce5d069b79808a8ce6612c23f7390918de050 100644
|
| --- a/cc/trees/layer_tree_host_common.cc
|
| +++ b/cc/trees/layer_tree_host_common.cc
|
| @@ -80,8 +80,6 @@ LayerTreeHostCommon::CalcDrawPropsImplInputs::CalcDrawPropsImplInputs(
|
| int max_texture_size,
|
| bool can_render_to_separate_surface,
|
| bool can_adjust_raster_scales,
|
| - bool verify_clip_tree_calculations,
|
| - bool verify_visible_rect_calculations,
|
| LayerImplList* render_surface_layer_list,
|
| PropertyTrees* property_trees)
|
| : root_layer(root_layer),
|
| @@ -98,8 +96,6 @@ LayerTreeHostCommon::CalcDrawPropsImplInputs::CalcDrawPropsImplInputs(
|
| max_texture_size(max_texture_size),
|
| 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_visible_rect_calculations(verify_visible_rect_calculations),
|
| render_surface_layer_list(render_surface_layer_list),
|
| property_trees(property_trees) {}
|
|
|
| @@ -122,8 +118,6 @@ LayerTreeHostCommon::CalcDrawPropsImplInputsForTesting::
|
| std::numeric_limits<int>::max() / 2,
|
| true,
|
| false,
|
| - true,
|
| - true,
|
| render_surface_layer_list,
|
| GetPropertyTrees(root_layer)) {
|
| DCHECK(root_layer);
|
| @@ -551,12 +545,6 @@ void CalculateDrawPropertiesInternal(
|
| inputs->render_surface_layer_list, inputs->can_render_to_separate_surface,
|
| inputs->max_texture_size);
|
|
|
| - if (inputs->verify_clip_tree_calculations)
|
| - draw_property_utils::VerifyClipTreeCalculations(visible_layer_list,
|
| - inputs->property_trees);
|
| - if (inputs->verify_visible_rect_calculations)
|
| - draw_property_utils::VerifyVisibleRectsCalculations(visible_layer_list,
|
| - inputs->property_trees);
|
|
|
| if (should_measure_property_tree_performance) {
|
| TRACE_EVENT_END0(TRACE_DISABLED_BY_DEFAULT("cc.debug.cdp-perf"),
|
|
|