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

Unified Diff: cc/debug/debug_rect_history.h

Issue 2080703005: cc: Remove LayerTreeImpl::root_layer usage outside tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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/debug_rect_history.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/debug/debug_rect_history.h
diff --git a/cc/debug/debug_rect_history.h b/cc/debug/debug_rect_history.h
index 4ffbd8ca8267180b8cd4ac2bb3f84f23fbc8bff6..93bbb8920a68c6edba87acee96570919f47c26e1 100644
--- a/cc/debug/debug_rect_history.h
+++ b/cc/debug/debug_rect_history.h
@@ -69,7 +69,7 @@ class DebugRectHistory {
// Note: Saving debug rects must happen before layers' change tracking is
// reset.
void SaveDebugRectsForCurrentFrame(
- LayerImpl* root_layer,
+ LayerTreeImpl* tree_impl,
LayerImpl* hud_layer,
const LayerImplList& render_surface_layer_list,
const LayerTreeDebugState& debug_state);
@@ -79,7 +79,7 @@ class DebugRectHistory {
private:
DebugRectHistory();
- void SavePaintRects(LayerImpl* layer);
+ void SavePaintRects(LayerTreeImpl* tree_impl);
void SavePropertyChangedRects(const LayerImplList& render_surface_layer_list,
LayerImpl* hud_layer);
void SaveSurfaceDamageRects(
@@ -88,7 +88,7 @@ class DebugRectHistory {
const LayerImplList& render_surface_layer_list);
void SaveTouchEventHandlerRects(LayerTreeImpl* layer);
void SaveTouchEventHandlerRectsCallback(LayerImpl* layer);
- void SaveWheelEventHandlerRects(LayerImpl* layer);
+ void SaveWheelEventHandlerRects(LayerTreeImpl* tree_impl);
void SaveScrollEventHandlerRects(LayerTreeImpl* layer);
void SaveScrollEventHandlerRectsCallback(LayerImpl* layer);
void SaveNonFastScrollableRects(LayerTreeImpl* layer);
« no previous file with comments | « no previous file | cc/debug/debug_rect_history.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698