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

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

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.cpp
diff --git a/third_party/WebKit/Source/core/svg/graphics/SVGImageChromeClient.cpp b/third_party/WebKit/Source/core/svg/graphics/SVGImageChromeClient.cpp
index 0a9074f8b5e5218383a1b1ef551487d346afcb04..0247773da7ffa605d0e5bc911165717b7b8e89c8 100644
--- a/third_party/WebKit/Source/core/svg/graphics/SVGImageChromeClient.cpp
+++ b/third_party/WebKit/Source/core/svg/graphics/SVGImageChromeClient.cpp
@@ -112,12 +112,12 @@ void SVGImageChromeClient::scheduleAnimation(Widget*)
m_animationTimer->startOneShot(fireTime, BLINK_FROM_HERE);
}
-void SVGImageChromeClient::setTimer(Timer<SVGImageChromeClient>* timer)
+void SVGImageChromeClient::setTimer(TaskRunnerTimer<SVGImageChromeClient>* timer)
{
m_animationTimer = wrapUnique(timer);
}
-void SVGImageChromeClient::animationTimerFired(Timer<SVGImageChromeClient>*)
+void SVGImageChromeClient::animationTimerFired(TimerBase*)
{
if (!m_image)
return;

Powered by Google App Engine
This is Rietveld 408576698