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

Unified Diff: third_party/WebKit/Source/core/animation/KeyframeEffectReadOnly.cpp

Issue 2522823002: Blink Animation: Rename AnimationStack to EffectStack. (Closed)
Patch Set: Rename getter and data (and locals) Created 4 years, 1 month 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: third_party/WebKit/Source/core/animation/KeyframeEffectReadOnly.cpp
diff --git a/third_party/WebKit/Source/core/animation/KeyframeEffectReadOnly.cpp b/third_party/WebKit/Source/core/animation/KeyframeEffectReadOnly.cpp
index 71fc64720d0a702419ab5bca0e516b5557a823be..62169ab76a67887a79619b90a23a4da218e58f30 100644
--- a/third_party/WebKit/Source/core/animation/KeyframeEffectReadOnly.cpp
+++ b/third_party/WebKit/Source/core/animation/KeyframeEffectReadOnly.cpp
@@ -129,8 +129,8 @@ void KeyframeEffectReadOnly::specifiedTimingChanged() {
}
}
-static AnimationStack& ensureAnimationStack(Element* element) {
- return element->ensureElementAnimations().animationStack();
+static EffectStack& ensureEffectStack(Element* element) {
+ return element->ensureElementAnimations().effectStack();
}
bool KeyframeEffectReadOnly::hasMultipleTransformProperties() const {
@@ -195,7 +195,7 @@ void KeyframeEffectReadOnly::applyEffects() {
SampledEffect* sampledEffect = SampledEffect::create(this);
sampledEffect->mutableInterpolations().swap(interpolations);
m_sampledEffect = sampledEffect;
- ensureAnimationStack(m_target).add(sampledEffect);
+ ensureEffectStack(m_target).add(sampledEffect);
changed = true;
} else {
return;
@@ -273,7 +273,7 @@ double KeyframeEffectReadOnly::calculateTimeToEffectChange(
}
}
-void KeyframeEffectReadOnly::notifySampledEffectRemovedFromAnimationStack() {
+void KeyframeEffectReadOnly::notifySampledEffectRemovedFromEffectStack() {
m_sampledEffect = nullptr;
}

Powered by Google App Engine
This is Rietveld 408576698