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

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

Issue 2247783003: Avoid setting timers from SVGImage::resetAnimation() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/svg/graphics/SVGImage.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/svg/graphics/SVGImage.h
diff --git a/third_party/WebKit/Source/core/svg/graphics/SVGImage.h b/third_party/WebKit/Source/core/svg/graphics/SVGImage.h
index 6a58f33c0232a367bc3d73c4988ac119e80fccb7..a46d63881bdb85e6180832e54cf685619852b9f1 100644
--- a/third_party/WebKit/Source/core/svg/graphics/SVGImage.h
+++ b/third_party/WebKit/Source/core/svg/graphics/SVGImage.h
@@ -115,6 +115,8 @@ private:
ImageClampingMode, const KURL&);
void stopAnimation();
+ void scheduleTimelineRewind();
+ void flushPendingTimelineRewind();
Persistent<SVGImageChromeClient> m_chromeClient;
Persistent<Page> m_page;
@@ -126,6 +128,7 @@ private:
// SVGImage. SVGImageForContainer carried the final image size,
// also called concrete object size.
IntSize m_intrinsicSize;
+ bool m_hasPendingTimelineRewind;
};
DEFINE_IMAGE_TYPE_CASTS(SVGImage);
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/svg/graphics/SVGImage.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698