Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / core / rendering / style / KeyframeList.cpp
index 2ed5836..409a2d8 100644 (file)
 
 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();