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

Unified Diff: cc/layers/layer.h

Issue 2816063003: Replace layer id with Element id for tracking scrollbar animation controllers (Closed)
Patch Set: Address reviewer comments, pull element_id.h change to another patch Created 3 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
Index: cc/layers/layer.h
diff --git a/cc/layers/layer.h b/cc/layers/layer.h
index 58dde9c4577aa05aca94dd2f73aab70af8e0f7d7..6aac890510d1aedc1e0896cd059b75ad55bb2b7a 100644
--- a/cc/layers/layer.h
+++ b/cc/layers/layer.h
@@ -403,6 +403,7 @@ class CC_EXPORT Layer : public base::RefCounted<Layer> {
int num_copy_requests_in_target_subtree();
+ // Stable identifier for clients. See comment in cc/trees/element_id.h.
void SetElementId(ElementId id);
ElementId element_id() const { return inputs_.element_id; }

Powered by Google App Engine
This is Rietveld 408576698