Index: third_party/WebKit/LayoutTests/fast/scroll-behavior/scroll-customization/scrollstate-distribute-to-scroll-chain-descendant.html |
diff --git a/third_party/WebKit/LayoutTests/fast/scroll-behavior/scroll-customization/scrollstate-distribute-to-scroll-chain-descendant.html b/third_party/WebKit/LayoutTests/fast/scroll-behavior/scroll-customization/scrollstate-distribute-to-scroll-chain-descendant.html |
index c1f726fa7c3c5e14001104bc820c4945421c4b9e..588c2ac440e169db3846ae6f40dbdcabae81ec89 100644 |
--- a/third_party/WebKit/LayoutTests/fast/scroll-behavior/scroll-customization/scrollstate-distribute-to-scroll-chain-descendant.html |
+++ b/third_party/WebKit/LayoutTests/fast/scroll-behavior/scroll-customization/scrollstate-distribute-to-scroll-chain-descendant.html |
@@ -33,7 +33,7 @@ for (var i = 0; i < elementCount; ++i) { |
if ('ScrollState' in window && window.internals) { |
test(function() { |
- var scrollState = new ScrollState(100, 0, 0, 0, 0, false, false); |
+ var scrollState = new ScrollState({deltaX: 100}); |
window.internals.setScrollChain(scrollState, elements); |
scrollState.distributeToScrollChainDescendant(); |
assert_equals(0, remainingNumberOfTimesToBeCalled); |
@@ -43,7 +43,7 @@ if ('ScrollState' in window && window.internals) { |
}, "distributeToScrollChainDescendant propagates correctly."); |
test(function() { |
- var scrollState = new ScrollState(100, 0, 0, 0, 0, false, false); |
+ var scrollState = new ScrollState({deltaX: 100}); |
window.internals.setScrollChain(scrollState, []); |
assert_equals(0, remainingNumberOfTimesToBeCalled); |
scrollState.distributeToScrollChainDescendant(); |