| Index: third_party/WebKit/Source/core/svg/animation/SVGSMILElement.cpp
|
| diff --git a/third_party/WebKit/Source/core/svg/animation/SVGSMILElement.cpp b/third_party/WebKit/Source/core/svg/animation/SVGSMILElement.cpp
|
| index 8d8ba5783d7a77f276227ea00b22858a02c7f404..b7f10aac622757aedc738a1d2b7be8b5fc591a38 100644
|
| --- a/third_party/WebKit/Source/core/svg/animation/SVGSMILElement.cpp
|
| +++ b/third_party/WebKit/Source/core/svg/animation/SVGSMILElement.cpp
|
| @@ -209,10 +209,10 @@ void SVGSMILElement::buildPendingResource() {
|
| if (!svgTarget) {
|
| // Do not register as pending if we are already pending this resource.
|
| if (treeScope().ensureSVGTreeScopedResources().isElementPendingResource(
|
| - this, id))
|
| + *this, id))
|
| return;
|
| if (!id.isEmpty()) {
|
| - treeScope().ensureSVGTreeScopedResources().addPendingResource(id, this);
|
| + treeScope().ensureSVGTreeScopedResources().addPendingResource(id, *this);
|
| DCHECK(hasPendingResources());
|
| }
|
| } else {
|
| @@ -572,10 +572,11 @@ void SVGSMILElement::connectEventBaseConditions() {
|
| if (!condition->baseID().isEmpty() &&
|
| !treeScope()
|
| .ensureSVGTreeScopedResources()
|
| - .isElementPendingResource(this,
|
| - AtomicString(condition->baseID())))
|
| + .isElementPendingResource(*this,
|
| + AtomicString(condition->baseID()))) {
|
| treeScope().ensureSVGTreeScopedResources().addPendingResource(
|
| - AtomicString(condition->baseID()), this);
|
| + AtomicString(condition->baseID()), *this);
|
| + }
|
| continue;
|
| }
|
| ASSERT(!condition->eventListener());
|
|
|