Index: LayoutTests/fast/scroll-behavior/subframe-scrollTo.html |
diff --git a/LayoutTests/fast/scroll-behavior/subframe-scrollTo.html b/LayoutTests/fast/scroll-behavior/subframe-scrollTo.html |
index b9f3827236ae51c0b8aaea3b2cd5c22c0201472e..19c1f98437dcaa56959ce56088ea79a268f38fa5 100644 |
--- a/LayoutTests/fast/scroll-behavior/subframe-scrollTo.html |
+++ b/LayoutTests/fast/scroll-behavior/subframe-scrollTo.html |
@@ -21,7 +21,7 @@ |
function jsScroll(testCase) { |
var subframe = document.getElementById("subframe") |
if (testCase.js) { |
- subframe.contentWindow.scrollTo(testCase.x, testCase.y, {behavior: testCase.js}); |
+ subframe.contentWindow.scrollTo({left: testCase.x, top: testCase.y, behavior: testCase.js}); |
} else { |
subframe.contentWindow.scrollTo(testCase.x, testCase.y); |
} |