Index: samplecode/SampleHairline.cpp |
diff --git a/samplecode/SampleHairline.cpp b/samplecode/SampleHairline.cpp |
index 3c254472fa735202fbf3041f7939018df016e316..76876339b4641e80ad1f858352060f4e655dae7b 100644 |
--- a/samplecode/SampleHairline.cpp |
+++ b/samplecode/SampleHairline.cpp |
@@ -6,6 +6,7 @@ |
*/ |
#include "SampleCode.h" |
+#include "SkAnimTimer.h" |
#include "SkView.h" |
#include "SkCanvas.h" |
#include "SkCornerPathEffect.h" |
@@ -221,7 +222,7 @@ protected: |
canvas->drawBitmap(bm2, SkIntToScalar(10), SkIntToScalar(10), NULL); |
} |
- bool onAnimatePulse(SkMSec curr, SkMSec prev) SK_OVERRIDE { |
+ bool onAnimate(const SkAnimTimer&) SK_OVERRIDE { |
if (fDoAA) { |
fProcIndex = cycle_hairproc_index(fProcIndex); |
// todo: signal that we want to rebuild our TITLE |