| Index: third_party/WebKit/Source/core/svg/SVGElement.cpp
|
| diff --git a/third_party/WebKit/Source/core/svg/SVGElement.cpp b/third_party/WebKit/Source/core/svg/SVGElement.cpp
|
| index ecc8a6083c73aa9a31e3ac08b3ce9b0808453def..88b13cabd79b091f5a2cf4d69f8c1e4987973a16 100644
|
| --- a/third_party/WebKit/Source/core/svg/SVGElement.cpp
|
| +++ b/third_party/WebKit/Source/core/svg/SVGElement.cpp
|
| @@ -269,7 +269,7 @@ void SVGElement::setWebAnimatedAttribute(const QualifiedName& attribute,
|
| notifyAnimValChanged(element, attribute);
|
| }
|
| });
|
| - ensureSVGRareData()->webAnimatedAttributes().add(&attribute);
|
| + ensureSVGRareData()->webAnimatedAttributes().insert(&attribute);
|
| }
|
|
|
| void SVGElement::clearWebAnimatedAttributes() {
|
| @@ -528,7 +528,7 @@ void SVGElement::updateRelativeLengthsInformation(bool clientHasRelativeLengths,
|
|
|
| bool hadRelativeLengths = currentElement.hasRelativeLengths();
|
| if (clientHasRelativeLengths)
|
| - currentElement.m_elementsWithRelativeLengths.add(clientElement);
|
| + currentElement.m_elementsWithRelativeLengths.insert(clientElement);
|
| else
|
| currentElement.m_elementsWithRelativeLengths.remove(clientElement);
|
|
|
| @@ -614,7 +614,7 @@ void SVGElement::mapInstanceToElement(SVGElement* instance) {
|
| ensureSVGRareData()->elementInstances();
|
| ASSERT(!instances.contains(instance));
|
|
|
| - instances.add(instance);
|
| + instances.insert(instance);
|
| }
|
|
|
| void SVGElement::removeInstanceMapping(SVGElement* instance) {
|
| @@ -1235,8 +1235,8 @@ SVGElementSet* SVGElement::setOfIncomingReferences() const {
|
| void SVGElement::addReferenceTo(SVGElement* targetElement) {
|
| ASSERT(targetElement);
|
|
|
| - ensureSVGRareData()->outgoingReferences().add(targetElement);
|
| - targetElement->ensureSVGRareData()->incomingReferences().add(this);
|
| + ensureSVGRareData()->outgoingReferences().insert(targetElement);
|
| + targetElement->ensureSVGRareData()->incomingReferences().insert(this);
|
| }
|
|
|
| void SVGElement::rebuildAllIncomingReferences() {
|
|
|