Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2497)

Unified Diff: experimental/SkV8Example/path.js

Issue 177963005: Rename Path to Path2D (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « experimental/SkV8Example/gears.js ('k') | experimental/SkV8Example/snow.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: experimental/SkV8Example/path.js
diff --git a/experimental/SkV8Example/path.js b/experimental/SkV8Example/path.js
index 8231cb4a367b9879cabef362738f328a49369177..81eb0d772bf3cd1237a6d697617464cd4130914e 100644
--- a/experimental/SkV8Example/path.js
+++ b/experimental/SkV8Example/path.js
@@ -2,7 +2,7 @@
* @fileoverview Sample onDraw script for use with SkV8Example.
*/
var onDraw = function(){
- var p = new Path();
+ var p = new Path2D();
p.moveTo(0, 0);
p.bezierCurveTo(0, 100, 100, 0, 200, 200);
p.close();
« no previous file with comments | « experimental/SkV8Example/gears.js ('k') | experimental/SkV8Example/snow.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698