Index: samplecode/SampleClock.cpp |
diff --git a/samplecode/SampleClock.cpp b/samplecode/SampleClock.cpp |
index ae7462d1dce3466b45348be65e04fe9aea1db14c..ff3a5b19274ae7f73b98f4e1eaf3ceb2352916d4 100644 |
--- a/samplecode/SampleClock.cpp |
+++ b/samplecode/SampleClock.cpp |
@@ -215,8 +215,10 @@ protected: |
#endif |
canvas->restore(); |
+ } |
- this->inval(nullptr); |
+ bool onAnimate(const SkAnimTimer&) override { |
+ return true; |
} |
private: |