Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3634)

Unified Diff: cc/debug/debug_rect_history.cc

Issue 1907053004: cc: Make CallFunctionForEveryLayer use LayerListIterator (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Recover CallFunctionForEveryLayer Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | cc/debug/invalidation_benchmark.cc » ('j') | cc/trees/draw_property_utils.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/debug/debug_rect_history.cc
diff --git a/cc/debug/debug_rect_history.cc b/cc/debug/debug_rect_history.cc
index f89b9f777c6e7adee82b536f99bf73b20f8761d5..53381cfd207f4bdf16d101cf26056c11afbfe9c9 100644
--- a/cc/debug/debug_rect_history.cc
+++ b/cc/debug/debug_rect_history.cc
@@ -160,8 +160,7 @@ void DebugRectHistory::SaveScreenSpaceRects(
void DebugRectHistory::SaveTouchEventHandlerRects(LayerTreeImpl* tree_impl) {
LayerTreeHostCommon::CallFunctionForEveryLayer(
tree_impl,
- [this](LayerImpl* layer) { SaveTouchEventHandlerRectsCallback(layer); },
- CallFunctionLayerType::ALL_LAYERS);
+ [this](LayerImpl* layer) { SaveTouchEventHandlerRectsCallback(layer); });
}
void DebugRectHistory::SaveTouchEventHandlerRectsCallback(LayerImpl* layer) {
@@ -200,8 +199,7 @@ void DebugRectHistory::SaveWheelEventHandlerRects(LayerImpl* root_layer) {
void DebugRectHistory::SaveScrollEventHandlerRects(LayerTreeImpl* tree_impl) {
LayerTreeHostCommon::CallFunctionForEveryLayer(
tree_impl,
- [this](LayerImpl* layer) { SaveScrollEventHandlerRectsCallback(layer); },
- CallFunctionLayerType::ALL_LAYERS);
+ [this](LayerImpl* layer) { SaveScrollEventHandlerRectsCallback(layer); });
}
void DebugRectHistory::SaveScrollEventHandlerRectsCallback(LayerImpl* layer) {
@@ -217,8 +215,7 @@ void DebugRectHistory::SaveScrollEventHandlerRectsCallback(LayerImpl* layer) {
void DebugRectHistory::SaveNonFastScrollableRects(LayerTreeImpl* tree_impl) {
LayerTreeHostCommon::CallFunctionForEveryLayer(
tree_impl,
- [this](LayerImpl* layer) { SaveNonFastScrollableRectsCallback(layer); },
- CallFunctionLayerType::ALL_LAYERS);
+ [this](LayerImpl* layer) { SaveNonFastScrollableRectsCallback(layer); });
}
void DebugRectHistory::SaveNonFastScrollableRectsCallback(LayerImpl* layer) {
« no previous file with comments | « no previous file | cc/debug/invalidation_benchmark.cc » ('j') | cc/trees/draw_property_utils.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698