commit | f679d1bf38a9e319c2b38fa53852f05b7f246e8e | [log] [tgz] |
---|---|---|
author | commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | Thu Feb 27 20:20:21 2014 +0000 |
committer | commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | Thu Feb 27 20:20:21 2014 +0000 |
tree | 430b77274e099d8f5d816182341dee9d644df7aa | |
parent | 64ca10287a6191dbb6835bb0583a6d1fbe684650 [diff] [blame] |
Rename Path to Path2D BUG=skia: R=robertphillips@google.com Author: jcgregorio@google.com Review URL: https://codereview.chromium.org/177963005 git-svn-id: http://skia.googlecode.com/svn/trunk@13615 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/experimental/SkV8Example/snow.js b/experimental/SkV8Example/snow.js index f3527db..4640fd6 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;