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

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

Issue 2485663002: Store CSSPropertyID in SVGAnimatedPropertyBase (Closed)
Patch Set: Add missing case Created 4 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/SVGAnimatedPath.h
diff --git a/third_party/WebKit/Source/core/svg/SVGAnimatedPath.h b/third_party/WebKit/Source/core/svg/SVGAnimatedPath.h
index ccf24613d5253ee086912905d04d00724100fbcc..4502c6b0b06e831131d49feb318df549a791f070 100644
--- a/third_party/WebKit/Source/core/svg/SVGAnimatedPath.h
+++ b/third_party/WebKit/Source/core/svg/SVGAnimatedPath.h
@@ -40,13 +40,17 @@ class SVGAnimatedPath : public SVGAnimatedProperty<SVGPath> {
public:
~SVGAnimatedPath() override;
- static SVGAnimatedPath* create(SVGElement* contextElement,
- const QualifiedName& attributeName) {
- return new SVGAnimatedPath(contextElement, attributeName);
+ static SVGAnimatedPath* create(
+ SVGElement* contextElement,
+ const QualifiedName& attributeName,
+ CSSPropertyID cssPropertyId = CSSPropertyInvalid) {
+ return new SVGAnimatedPath(contextElement, attributeName, cssPropertyId);
}
protected:
- SVGAnimatedPath(SVGElement*, const QualifiedName&);
+ SVGAnimatedPath(SVGElement*,
+ const QualifiedName&,
+ CSSPropertyID = CSSPropertyInvalid);
};
} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/core/svg/SVGAnimatedLength.h ('k') | third_party/WebKit/Source/core/svg/SVGAnimatedPath.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698