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

Unified Diff: cc/trees/layer_tree_host_common.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/trees/layer_tree_host_common.h
diff --git a/cc/trees/layer_tree_host_common.h b/cc/trees/layer_tree_host_common.h
index 2dc7f18d26f6651c7f25272ad3f5c5fb93218cf5..81c1710c7c0a00ef3b4eb5278e3940571c03d758 100644
--- a/cc/trees/layer_tree_host_common.h
+++ b/cc/trees/layer_tree_host_common.h
@@ -147,11 +147,11 @@ class CC_EXPORT LayerTreeHostCommon {
// to be told when they're faded out so it can stop handling input for
// invisible scrollbars.
struct CC_EXPORT ScrollbarsUpdateInfo {
- int layer_id;
+ ElementId element_id;
bool hidden;
ScrollbarsUpdateInfo();
- ScrollbarsUpdateInfo(int layer_id, bool hidden);
+ ScrollbarsUpdateInfo(ElementId element_id, bool hidden);
bool operator==(const ScrollbarsUpdateInfo& other) const;
};

Powered by Google App Engine
This is Rietveld 408576698