Chromium Code Reviews| 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..69ca41997dccda32506dfff9ad89a749a4947163 100644 |
| --- a/Source/core/svg/properties/SVGPropertyTearOff.h |
| +++ b/Source/core/svg/properties/SVGPropertyTearOff.h |
| @@ -83,6 +83,15 @@ public: |
| return m_attributeName; |
| } |
| + void makeTearOff(SVGElement* contextElement, const QualifiedName& attributeName) |
|
fs
2014/06/11 08:42:23
I can see where "makeTearOff" comes from, but it m
kouhei (in TOK)
2014/06/12 04:25:28
Yes this isn't a very good name. Trying "attachToS
fs
2014/06/12 08:32:23
Naming is hard, but this new shade is certainly an
|
| + { |
| + ASSERT(!isImmutable()); |
| + ASSERT(contextElement); |
| + ASSERT(attributeName != nullQName()); |
| + m_contextElement = contextElement; |
| + m_attributeName = attributeName; |
| + } |
| + |
| virtual AnimatedPropertyType type() const = 0; |
| protected: |