aboutsummaryrefslogtreecommitdiffhomepage
path: root/gm/gm.cpp
diff options
context:
space:
mode:
authorGravatar reed <reed@google.com>2015-02-02 12:55:02 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2015-02-02 12:55:02 -0800
commit76113a9b7716748c70ea0ecf7aacbabe4cce5009 (patch)
tree57d91f56a717a0ffcb829b00c71e17195491753c /gm/gm.cpp
parenta669bc7a7ae7580c5cd92067aeb95d09e64ea720 (diff)
add SkAnimTimer, SPACE = pause/resume, ESP = stop
Diffstat (limited to 'gm/gm.cpp')
-rw-r--r--gm/gm.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/gm/gm.cpp b/gm/gm.cpp
index c8109a7e26..8d269d977d 100644
--- a/gm/gm.cpp
+++ b/gm/gm.cpp
@@ -51,8 +51,8 @@ void GM::setBGColor(SkColor color) {
fBGColor = color;
}
-bool GM::animatePulse(SkMSec curr, SkMSec prev) {
- return this->onAnimatePulse(curr, prev);
+bool GM::animate(const SkAnimTimer& timer) {
+ return this->onAnimate(timer);
}
/////////////////////////////////////////////////////////////////////////////////////////////