| Index: third_party/WebKit/LayoutTests/fast/events/touch/gesture/touch-gesture-scroll-div-scaled.html
|
| diff --git a/third_party/WebKit/LayoutTests/fast/events/touch/gesture/touch-gesture-scroll-div-scaled.html b/third_party/WebKit/LayoutTests/fast/events/touch/gesture/touch-gesture-scroll-div-scaled.html
|
| index aa0438c15a00da430d4aa400e6c1b1205355a1f0..4f60a9ead1c958dcf64d02e2c1f8abe2f478deb8 100644
|
| --- a/third_party/WebKit/LayoutTests/fast/events/touch/gesture/touch-gesture-scroll-div-scaled.html
|
| +++ b/third_party/WebKit/LayoutTests/fast/events/touch/gesture/touch-gesture-scroll-div-scaled.html
|
| @@ -117,17 +117,15 @@ function runTest()
|
| description('This tests gesture event scrolling of an overflow div with page scale.');
|
|
|
| if (checkTestDependencies()) {
|
| - debug("set PreferCompositingToLCDTextEnabled false");
|
| - window.internals.settings.setPreferCompositingToLCDTextEnabled(false);
|
| - scrollAmountX = ['45', '45'];
|
| - scrollAmountY = ['0', '47'];
|
| - firstGestureScroll();
|
| -
|
| - debug("set PreferCompositingToLCDTextEnabled true");
|
| - window.internals.settings.setPreferCompositingToLCDTextEnabled(true);
|
| - scrollAmountX = ['90', '90'];
|
| - scrollAmountY = ['47.5', '95'];
|
| - gesturesOccurred = 0;
|
| + if (window.internals.runtimeFlags.fractionalScrollOffsetsEnabled) {
|
| + debug("fractional scroll mode");
|
| + window.internals.settings.setPreferCompositingToLCDTextEnabled(true);
|
| + scrollAmountX = ['90', '90'];
|
| + scrollAmountY = ['47.5', '95'];
|
| + } else {
|
| + scrollAmountX = ['45', '45'];
|
| + scrollAmountY = ['0', '47'];
|
| + }
|
| firstGestureScroll();
|
| } else
|
| exitIfNecessary();
|
|
|