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

Unified Diff: Source/core/rendering/style/RenderStyle.cpp

Issue 14391005: Rename Animation -> PrimitiveAnimation (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 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: Source/core/rendering/style/RenderStyle.cpp
diff --git a/Source/core/rendering/style/RenderStyle.cpp b/Source/core/rendering/style/RenderStyle.cpp
index 5839a7753f6c3a3f37835e7b801cbb763562fbbd..e8a430d7a5727bac5dff3c238027c0e93032a71b 100644
--- a/Source/core/rendering/style/RenderStyle.cpp
+++ b/Source/core/rendering/style/RenderStyle.cpp
@@ -1140,12 +1140,12 @@ AnimationList* RenderStyle::accessTransitions()
return rareNonInheritedData->m_transitions.get();
}
-const Animation* RenderStyle::transitionForProperty(CSSPropertyID property) const
+const PrimitiveAnimation* RenderStyle::transitionForProperty(CSSPropertyID property) const
{
if (transitions()) {
for (size_t i = 0; i < transitions()->size(); ++i) {
- const Animation* p = transitions()->animation(i);
- if (p->animationMode() == Animation::AnimateAll || p->property() == property) {
+ const PrimitiveAnimation* p = transitions()->animation(i);
+ if (p->animationMode() == PrimitiveAnimation::AnimateAll || p->property() == property) {
return p;
}
}

Powered by Google App Engine
This is Rietveld 408576698