| Index: cc/debug/debug_rect_history.cc
|
| diff --git a/cc/debug/debug_rect_history.cc b/cc/debug/debug_rect_history.cc
|
| index cc8d12363b1d339afe60882cfe9ca96e20768429..16eb5cf4bab04d668d65fc1415c9962f51c019e7 100644
|
| --- a/cc/debug/debug_rect_history.cc
|
| +++ b/cc/debug/debug_rect_history.cc
|
| @@ -158,9 +158,9 @@ void DebugRectHistory::SaveScreenSpaceRects(
|
| }
|
|
|
| void DebugRectHistory::SaveTouchEventHandlerRects(LayerImpl* layer) {
|
| - LayerTreeHostCommon::CallFunctionForSubtree(layer, [this](LayerImpl* layer) {
|
| - SaveTouchEventHandlerRectsCallback(layer);
|
| - });
|
| + LayerTreeHostCommon::CallFunctionForEveryLayer(
|
| + layer,
|
| + [this](LayerImpl* layer) { SaveTouchEventHandlerRectsCallback(layer); });
|
| }
|
|
|
| void DebugRectHistory::SaveTouchEventHandlerRectsCallback(LayerImpl* layer) {
|
| @@ -197,9 +197,9 @@ void DebugRectHistory::SaveWheelEventHandlerRects(LayerImpl* root_layer) {
|
| }
|
|
|
| void DebugRectHistory::SaveScrollEventHandlerRects(LayerImpl* layer) {
|
| - LayerTreeHostCommon::CallFunctionForSubtree(layer, [this](LayerImpl* layer) {
|
| - SaveScrollEventHandlerRectsCallback(layer);
|
| - });
|
| + LayerTreeHostCommon::CallFunctionForEveryLayer(
|
| + layer,
|
| + [this](LayerImpl* layer) { SaveScrollEventHandlerRectsCallback(layer); });
|
| }
|
|
|
| void DebugRectHistory::SaveScrollEventHandlerRectsCallback(LayerImpl* layer) {
|
| @@ -213,9 +213,9 @@ void DebugRectHistory::SaveScrollEventHandlerRectsCallback(LayerImpl* layer) {
|
| }
|
|
|
| void DebugRectHistory::SaveNonFastScrollableRects(LayerImpl* layer) {
|
| - LayerTreeHostCommon::CallFunctionForSubtree(layer, [this](LayerImpl* layer) {
|
| - SaveNonFastScrollableRectsCallback(layer);
|
| - });
|
| + LayerTreeHostCommon::CallFunctionForEveryLayer(
|
| + layer,
|
| + [this](LayerImpl* layer) { SaveNonFastScrollableRectsCallback(layer); });
|
| }
|
|
|
| void DebugRectHistory::SaveNonFastScrollableRectsCallback(LayerImpl* layer) {
|
|
|