| Index: experimental/SkV8Example/snow.js
|
| diff --git a/experimental/SkV8Example/snow.js b/experimental/SkV8Example/snow.js
|
| index f3527dbd73fbb0cb89042082bb47e01e668f3b36..4640fd69f7e929e33b7ce6a5ea494cc7fe387543 100644
|
| --- a/experimental/SkV8Example/snow.js
|
| +++ b/experimental/SkV8Example/snow.js
|
| @@ -1,9 +1,9 @@
|
| var IS_SKV8 = typeof document == "undefined";
|
| -var HAS_PATH = typeof Path != "undefined";
|
| +var HAS_PATH = typeof Path2D != "undefined";
|
|
|
| function circlePath(r) {
|
| if (HAS_PATH) {
|
| - var p = new Path();
|
| + var p = new Path2D();
|
| p.arc(0, 0, r, 0, 2*Math.PI);
|
| p.closePath();
|
| return p;
|
|
|