Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(54)

Unified Diff: experimental/SkV8Example/sample.js

Issue 118473006: Allow multiple concurrent timers. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: clean up Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: experimental/SkV8Example/sample.js
diff --git a/experimental/SkV8Example/sample.js b/experimental/SkV8Example/sample.js
index b5160620448e2c5a7bff896ef1fb58a9be66bc16..841dd5daa7848706e03e8265c59bea61b982597d 100644
--- a/experimental/SkV8Example/sample.js
+++ b/experimental/SkV8Example/sample.js
@@ -13,8 +13,7 @@ var onDraw = function(){
function onTimeout() {
inval();
- print("Got a timeout!");
- setTimeout(onTimeout, 33);
+ print(setTimeout(onTimeout, 33));
}
setTimeout(onTimeout, 33);
« experimental/SkV8Example/Global.h ('K') | « experimental/SkV8Example/SkV8Example.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698