Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / core / svg / SVGAnimatedType.h
index f0f1742..7e7a2c7 100644 (file)
@@ -39,10 +39,7 @@ public:
     static PassOwnPtr<SVGAnimatedType> createAngleAndEnumeration(std::pair<SVGAngle, unsigned>*);
     static PassOwnPtr<SVGAnimatedType> createColor(StyleColor*);
     static PassOwnPtr<SVGAnimatedType> createEnumeration(unsigned*);
-    static PassOwnPtr<SVGAnimatedType> createInteger(int*);
-    static PassOwnPtr<SVGAnimatedType> createIntegerOptionalInteger(std::pair<int, int>*);
     static PassOwnPtr<SVGAnimatedType> createPath(PassOwnPtr<SVGPathByteStream>);
-    static PassOwnPtr<SVGAnimatedType> createString(String*);
     static PassOwnPtr<SVGAnimatedType> createTransformList(SVGTransformList*);
     // Temporary compatibility layer. This shouldn't be needed after all properties are switched to NewSVGAnimatedProperty impl.
     static PassOwnPtr<SVGAnimatedType> createNewProperty(PassRefPtr<NewSVGPropertyBase>);
@@ -68,30 +65,12 @@ public:
         return *m_data.enumeration;
     }
 
-    int& integer()
-    {
-        ASSERT(m_type == AnimatedInteger);
-        return *m_data.integer;
-    }
-
-    pair<int, int>& integerOptionalInteger()
-    {
-        ASSERT(m_type == AnimatedIntegerOptionalInteger);
-        return *m_data.integerOptionalInteger;
-    }
-
     SVGPathByteStream* path()
     {
         ASSERT(m_type == AnimatedPath);
         return m_data.path;
     }
 
-    String& string()
-    {
-        ASSERT(m_type == AnimatedString);
-        return *m_data.string;
-    }
-
     SVGTransformList& transformList()
     {
         ASSERT(m_type == AnimatedTransformList);
@@ -120,10 +99,7 @@ private:
         std::pair<SVGAngle, unsigned>* angleAndEnumeration;
         StyleColor* color;
         unsigned* enumeration;
-        int* integer;
-        std::pair<int, int>* integerOptionalInteger;
         SVGPathByteStream* path;
-        String* string;
         SVGTransformList* transformList;
     } m_data;
     RefPtr<NewSVGPropertyBase> m_newProperty;