| Index: third_party/WebKit/Source/core/svg/SVGAnimateElement.cpp
|
| diff --git a/third_party/WebKit/Source/core/svg/SVGAnimateElement.cpp b/third_party/WebKit/Source/core/svg/SVGAnimateElement.cpp
|
| index 0b303c02585fd5be58f2ba987c2adc289af1eb7a..53cfdf2a60c2f74aa8aa177e921cf36dd084a06c 100644
|
| --- a/third_party/WebKit/Source/core/svg/SVGAnimateElement.cpp
|
| +++ b/third_party/WebKit/Source/core/svg/SVGAnimateElement.cpp
|
| @@ -38,9 +38,9 @@ SVGAnimateElement::SVGAnimateElement(const QualifiedName& tagName, Document& doc
|
| {
|
| }
|
|
|
| -PassRefPtrWillBeRawPtr<SVGAnimateElement> SVGAnimateElement::create(Document& document)
|
| +RawPtr<SVGAnimateElement> SVGAnimateElement::create(Document& document)
|
| {
|
| - return adoptRefWillBeNoop(new SVGAnimateElement(SVGNames::animateTag, document));
|
| + return (new SVGAnimateElement(SVGNames::animateTag, document));
|
| }
|
|
|
| SVGAnimateElement::~SVGAnimateElement()
|
| @@ -241,7 +241,7 @@ static inline void applyCSSPropertyToTargetAndInstances(SVGElement* targetElemen
|
| applyCSSPropertyToTarget(targetElement, id, valueAsString);
|
|
|
| // If the target element has instances, update them as well, w/o requiring the <use> tree to be rebuilt.
|
| - const WillBeHeapHashSet<RawPtrWillBeWeakMember<SVGElement>>& instances = targetElement->instancesForElement();
|
| + const HeapHashSet<WeakMember<SVGElement>>& instances = targetElement->instancesForElement();
|
| for (SVGElement* shadowTreeElement : instances) {
|
| if (shadowTreeElement)
|
| applyCSSPropertyToTarget(shadowTreeElement, id, valueAsString);
|
| @@ -260,7 +260,7 @@ static inline void removeCSSPropertyFromTargetAndInstances(SVGElement* targetEle
|
| removeCSSPropertyFromTarget(targetElement, id);
|
|
|
| // If the target element has instances, update them as well, w/o requiring the <use> tree to be rebuilt.
|
| - const WillBeHeapHashSet<RawPtrWillBeWeakMember<SVGElement>>& instances = targetElement->instancesForElement();
|
| + const HeapHashSet<WeakMember<SVGElement>>& instances = targetElement->instancesForElement();
|
| for (SVGElement* shadowTreeElement : instances) {
|
| if (shadowTreeElement)
|
| removeCSSPropertyFromTarget(shadowTreeElement, id);
|
|
|