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 5a6458f2b6dd302ec33e135e1da4af565f8e3ef5..511eeb461fed830d9bd479846818ed8e0747984c 100644 |
--- a/third_party/WebKit/Source/core/html/forms/RangeInputType.cpp |
+++ b/third_party/WebKit/Source/core/html/forms/RangeInputType.cpp |
@@ -184,10 +184,10 @@ void RangeInputType::HandleKeydownEvent(KeyboardEvent* event) { |
// FIXME: We can't use stepUp() for the step value "any". So, we increase |
// or decrease the value by 1/100 of the value range. Is it reasonable? |
- const Decimal step = |
- EqualIgnoringCase(GetElement().FastGetAttribute(stepAttr), "any") |
- ? (step_range.Maximum() - step_range.Minimum()) / 100 |
- : step_range.Step(); |
+ const Decimal step = DeprecatedEqualIgnoringCase( |
+ GetElement().FastGetAttribute(stepAttr), "any") |
+ ? (step_range.Maximum() - step_range.Minimum()) / 100 |
+ : step_range.Step(); |
const Decimal big_step = |
std::max((step_range.Maximum() - step_range.Minimum()) / 10, step); |