Index: LayoutTests/fast/canvas/script-tests/canvas-path-context-stroke.js |
diff --git a/LayoutTests/fast/canvas/script-tests/canvas-path-context-stroke.js b/LayoutTests/fast/canvas/script-tests/canvas-path-context-stroke.js |
index 3a8a8004008398e9e4fa4283c5088456ec59a1b9..199725ba63429a9c720764b7199de9e595c9d15c 100644 |
--- a/LayoutTests/fast/canvas/script-tests/canvas-path-context-stroke.js |
+++ b/LayoutTests/fast/canvas/script-tests/canvas-path-context-stroke.js |
@@ -39,7 +39,7 @@ function testStrokeWith(path) { |
// Execute test. |
function prepareTestScenario() { |
- var path = new Path(); |
+ var path = new Path2D(); |
drawRectangleOn(path); |
testStrokeWith(); |