| 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 2e3db3435c8c9953bad37682bce6a0010a56f5ad..2fcc8129da584760860b5c7664deb9ef07197c99 100644
|
| --- a/third_party/WebKit/Source/core/svg/SVGAnimateElement.cpp
|
| +++ b/third_party/WebKit/Source/core/svg/SVGAnimateElement.cpp
|
| @@ -39,9 +39,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()
|
| @@ -242,7 +242,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);
|
| @@ -261,7 +261,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);
|
|
|