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

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

Issue 1417483015: SVG Web Animations: Add SVGIntegerOptionalIntegerInterpolationType (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: More test work... Some failing 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
« no previous file with comments | « third_party/WebKit/Source/core/core.gypi ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/svg/SVGIntegerOptionalInteger.h
diff --git a/third_party/WebKit/Source/core/svg/SVGIntegerOptionalInteger.h b/third_party/WebKit/Source/core/svg/SVGIntegerOptionalInteger.h
index b62fb1f82e40bd0f0633dec40492232d4c32a94b..9fa17991fb5a6d69a97bb88300f7359cca80adf0 100644
--- a/third_party/WebKit/Source/core/svg/SVGIntegerOptionalInteger.h
+++ b/third_party/WebKit/Source/core/svg/SVGIntegerOptionalInteger.h
@@ -59,8 +59,8 @@ public:
static AnimatedPropertyType classType() { return AnimatedIntegerOptionalInteger; }
- PassRefPtrWillBeRawPtr<SVGInteger> firstInteger() { return m_firstInteger; }
- PassRefPtrWillBeRawPtr<SVGInteger> secondInteger() { return m_secondInteger; }
+ PassRefPtrWillBeRawPtr<SVGInteger> firstInteger() const { return m_firstInteger; }
+ PassRefPtrWillBeRawPtr<SVGInteger> secondInteger() const { return m_secondInteger; }
DECLARE_VIRTUAL_TRACE();
@@ -78,6 +78,13 @@ inline PassRefPtrWillBeRawPtr<SVGIntegerOptionalInteger> toSVGIntegerOptionalInt
return static_pointer_cast<SVGIntegerOptionalInteger>(base.release());
}
+inline const SVGIntegerOptionalInteger& toSVGIntegerOptionalInteger(const SVGPropertyBase& base)
+{
+ ASSERT(base.type() == SVGIntegerOptionalInteger::classType());
+ return static_cast<const SVGIntegerOptionalInteger&>(base);
+}
+
+
} // namespace blink
#endif // SVGIntegerOptionalInteger_h
« no previous file with comments | « third_party/WebKit/Source/core/core.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698