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/gears.js b/experimental/SkV8Example/gears.js index 82b4b1e..1c5a272 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 gearPath(r) { if (HAS_PATH) { - p = new Path(); + p = new Path2D(); makeGear(p, r) p.closePath(); return p;