| Index: sky/engine/core/css/StyleKeyframe.cpp
|
| diff --git a/sky/engine/core/css/CSSKeyframeRule.cpp b/sky/engine/core/css/StyleKeyframe.cpp
|
| similarity index 82%
|
| rename from sky/engine/core/css/CSSKeyframeRule.cpp
|
| rename to sky/engine/core/css/StyleKeyframe.cpp
|
| index 4e4694dfd411a93fb252abd2d5d18e671f5c11bd..78d2cfbae86497d96fa1b4b4ccbb576415fa30a2 100644
|
| --- a/sky/engine/core/css/CSSKeyframeRule.cpp
|
| +++ b/sky/engine/core/css/StyleKeyframe.cpp
|
| @@ -24,13 +24,10 @@
|
| */
|
|
|
| #include "sky/engine/config.h"
|
| -#include "sky/engine/core/css/CSSKeyframeRule.h"
|
| +#include "sky/engine/core/css/StyleKeyframe.h"
|
|
|
| -#include "sky/engine/core/css/CSSKeyframesRule.h"
|
| -#include "sky/engine/core/css/PropertySetCSSStyleDeclaration.h"
|
| #include "sky/engine/core/css/StylePropertySet.h"
|
| #include "sky/engine/core/css/parser/BisonCSSParser.h"
|
| -#include "sky/engine/core/frame/UseCounter.h"
|
| #include "sky/engine/wtf/text/StringBuilder.h"
|
|
|
| namespace blink {
|
| @@ -136,32 +133,4 @@ PassOwnPtr<Vector<double> > StyleKeyframe::createKeyList(CSSParserValueList* key
|
| return keyVector.release();
|
| }
|
|
|
| -CSSKeyframeRule::CSSKeyframeRule(StyleKeyframe* keyframe, CSSKeyframesRule* parent)
|
| - : CSSRule(0)
|
| - , m_keyframe(keyframe)
|
| -{
|
| - setParentRule(parent);
|
| -}
|
| -
|
| -CSSKeyframeRule::~CSSKeyframeRule()
|
| -{
|
| -#if !ENABLE(OILPAN)
|
| - if (m_propertiesCSSOMWrapper)
|
| - m_propertiesCSSOMWrapper->clearParentRule();
|
| -#endif
|
| -}
|
| -
|
| -CSSStyleDeclaration* CSSKeyframeRule::style() const
|
| -{
|
| - if (!m_propertiesCSSOMWrapper)
|
| - m_propertiesCSSOMWrapper = StyleRuleCSSStyleDeclaration::create(m_keyframe->mutableProperties(), const_cast<CSSKeyframeRule*>(this));
|
| - return m_propertiesCSSOMWrapper.get();
|
| -}
|
| -
|
| -void CSSKeyframeRule::reattach(StyleRuleBase*)
|
| -{
|
| - // No need to reattach, the underlying data is shareable on mutation.
|
| - ASSERT_NOT_REACHED();
|
| -}
|
| -
|
| } // namespace blink
|
|
|