| Index: cc/debug/debug_rect_history.cc
|
| diff --git a/cc/debug/debug_rect_history.cc b/cc/debug/debug_rect_history.cc
|
| index a8c50306134a3e8990c3198cf24b470235990772..cde7765383f33ba59dccd77278663f9257d3976e 100644
|
| --- a/cc/debug/debug_rect_history.cc
|
| +++ b/cc/debug/debug_rect_history.cc
|
| @@ -29,8 +29,6 @@ void DebugRectHistory::SaveDebugRectsForCurrentFrame(
|
| LayerImpl* root_layer,
|
| LayerImpl* hud_layer,
|
| const LayerImplList& render_surface_layer_list,
|
| - const std::vector<gfx::Rect>& occluding_screen_space_rects,
|
| - const std::vector<gfx::Rect>& non_occluding_screen_space_rects,
|
| const LayerTreeDebugState& debug_state) {
|
| // For now, clear all rects from previous frames. In the future we may want to
|
| // store all debug rects for a history of many frames.
|
| @@ -60,12 +58,6 @@ void DebugRectHistory::SaveDebugRectsForCurrentFrame(
|
| if (debug_state.show_screen_space_rects)
|
| SaveScreenSpaceRects(render_surface_layer_list);
|
|
|
| - if (debug_state.show_occluding_rects)
|
| - SaveOccludingRects(occluding_screen_space_rects);
|
| -
|
| - if (debug_state.show_non_occluding_rects)
|
| - SaveNonOccludingRects(non_occluding_screen_space_rects);
|
| -
|
| if (debug_state.show_layer_animation_bounds_rects)
|
| SaveLayerAnimationBoundsRects(render_surface_layer_list);
|
| }
|
| @@ -170,20 +162,6 @@ void DebugRectHistory::SaveScreenSpaceRects(
|
| }
|
| }
|
|
|
| -void DebugRectHistory::SaveOccludingRects(
|
| - const std::vector<gfx::Rect>& occluding_rects) {
|
| - for (size_t i = 0; i < occluding_rects.size(); ++i)
|
| - debug_rects_.push_back(DebugRect(OCCLUDING_RECT_TYPE, occluding_rects[i]));
|
| -}
|
| -
|
| -void DebugRectHistory::SaveNonOccludingRects(
|
| - const std::vector<gfx::Rect>& non_occluding_rects) {
|
| - for (size_t i = 0; i < non_occluding_rects.size(); ++i) {
|
| - debug_rects_.push_back(
|
| - DebugRect(NONOCCLUDING_RECT_TYPE, non_occluding_rects[i]));
|
| - }
|
| -}
|
| -
|
| void DebugRectHistory::SaveTouchEventHandlerRects(LayerImpl* layer) {
|
| LayerTreeHostCommon::CallFunctionForSubtree<LayerImpl>(
|
| layer,
|
|
|