Index: third_party/WebKit/Source/core/svg/SVGURIReference.cpp |
diff --git a/third_party/WebKit/Source/core/svg/SVGURIReference.cpp b/third_party/WebKit/Source/core/svg/SVGURIReference.cpp |
index 1b64614fdfd42dfe5c7936857ad187ecd3afba03..29064cfd7a9755d6ba01ec207e345e981ef3c751 100644 |
--- a/third_party/WebKit/Source/core/svg/SVGURIReference.cpp |
+++ b/third_party/WebKit/Source/core/svg/SVGURIReference.cpp |
@@ -27,10 +27,12 @@ |
namespace blink { |
-SVGURIReference::SVGURIReference(SVGElement* element) |
+SVGURIReference::SVGURIReference(SVGElement* element, |
+ PropertyMapAddition propertyMapAddition) |
: m_href(SVGAnimatedHref::create(element)) { |
ASSERT(element); |
- m_href->addToPropertyMap(element); |
+ if (propertyMapAddition == AddToPropertyMap) |
+ m_href->addToPropertyMap(element); |
} |
DEFINE_TRACE(SVGURIReference) { |