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

Unified Diff: third_party/WebKit/Source/platform/graphics/BitmapImage.cpp

Issue 2191533003: Refactor Timer classes in preparation for landing FrameTimers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: More build fixes 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/platform/graphics/BitmapImage.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/BitmapImage.cpp b/third_party/WebKit/Source/platform/graphics/BitmapImage.cpp
index 8788a62448b541c25446cbdcf3b0bc34e93d1bd0..19ed900844e6134debd272d79dc5a90b4a48d498 100644
--- a/third_party/WebKit/Source/platform/graphics/BitmapImage.cpp
+++ b/third_party/WebKit/Source/platform/graphics/BitmapImage.cpp
@@ -564,7 +564,7 @@ void BitmapImage::advanceTime(double deltaTimeInSeconds)
m_desiredFrameStartTime = monotonicallyIncreasingTime() - deltaTimeInSeconds;
}
-void BitmapImage::advanceAnimation(Timer<BitmapImage>*)
+void BitmapImage::advanceAnimation(TimerBase*)
{
internalAdvanceAnimation(false);
// At this point the image region has been marked dirty, and if it's
@@ -572,7 +572,7 @@ void BitmapImage::advanceAnimation(Timer<BitmapImage>*)
// startAnimation() again to keep the animation moving.
}
-void BitmapImage::advanceAnimationWithoutCatchUp(Timer<BitmapImage>*)
+void BitmapImage::advanceAnimationWithoutCatchUp(TimerBase*)
{
if (internalAdvanceAnimation(false))
startAnimation(DoNotCatchUp);
« no previous file with comments | « third_party/WebKit/Source/platform/graphics/BitmapImage.h ('k') | third_party/WebKit/Source/platform/mac/ScrollAnimatorMac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698