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

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

Issue 131253002: [SVG] SVGAnimatedBoolean migration to new SVG property impl. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebased 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/SVGAnimatedBoolean.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 82553553a6e01a729ad077f7c24db294bc0d67af..059e336f56358a3ff004087226d4aa2093633d81 100644
--- a/Source/core/svg/SVGAnimatedType.h
+++ b/Source/core/svg/SVGAnimatedType.h
@@ -40,7 +40,6 @@ public:
~SVGAnimatedType();
static PassOwnPtr<SVGAnimatedType> createAngleAndEnumeration(std::pair<SVGAngle, unsigned>*);
- static PassOwnPtr<SVGAnimatedType> createBoolean(bool*);
static PassOwnPtr<SVGAnimatedType> createColor(Color*);
static PassOwnPtr<SVGAnimatedType> createEnumeration(unsigned*);
static PassOwnPtr<SVGAnimatedType> createInteger(int*);
@@ -66,12 +65,6 @@ public:
return *m_data.angleAndEnumeration;
}
- bool& boolean()
- {
- ASSERT(m_type == AnimatedBoolean);
- return *m_data.boolean;
- }
-
Color& color()
{
ASSERT(m_type == AnimatedColor);
@@ -170,7 +163,6 @@ private:
}
std::pair<SVGAngle, unsigned>* angleAndEnumeration;
- bool* boolean;
Color* color;
unsigned* enumeration;
int* integer;
« no previous file with comments | « Source/core/svg/SVGAnimatedBoolean.cpp ('k') | Source/core/svg/SVGAnimatedType.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698