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

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

Issue 2478233002: Make 'transform' a presentation attribute on SVG elements (Closed)
Patch Set: Rebase 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/SVGAnimatedTransformList.h
diff --git a/third_party/WebKit/Source/core/svg/SVGAnimatedTransformList.h b/third_party/WebKit/Source/core/svg/SVGAnimatedTransformList.h
index 2a411f25d7dc33daaba55555e0adeeb9118c4569..e5f3100e89df0d2b68ab054c9e9fd12d720cb0e1 100644
--- a/third_party/WebKit/Source/core/svg/SVGAnimatedTransformList.h
+++ b/third_party/WebKit/Source/core/svg/SVGAnimatedTransformList.h
@@ -45,9 +45,12 @@ class SVGAnimatedTransformList final
DEFINE_WRAPPERTYPEINFO();
public:
- static SVGAnimatedTransformList* create(SVGElement* contextElement,
- const QualifiedName& attributeName) {
- return new SVGAnimatedTransformList(contextElement, attributeName);
+ static SVGAnimatedTransformList* create(
+ SVGElement* contextElement,
+ const QualifiedName& attributeName,
+ CSSPropertyID cssPropertyId = CSSPropertyInvalid) {
+ return new SVGAnimatedTransformList(contextElement, attributeName,
+ cssPropertyId);
}
DEFINE_INLINE_VIRTUAL_TRACE_WRAPPERS() {
@@ -56,10 +59,12 @@ class SVGAnimatedTransformList final
protected:
SVGAnimatedTransformList(SVGElement* contextElement,
- const QualifiedName& attributeName)
+ const QualifiedName& attributeName,
+ CSSPropertyID cssPropertyId)
: SVGAnimatedProperty<SVGTransformList>(contextElement,
attributeName,
- SVGTransformList::create()) {}
+ SVGTransformList::create(),
+ cssPropertyId) {}
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698