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

Unified Diff: third_party/WebKit/Source/core/svg/SVGNumber.h

Issue 1410643011: Web Animations: Add SVGNumberInterpolationType (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@_propertyHandleFilter
Patch Set: Created 5 years, 1 month 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
Index: third_party/WebKit/Source/core/svg/SVGNumber.h
diff --git a/third_party/WebKit/Source/core/svg/SVGNumber.h b/third_party/WebKit/Source/core/svg/SVGNumber.h
index 19bbf8d993a08091eeb805190290cefbe1d7aab8..4cd1132f2cc3b7cd90c380a2dcc799e9ec68c08b 100644
--- a/third_party/WebKit/Source/core/svg/SVGNumber.h
+++ b/third_party/WebKit/Source/core/svg/SVGNumber.h
@@ -72,12 +72,7 @@ protected:
float m_value;
};
-inline PassRefPtrWillBeRawPtr<SVGNumber> toSVGNumber(PassRefPtrWillBeRawPtr<SVGPropertyBase> passBase)
-{
- RefPtrWillBeRawPtr<SVGPropertyBase> base = passBase;
- ASSERT(base->type() == SVGNumber::classType());
- return static_pointer_cast<SVGNumber>(base.release());
-}
+DEFINE_SVG_PROPERTY_TYPE_CASTS(SVGNumber);
// SVGNumber which also accepts percentage as its value.
// This is used for <stop> "offset"
« no previous file with comments | « third_party/WebKit/Source/core/core.gypi ('k') | third_party/WebKit/Source/core/svg/properties/SVGProperty.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698