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

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: Update element_id comment, some cleanups per reviewer comments 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 dd668caa88e05be808f1f5731bbdb04a501df630..626aa6d79fdc1ea7a551ebd8894c975aa8319cbc 100644
--- a/cc/trees/layer_tree_host_common.h
+++ b/cc/trees/layer_tree_host_common.h
@@ -149,11 +149,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