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/SamplePathEffects.cpp b/samplecode/SamplePathEffects.cpp
index e59b64d..e4a7422 100644
--- a/samplecode/SamplePathEffects.cpp
+++ b/samplecode/SamplePathEffects.cpp
@@ -5,19 +5,19 @@
* found in the LICENSE file.
*/
+#include "AnimTimer.h"
#include "Sample.h"
-#include "SkAnimTimer.h"
+#include "Sk1DPathEffect.h"
#include "SkCanvas.h"
+#include "SkColorPriv.h"
+#include "SkCornerPathEffect.h"
#include "SkGradientShader.h"
#include "SkPath.h"
+#include "SkPathMeasure.h"
+#include "SkRandom.h"
#include "SkRegion.h"
#include "SkShader.h"
#include "SkUTF.h"
-#include "Sk1DPathEffect.h"
-#include "SkCornerPathEffect.h"
-#include "SkPathMeasure.h"
-#include "SkRandom.h"
-#include "SkColorPriv.h"
#define CORNER_RADIUS 12
@@ -138,7 +138,7 @@
canvas->drawPath(fPath, paint);
}
- bool onAnimate(const SkAnimTimer& timer) override {
+ bool onAnimate(const AnimTimer& timer) override {
fPhase = timer.scaled(40);
return true;
}