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

Unified Diff: third_party/WebKit/LayoutTests/fast/scroll-behavior/scroll-customization/scrollstate-distribute-to-scroll-chain-descendant.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-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();

Powered by Google App Engine
This is Rietveld 408576698