Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(788)

Unified Diff: third_party/WebKit/Source/core/svg/SVGAnimateElement.cpp

Issue 2293173003: Move SVGAnimateElement::findElementInstances to SVGElement.cpp (Closed)
Patch Set: Fold into forSelfAndInstances Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 ecd0090b434d33534dfbabe94012931a44131329..3e705860fd189a9a8fd4c63f09a56c7cd08b3ca5 100644
--- a/third_party/WebKit/Source/core/svg/SVGAnimateElement.cpp
+++ b/third_party/WebKit/Source/core/svg/SVGAnimateElement.cpp
@@ -157,19 +157,6 @@ bool SVGAnimateElement::calculateFromAndByValues(const String& fromString, const
return true;
}
-SVGElementInstances SVGAnimateElement::findElementInstances(SVGElement* targetElement)
-{
- ASSERT(targetElement);
- SVGElementInstances animatedElements;
-
- animatedElements.append(targetElement);
-
- const auto& instances = targetElement->instancesForElement();
- animatedElements.appendRange(instances.begin(), instances.end());
-
- return animatedElements;
-}
-
void SVGAnimateElement::resetAnimatedType()
{
SVGElement* targetElement = this->targetElement();
« no previous file with comments | « third_party/WebKit/Source/core/svg/SVGAnimateElement.h ('k') | third_party/WebKit/Source/core/svg/SVGElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698