| Index: Source/core/html/forms/RangeInputType.cpp
|
| diff --git a/Source/core/html/forms/RangeInputType.cpp b/Source/core/html/forms/RangeInputType.cpp
|
| index e9f60deb091cbd2698a85a62b70df9dc2cd371f6..1b25c2b50e972221028378982e1efe4f75f4b8ff 100644
|
| --- a/Source/core/html/forms/RangeInputType.cpp
|
| +++ b/Source/core/html/forms/RangeInputType.cpp
|
| @@ -61,7 +61,6 @@
|
| namespace WebCore {
|
|
|
| using namespace HTMLNames;
|
| -using namespace std;
|
|
|
| static const int rangeDefaultMinimum = 0;
|
| static const int rangeDefaultMaximum = 100;
|
| @@ -193,7 +192,7 @@ 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(element().fastGetAttribute(stepAttr), "any") ? (stepRange.maximum() - stepRange.minimum()) / 100 : stepRange.step();
|
| - const Decimal bigStep = max((stepRange.maximum() - stepRange.minimum()) / 10, step);
|
| + const Decimal bigStep = std::max((stepRange.maximum() - stepRange.minimum()) / 10, step);
|
|
|
| bool isVertical = false;
|
| if (element().renderer()) {
|
|
|