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

Unified Diff: third_party/WebKit/Source/core/animation/css/CSSAnimations.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/css/CSSAnimations.cpp
diff --git a/third_party/WebKit/Source/core/animation/css/CSSAnimations.cpp b/third_party/WebKit/Source/core/animation/css/CSSAnimations.cpp
index 31429e97eb6e78b54b51257c5c669aad71aa284c..fd942c0ca814fa5a684cec29291edad7f5f70445 100644
--- a/third_party/WebKit/Source/core/animation/css/CSSAnimations.cpp
+++ b/third_party/WebKit/Source/core/animation/css/CSSAnimations.cpp
@@ -861,14 +861,14 @@ void CSSAnimations::calculateAnimationActiveInterpolations(
const Element* animatingElement) {
ElementAnimations* elementAnimations =
animatingElement ? animatingElement->elementAnimations() : nullptr;
- AnimationStack* animationStack =
- elementAnimations ? &elementAnimations->animationStack() : nullptr;
+ EffectStack* effectStack =
+ elementAnimations ? &elementAnimations->effectStack() : nullptr;
if (update.newAnimations().isEmpty() &&
update.suppressedAnimations().isEmpty()) {
ActiveInterpolationsMap activeInterpolationsForAnimations(
- AnimationStack::activeInterpolations(
- animationStack, nullptr, nullptr,
+ EffectStack::activeInterpolations(
+ effectStack, nullptr, nullptr,
KeyframeEffectReadOnly::DefaultPriority, isStylePropertyHandle));
update.adoptActiveInterpolationsForAnimations(
activeInterpolationsForAnimations);
@@ -884,8 +884,8 @@ void CSSAnimations::calculateAnimationActiveInterpolations(
newEffects.append(updatedAnimation.effect);
ActiveInterpolationsMap activeInterpolationsForAnimations(
- AnimationStack::activeInterpolations(
- animationStack, &newEffects, &update.suppressedAnimations(),
+ EffectStack::activeInterpolations(
+ effectStack, &newEffects, &update.suppressedAnimations(),
KeyframeEffectReadOnly::DefaultPriority, isStylePropertyHandle));
update.adoptActiveInterpolationsForAnimations(
activeInterpolationsForAnimations);
@@ -896,14 +896,14 @@ void CSSAnimations::calculateTransitionActiveInterpolations(
const Element* animatingElement) {
ElementAnimations* elementAnimations =
animatingElement ? animatingElement->elementAnimations() : nullptr;
- AnimationStack* animationStack =
- elementAnimations ? &elementAnimations->animationStack() : nullptr;
+ EffectStack* effectStack =
+ elementAnimations ? &elementAnimations->effectStack() : nullptr;
ActiveInterpolationsMap activeInterpolationsForTransitions;
if (update.newTransitions().isEmpty() &&
update.cancelledTransitions().isEmpty()) {
- activeInterpolationsForTransitions = AnimationStack::activeInterpolations(
- animationStack, nullptr, nullptr,
+ activeInterpolationsForTransitions = EffectStack::activeInterpolations(
+ effectStack, nullptr, nullptr,
KeyframeEffectReadOnly::TransitionPriority, isStylePropertyHandle);
} else {
HeapVector<Member<const InertEffect>> newTransitions;
@@ -921,8 +921,8 @@ void CSSAnimations::calculateTransitionActiveInterpolations(
}
}
- activeInterpolationsForTransitions = AnimationStack::activeInterpolations(
- animationStack, &newTransitions, &cancelledAnimations,
+ activeInterpolationsForTransitions = EffectStack::activeInterpolations(
+ effectStack, &newTransitions, &cancelledAnimations,
KeyframeEffectReadOnly::TransitionPriority, isStylePropertyHandle);
}
« no previous file with comments | « third_party/WebKit/Source/core/animation/css/CSSAnimationUpdate.h ('k') | third_party/WebKit/Source/core/svg/SVGElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698