Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(8044)

Unified Diff: Source/core/svg/SVGAnimatedType.h

Issue 148173018: [SVG] SVGAnimatedString{,List} migration to new SVG property impl. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: remove debug print Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/svg/SVGAnimatedString.cpp ('k') | Source/core/svg/SVGAnimatedType.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGAnimatedType.h
diff --git a/Source/core/svg/SVGAnimatedType.h b/Source/core/svg/SVGAnimatedType.h
index f0f174235117bb1a12737229ea2d7df24a56b81f..2b5335221f66f48e479c663552bcdbb11ef9cf3f 100644
--- a/Source/core/svg/SVGAnimatedType.h
+++ b/Source/core/svg/SVGAnimatedType.h
@@ -42,7 +42,6 @@ public:
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>);
@@ -86,12 +85,6 @@ public:
return m_data.path;
}
- String& string()
- {
- ASSERT(m_type == AnimatedString);
- return *m_data.string;
- }
-
SVGTransformList& transformList()
{
ASSERT(m_type == AnimatedTransformList);
@@ -123,7 +116,6 @@ private:
int* integer;
std::pair<int, int>* integerOptionalInteger;
SVGPathByteStream* path;
- String* string;
SVGTransformList* transformList;
} m_data;
RefPtr<NewSVGPropertyBase> m_newProperty;
« no previous file with comments | « Source/core/svg/SVGAnimatedString.cpp ('k') | Source/core/svg/SVGAnimatedType.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698