Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(223)

Unified Diff: third_party/WebKit/LayoutTests/fast/scroll-behavior/scroll-customization/scrollstate-consume-deltas-throw.html

Issue 1646663002: Refactor Scroll Customization to share cc::ScrollStateData with blink. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix linking. Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);
});

Powered by Google App Engine
This is Rietveld 408576698