| 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 4a0b73756cebe5719c9df47e1d3f24ff49437a5e..82abb0dd8674183b2333f2538e4dc0c9eba97bb0 100644
|
| --- a/third_party/WebKit/Source/core/svg/animation/SVGSMILElement.cpp
|
| +++ b/third_party/WebKit/Source/core/svg/animation/SVGSMILElement.cpp
|
| @@ -245,11 +245,11 @@ void SVGSMILElement::buildPendingResource()
|
|
|
| if (!svgTarget) {
|
| // Do not register as pending if we are already pending this resource.
|
| - if (document().accessSVGExtensions().isElementPendingResource(this, id))
|
| + if (treeScope().accessSVGTreeScopedResources().isElementPendingResource(this, id))
|
| return;
|
|
|
| if (!id.isEmpty()) {
|
| - document().accessSVGExtensions().addPendingResource(id, this);
|
| + treeScope().accessSVGTreeScopedResources().addPendingResource(id, this);
|
| ASSERT(hasPendingResources());
|
| }
|
| } else {
|
| @@ -627,8 +627,8 @@ void SVGSMILElement::connectEventBaseConditions()
|
| ASSERT(!condition->syncBase());
|
| SVGElement* eventBase = eventBaseFor(*condition);
|
| if (!eventBase) {
|
| - if (!condition->baseID().isEmpty() && !document().accessSVGExtensions().isElementPendingResource(this, AtomicString(condition->baseID())))
|
| - document().accessSVGExtensions().addPendingResource(AtomicString(condition->baseID()), this);
|
| + if (!condition->baseID().isEmpty() && !treeScope().accessSVGTreeScopedResources().isElementPendingResource(this, AtomicString(condition->baseID())))
|
| + treeScope().accessSVGTreeScopedResources().addPendingResource(AtomicString(condition->baseID()), this);
|
| continue;
|
| }
|
| ASSERT(!condition->eventListener());
|
|
|