diff options
Diffstat (limited to 'chromium/third_party/WebKit/Source/core/rendering/style/KeyframeList.cpp')
-rw-r--r-- | chromium/third_party/WebKit/Source/core/rendering/style/KeyframeList.cpp | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/chromium/third_party/WebKit/Source/core/rendering/style/KeyframeList.cpp b/chromium/third_party/WebKit/Source/core/rendering/style/KeyframeList.cpp index 2ed58360ee1..4ddaf8a5789 100644 --- a/chromium/third_party/WebKit/Source/core/rendering/style/KeyframeList.cpp +++ b/chromium/third_party/WebKit/Source/core/rendering/style/KeyframeList.cpp @@ -28,27 +28,6 @@ namespace WebCore { -void KeyframeValue::addProperties(const StylePropertySet* propertySet) -{ - if (!propertySet) - return; - unsigned propertyCount = propertySet->propertyCount(); - for (unsigned i = 0; i < propertyCount; ++i) { - CSSPropertyID property = propertySet->propertyAt(i).id(); - // Timing-function within keyframes is special, because it is not animated; it just - // describes the timing function between this keyframe and the next. - if (property != CSSPropertyWebkitAnimationTimingFunction && property != CSSPropertyAnimationTimingFunction) - addProperty(property); - } -} - -TimingFunction* KeyframeValue::timingFunction(const RenderStyle& keyframeStyle) -{ - const CSSAnimationDataList* animations = keyframeStyle.animations(); - ASSERT(animations && !animations->isEmpty()); - return animations->animation(0)->timingFunction(); -} - KeyframeList::~KeyframeList() { clear(); |