Index: experimental/SkV8Example/gears.js |
diff --git a/experimental/SkV8Example/gears.js b/experimental/SkV8Example/gears.js |
index 7eb4c5b198e06eede15b5de1b8a31732455fdff3..5ba2f995c25782c70175adf65f296b02ff250420 100644 |
--- a/experimental/SkV8Example/gears.js |
+++ b/experimental/SkV8Example/gears.js |
@@ -97,6 +97,9 @@ var onDraw = function() { |
function draw(ctx) { |
ctx.resetTransform(); |
+ ctx.fillStyle = "#FFFFFF"; |
+ ctx.fillRect(0, 0, 499, 499); |
+ |
rotation += DeltaTheta; |
if (rotation >= Math.PI*2) { |
rotation = 0; |