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

Unified Diff: third_party/WebKit/Source/core/svg/graphics/SVGImage.cpp

Issue 2783133002: Implement Image::maybeAnimated for SVGImage (Closed)
Patch Set: Fix typo Created 3 years, 9 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/graphics/SVGImage.cpp
diff --git a/third_party/WebKit/Source/core/svg/graphics/SVGImage.cpp b/third_party/WebKit/Source/core/svg/graphics/SVGImage.cpp
index 52bc9e2124c109d027365d020fb8aa7cadfe312c..c89087b159b405b0f2a81fd3ebecc6ebc19997a8 100644
--- a/third_party/WebKit/Source/core/svg/graphics/SVGImage.cpp
+++ b/third_party/WebKit/Source/core/svg/graphics/SVGImage.cpp
@@ -521,7 +521,7 @@ void SVGImage::resetAnimation() {
scheduleTimelineRewind();
}
-bool SVGImage::hasAnimations() const {
+bool SVGImage::maybeAnimated() {
SVGSVGElement* rootElement = svgRootElement(m_page.get());
if (!rootElement)
return false;

Powered by Google App Engine
This is Rietveld 408576698