Index: LayoutTests/fast/canvas/script-tests/canvas-path-context-fill.js |
diff --git a/LayoutTests/fast/canvas/script-tests/canvas-path-context-fill.js b/LayoutTests/fast/canvas/script-tests/canvas-path-context-fill.js |
index 9d7a9bb54cbaab9ce088d93993fb62b609a0dd30..db257023ba73a8899164c48acaf9049930008fe5 100644 |
--- a/LayoutTests/fast/canvas/script-tests/canvas-path-context-fill.js |
+++ b/LayoutTests/fast/canvas/script-tests/canvas-path-context-fill.js |
@@ -53,7 +53,7 @@ function testFillWith(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++) { |