Index: Source/core/rendering/style/RenderStyle.cpp |
diff --git a/Source/core/rendering/style/RenderStyle.cpp b/Source/core/rendering/style/RenderStyle.cpp |
index 8accb94d73609b0186a0da53fcf963a1286545f0..499b96bd978143addd22974e740573285d19a6a1 100644 |
--- a/Source/core/rendering/style/RenderStyle.cpp |
+++ b/Source/core/rendering/style/RenderStyle.cpp |
@@ -1166,19 +1166,6 @@ CSSAnimationDataList* RenderStyle::accessTransitions() |
return rareNonInheritedData->m_transitions.get(); |
} |
-const CSSAnimationData* RenderStyle::transitionForProperty(CSSPropertyID property) const |
-{ |
- if (transitions()) { |
- for (size_t i = 0; i < transitions()->size(); ++i) { |
- const CSSAnimationData* p = transitions()->animation(i); |
- if (p->animationMode() == CSSAnimationData::AnimateAll || p->property() == property) { |
- return p; |
- } |
- } |
- } |
- return 0; |
-} |
- |
const Font& RenderStyle::font() const { return inherited->font; } |
const FontMetrics& RenderStyle::fontMetrics() const { return inherited->font.fontMetrics(); } |
const FontDescription& RenderStyle::fontDescription() const { return inherited->font.fontDescription(); } |