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