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

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

Issue 2191533003: Refactor Timer classes in preparation for landing FrameTimers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Android build fix Created 4 years, 5 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/SVGImageChromeClient.h
diff --git a/third_party/WebKit/Source/core/svg/graphics/SVGImageChromeClient.h b/third_party/WebKit/Source/core/svg/graphics/SVGImageChromeClient.h
index 35e6148a087b043a2029483d02eb628947dfd1b0..42835fa37f52f3ddd5a3843410dde6e754278f5b 100644
--- a/third_party/WebKit/Source/core/svg/graphics/SVGImageChromeClient.h
+++ b/third_party/WebKit/Source/core/svg/graphics/SVGImageChromeClient.h
@@ -58,11 +58,11 @@ private:
void invalidateRect(const IntRect&) override;
void scheduleAnimation(Widget*) override;
- void setTimer(Timer<SVGImageChromeClient>*);
- void animationTimerFired(Timer<SVGImageChromeClient>*);
+ void setTimer(TaskRunnerTimer<SVGImageChromeClient>*);
+ void animationTimerFired(TimerBase*);
SVGImage* m_image;
- std::unique_ptr<Timer<SVGImageChromeClient>> m_animationTimer;
+ std::unique_ptr<TaskRunnerTimer<SVGImageChromeClient>> m_animationTimer;
haraken 2016/07/28 14:44:46 Yeah, this looks ugly...
enum {
Running,
Suspended,

Powered by Google App Engine
This is Rietveld 408576698