diff options
author | commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2014-02-27 20:20:21 +0000 |
---|---|---|
committer | commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2014-02-27 20:20:21 +0000 |
commit | f679d1bf38a9e319c2b38fa53852f05b7f246e8e (patch) | |
tree | 430b77274e099d8f5d816182341dee9d644df7aa /experimental/SkV8Example/gears.js | |
parent | 64ca10287a6191dbb6835bb0583a6d1fbe684650 (diff) |
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
Diffstat (limited to 'experimental/SkV8Example/gears.js')
-rw-r--r-- | experimental/SkV8Example/gears.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/experimental/SkV8Example/gears.js b/experimental/SkV8Example/gears.js index 82b4b1e602..1c5a272e4f 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; |