commit | d9adfe6a223955bc69c8c7661ab8e0a078afbc32 | [log] [tgz] |
---|---|---|
author | reed <reed@chromium.org> | Sun Feb 01 19:01:04 2015 -0800 |
committer | Commit bot <commit-bot@chromium.org> | Sun Feb 01 19:01:04 2015 -0800 |
tree | b3ae977babf890649bce0538e6b6cb766a948219 | |
parent | 47471cf19c1b386212ab0401190ac40cdeb95d1f [diff] [blame] |
allow GMs to animate BUG=skia: Review URL: https://codereview.chromium.org/888283002
diff --git a/samplecode/GMSampleView.h b/samplecode/GMSampleView.h index c781cd0..a03628e 100644 --- a/samplecode/GMSampleView.h +++ b/samplecode/GMSampleView.h
@@ -70,6 +70,10 @@ fGM->drawBackground(canvas); } + bool onAnimatePulse(SkMSec curr, SkMSec prev) SK_OVERRIDE { + return fGM->animatePulse(curr, prev); + } + private: GM* fGM; typedef SampleView INHERITED;