Index: LayoutTests/fast/canvas/script-tests/canvas-path-context-clip.js |
diff --git a/LayoutTests/fast/canvas/script-tests/canvas-path-context-clip.js b/LayoutTests/fast/canvas/script-tests/canvas-path-context-clip.js |
index cff4d5ceae805a6981a40136b8b2dd1e6bc77913..94aa3201dda2b17682edc902958ab74e7d36e1ee 100644 |
--- a/LayoutTests/fast/canvas/script-tests/canvas-path-context-clip.js |
+++ b/LayoutTests/fast/canvas/script-tests/canvas-path-context-clip.js |
@@ -55,7 +55,7 @@ function testClipWith(fillRule, path) { |
// Execute test. |
function prepareTestScenario() { |
fillRules = [undefined, 'nonzero', 'evenodd']; |
- var path = new Path(); |
+ var path = new Path2D(); |
drawRectanglesOn(path); |
for (var i = 0; i < fillRules.length; i++) { |