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

Unified Diff: LayoutTests/fast/canvas/script-tests/canvas-currentPath.js

Issue 178673002: Rename Path to Path2D (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@path
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
Index: LayoutTests/fast/canvas/script-tests/canvas-currentPath.js
diff --git a/LayoutTests/fast/canvas/script-tests/canvas-currentPath.js b/LayoutTests/fast/canvas/script-tests/canvas-currentPath.js
index cd5ed5486b9430f57e23134a3616803479ce5fdf..646103059554ed676261530be55c75ad11ea6c4f 100644
--- a/LayoutTests/fast/canvas/script-tests/canvas-currentPath.js
+++ b/LayoutTests/fast/canvas/script-tests/canvas-currentPath.js
@@ -25,7 +25,7 @@ ctx.fillStyle = '#0f0';
ctx.beginPath();
debug("Create path object, replace current context path with the path of this object.");
-var p = new Path();
+var p = new Path2D();
p.rect(0,0,200,200);
testPointCollection([false, false, false, false, false]);
@@ -60,7 +60,7 @@ shouldBeNull("p");
ctx.beginPath();
ctx.rect(0,0,200,200);
p = ctx.currentPath;
-shouldBeType("p", "Path");
+shouldBeType("p", "Path2D");
debug("");
debug("Create context path and test that it exists.");

Powered by Google App Engine
This is Rietveld 408576698