Index: experimental/SkV8Example/path.js |
diff --git a/experimental/SkV8Example/path.js b/experimental/SkV8Example/path.js |
index 8231cb4a367b9879cabef362738f328a49369177..81eb0d772bf3cd1237a6d697617464cd4130914e 100644 |
--- a/experimental/SkV8Example/path.js |
+++ b/experimental/SkV8Example/path.js |
@@ -2,7 +2,7 @@ |
* @fileoverview Sample onDraw script for use with SkV8Example. |
*/ |
var onDraw = function(){ |
- var p = new Path(); |
+ var p = new Path2D(); |
p.moveTo(0, 0); |
p.bezierCurveTo(0, 100, 100, 0, 200, 200); |
p.close(); |