| Index: Source/core/dom/Element.cpp
|
| diff --git a/Source/core/dom/Element.cpp b/Source/core/dom/Element.cpp
|
| index e707d9a03c44ac1db92742f0f7abda0bbeb1c381..661b449fc05cc6d06e8f2a52960fdff708228d6e 100644
|
| --- a/Source/core/dom/Element.cpp
|
| +++ b/Source/core/dom/Element.cpp
|
| @@ -526,12 +526,12 @@ void Element::applyScroll(ScrollState& scrollState)
|
| LayoutBox* curBox = layoutObject()->enclosingBox();
|
| // FIXME: Native scrollers should only consume the scroll they
|
| // apply. See crbug.com/457765.
|
| - if (deltaX && curBox->scroll(ScrollLeft, ScrollByPrecisePixel, deltaX)) {
|
| + if (deltaX && curBox->scroll(ScrollPhysicalLeft, ScrollByPrecisePixel, deltaX)) {
|
| scrollState.consumeDeltaNative(scrollState.deltaX(), 0);
|
| scrolled = true;
|
| }
|
|
|
| - if (deltaY && curBox->scroll(ScrollUp, ScrollByPrecisePixel, deltaY)) {
|
| + if (deltaY && curBox->scroll(ScrollPhysicalUp, ScrollByPrecisePixel, deltaY)) {
|
| scrollState.consumeDeltaNative(0, scrollState.deltaY());
|
| scrolled = true;
|
| }
|
|
|