| Index: experimental/SkV8Example/gears.js
|
| diff --git a/experimental/SkV8Example/gears.js b/experimental/SkV8Example/gears.js
|
| index 82b4b1e60288c2fa31d35694b6da437d0f52a162..1c5a272e4f40a73725a20b838ff5de6cfabf003f 100644
|
| --- a/experimental/SkV8Example/gears.js
|
| +++ b/experimental/SkV8Example/gears.js
|
| @@ -1,5 +1,5 @@
|
| var IS_SKV8 = typeof document == "undefined";
|
| -var HAS_PATH = typeof Path != "undefined";
|
| +var HAS_PATH = typeof Path2D != "undefined";
|
|
|
| var NumTeeth = 24;
|
| var NumGears = 60;
|
| @@ -23,7 +23,7 @@ function makeGear(pathLike, r) {
|
|
|
| function gearPath(r) {
|
| if (HAS_PATH) {
|
| - p = new Path();
|
| + p = new Path2D();
|
| makeGear(p, r)
|
| p.closePath();
|
| return p;
|
|
|