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

Unified Diff: cc/animation/animation_events.cc

Issue 1922833002: CC Animation: Start replacing int layer_id with ElementId element_id. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 | « cc/animation/animation_events.h ('k') | cc/animation/animation_host.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/animation/animation_events.cc
diff --git a/cc/animation/animation_events.cc b/cc/animation/animation_events.cc
index e747f8bec2a06745180b8dda0edc335e241d0434..8c39e26a776cc9f74a4f48160b7b769f176a9789 100644
--- a/cc/animation/animation_events.cc
+++ b/cc/animation/animation_events.cc
@@ -7,12 +7,12 @@
namespace cc {
AnimationEvent::AnimationEvent(AnimationEvent::Type type,
- int layer_id,
+ ElementId element_id,
int group_id,
TargetProperty::Type target_property,
base::TimeTicks monotonic_time)
: type(type),
- layer_id(layer_id),
+ element_id(element_id),
group_id(group_id),
target_property(target_property),
monotonic_time(monotonic_time),
@@ -21,7 +21,7 @@ AnimationEvent::AnimationEvent(AnimationEvent::Type type,
AnimationEvent::AnimationEvent(const AnimationEvent& other) {
type = other.type;
- layer_id = other.layer_id;
+ element_id = other.element_id;
group_id = other.group_id;
target_property = other.target_property;
monotonic_time = other.monotonic_time;
@@ -36,7 +36,7 @@ AnimationEvent::AnimationEvent(const AnimationEvent& other) {
AnimationEvent& AnimationEvent::operator=(const AnimationEvent& other) {
type = other.type;
- layer_id = other.layer_id;
+ element_id = other.element_id;
group_id = other.group_id;
target_property = other.target_property;
monotonic_time = other.monotonic_time;
« no previous file with comments | « cc/animation/animation_events.h ('k') | cc/animation/animation_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698