| Index: Source/core/html/forms/StepRange.h
|
| diff --git a/Source/core/html/forms/StepRange.h b/Source/core/html/forms/StepRange.h
|
| index cec9e2dcff911aed19cdfd86029c40b29bbcbcbc..6450b9c4297476cb1be4e3ca3bbf3a4acdbb8fff 100644
|
| --- a/Source/core/html/forms/StepRange.h
|
| +++ b/Source/core/html/forms/StepRange.h
|
| @@ -22,6 +22,7 @@
|
| #define StepRange_h
|
|
|
| #include "platform/Decimal.h"
|
| +#include "wtf/Allocator.h"
|
| #include "wtf/Forward.h"
|
|
|
| namespace blink {
|
| @@ -29,6 +30,7 @@ namespace blink {
|
| enum AnyStepHandling { RejectAny, AnyIsDefaultStep };
|
|
|
| class StepRange {
|
| + DISALLOW_ALLOCATION();
|
| public:
|
| enum StepValueShouldBe {
|
| StepValueShouldBeReal,
|
| @@ -101,7 +103,7 @@ public:
|
| }
|
|
|
| private:
|
| - StepRange& operator =(const StepRange&);
|
| + StepRange& operator=(const StepRange&) = delete;
|
| Decimal acceptableError() const;
|
| Decimal roundByStep(const Decimal& value, const Decimal& base) const;
|
|
|
|
|