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

Unified Diff: experimental/SkV8Example/speed.js

Issue 677133002: Move .js files to their own directory (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years, 2 months 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
« no previous file with comments | « experimental/SkV8Example/snow.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: experimental/SkV8Example/speed.js
diff --git a/experimental/SkV8Example/speed.js b/experimental/SkV8Example/speed.js
deleted file mode 100644
index 5b0f0013546d18c3e92a1a3e435e21bcdff4ef93..0000000000000000000000000000000000000000
--- a/experimental/SkV8Example/speed.js
+++ /dev/null
@@ -1,23 +0,0 @@
-/**
- * @fileoverview Sample onDraw script for use with SkV8Example.
- */
-var onDraw = function(){
- var tick = 0;
- function f(canvas) {
- tick += 0.1;
- canvas.fillStyle = '#0000ff';
- canvas.fillRect(100, 100, Math.sin(tick)*100, Math.cos(tick)*100);
- inval();
- };
-
- function onTimeout() {
- print(tick*10, " FPS");
- setTimeout(onTimeout, 1000);
- tick=0;
- }
-
- setTimeout(onTimeout, 1000);
-
- return f;
-}();
-
« no previous file with comments | « experimental/SkV8Example/snow.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698