SkAnimTimer -> AnimTimer
Change-Id: I700b7c0461475062ac66712cc29070f150cf777d
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/202315
Commit-Queue: Mike Klein <mtklein@google.com>
Reviewed-by: Brian Osman <brianosman@google.com>
diff --git a/samplecode/Sample.h b/samplecode/Sample.h
index e906e31..ecf3189 100644
--- a/samplecode/Sample.h
+++ b/samplecode/Sample.h
@@ -16,7 +16,7 @@
#include "SkRefCnt.h"
#include "SkString.h"
-class SkAnimTimer;
+class AnimTimer;
class SkCanvas;
class Sample;
@@ -81,7 +81,7 @@
static void DoClickUp(Click*, int x, int y, unsigned modi);
void setBGColor(SkColor color) { fBGColor = color; }
- bool animate(const SkAnimTimer& timer) { return this->onAnimate(timer); }
+ bool animate(const AnimTimer& timer) { return this->onAnimate(timer); }
class Event {
public:
@@ -209,7 +209,7 @@
virtual void onDrawBackground(SkCanvas*);
virtual void onDrawContent(SkCanvas*) = 0;
- virtual bool onAnimate(const SkAnimTimer&) { return false; }
+ virtual bool onAnimate(const AnimTimer&) { return false; }
virtual void onOnceBeforeDraw() {}
private: