| Index: third_party/WebKit/LayoutTests/fast/scroll-behavior/scroll-customization/scrollstate-consume-deltas-throw.html
|
| diff --git a/third_party/WebKit/LayoutTests/fast/scroll-behavior/scroll-customization/scrollstate-consume-deltas-throw.html b/third_party/WebKit/LayoutTests/fast/scroll-behavior/scroll-customization/scrollstate-consume-deltas-throw.html
|
| index 5345dde11a23279992cf95b53e79927075b08dd8..7ac4c5163b83ff5bf4bfa7f7bdc55b30d2b965af 100644
|
| --- a/third_party/WebKit/LayoutTests/fast/scroll-behavior/scroll-customization/scrollstate-consume-deltas-throw.html
|
| +++ b/third_party/WebKit/LayoutTests/fast/scroll-behavior/scroll-customization/scrollstate-consume-deltas-throw.html
|
| @@ -14,7 +14,7 @@ test(function() {
|
|
|
| function testConsumingDelta(dx, dy, consume_x, consume_y, testName, expectedError) {
|
| test(function() {
|
| - var scrollState = new ScrollState(dx, dy);
|
| + var scrollState = new ScrollState({deltaX: dx, deltaY: dy});
|
| assert_throws('InvalidModificationError', function() {
|
| scrollState.consumeDelta(consume_x, consume_y);
|
| });
|
|
|