| Index: third_party/WebKit/Source/core/html/forms/RangeInputType.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/forms/RangeInputType.cpp b/third_party/WebKit/Source/core/html/forms/RangeInputType.cpp
|
| index 39d4d0180c11156691c7a2f3f738108a374fa354..0ca1bd5e0073fb073cac3fa68043a475fa458748 100644
|
| --- a/third_party/WebKit/Source/core/html/forms/RangeInputType.cpp
|
| +++ b/third_party/WebKit/Source/core/html/forms/RangeInputType.cpp
|
| @@ -190,7 +190,7 @@ void RangeInputType::handleKeydownEvent(KeyboardEvent* event) {
|
| const Decimal bigStep =
|
| std::max((stepRange.maximum() - stepRange.minimum()) / 10, step);
|
|
|
| - TextDirection dir = TextDirection::Ltr;
|
| + TextDirection dir = TextDirection::kLtr;
|
| bool isVertical = false;
|
| if (element().layoutObject()) {
|
| dir = computedTextDirection();
|
| @@ -204,11 +204,11 @@ void RangeInputType::handleKeydownEvent(KeyboardEvent* event) {
|
| } else if (key == "ArrowDown") {
|
| newValue = current - step;
|
| } else if (key == "ArrowLeft") {
|
| - newValue = (isVertical || dir == TextDirection::Rtl) ? current + step
|
| - : current - step;
|
| + newValue = (isVertical || dir == TextDirection::kRtl) ? current + step
|
| + : current - step;
|
| } else if (key == "ArrowRight") {
|
| - newValue = (isVertical || dir == TextDirection::Rtl) ? current - step
|
| - : current + step;
|
| + newValue = (isVertical || dir == TextDirection::kRtl) ? current - step
|
| + : current + step;
|
| } else if (key == "PageUp") {
|
| newValue = current + bigStep;
|
| } else if (key == "PageDown") {
|
|
|