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

Unified Diff: Source/core/svg/properties/SVGPropertyTearOff.h

Issue 321403004: SVG: Items inserted into list should be made a tear-off. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: add baseline for mac Created 6 years, 6 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/properties/SVGListPropertyTearOffHelper.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/properties/SVGPropertyTearOff.h
diff --git a/Source/core/svg/properties/SVGPropertyTearOff.h b/Source/core/svg/properties/SVGPropertyTearOff.h
index caee1657c7733250c7f932545dd139fb8132ce2c..00ee10a7830805a7f5527b99fd36e40c52cf4704 100644
--- a/Source/core/svg/properties/SVGPropertyTearOff.h
+++ b/Source/core/svg/properties/SVGPropertyTearOff.h
@@ -83,6 +83,15 @@ public:
return m_attributeName;
}
+ void attachToSVGElementAttribute(SVGElement* contextElement, const QualifiedName& attributeName)
+ {
+ ASSERT(!isImmutable());
+ ASSERT(contextElement);
+ ASSERT(attributeName != nullQName());
+ m_contextElement = contextElement;
+ m_attributeName = attributeName;
+ }
+
virtual AnimatedPropertyType type() const = 0;
protected:
« no previous file with comments | « Source/core/svg/properties/SVGListPropertyTearOffHelper.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698