aboutsummaryrefslogtreecommitdiffhomepage
path: root/samplecode/SampleGM.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'samplecode/SampleGM.cpp')
-rw-r--r--samplecode/SampleGM.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/samplecode/SampleGM.cpp b/samplecode/SampleGM.cpp
index 7319af8aa3..2d172af3dc 100644
--- a/samplecode/SampleGM.cpp
+++ b/samplecode/SampleGM.cpp
@@ -96,7 +96,7 @@ protected:
private:
void postNextGM() {
- (new SkEvent("next-gm"))->post(this->getSinkID(), 1500);
+ (new SkEvent("next-gm", this->getSinkID()))->postDelay(1500);
}
typedef SampleView INHERITED;