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 00919b333634309bef89b043b880234a655f4ede..dab56f81b99f697db48ca545279677ed13257f8a 100644 |
--- a/third_party/WebKit/Source/core/svg/SVGElement.cpp |
+++ b/third_party/WebKit/Source/core/svg/SVGElement.cpp |
@@ -42,7 +42,6 @@ |
#include "core/html/HTMLElement.h" |
#include "core/layout/LayoutObject.h" |
#include "core/layout/svg/LayoutSVGResourceContainer.h" |
-#include "core/svg/SVGAnimateElement.h" |
#include "core/svg/SVGCursorElement.h" |
#include "core/svg/SVGDocumentExtensions.h" |
#include "core/svg/SVGElementRareData.h" |
@@ -247,7 +246,8 @@ template<typename T> |
static void forSelfAndInstances(SVGElement* element, T callback) |
{ |
SVGElement::InstanceUpdateBlocker blocker(element); |
- for (SVGElement* instance : SVGAnimateElement::findElementInstances(element)) |
+ callback(element); |
+ for (SVGElement* instance : element->instancesForElement()) |
callback(instance); |
} |