| Index: third_party/WebKit/Source/core/html/shadow/DateTimeNumericFieldElement.h
|
| diff --git a/third_party/WebKit/Source/core/html/shadow/DateTimeNumericFieldElement.h b/third_party/WebKit/Source/core/html/shadow/DateTimeNumericFieldElement.h
|
| index 88c0d097b31a02fa195b39ef749ca9d852fa9dc6..ee57798d568ec27f258e07f38dacb54fc3f69a5d 100644
|
| --- a/third_party/WebKit/Source/core/html/shadow/DateTimeNumericFieldElement.h
|
| +++ b/third_party/WebKit/Source/core/html/shadow/DateTimeNumericFieldElement.h
|
| @@ -47,14 +47,14 @@ class DateTimeNumericFieldElement : public DateTimeFieldElement {
|
|
|
| public:
|
| struct Step {
|
| - DISALLOW_ALLOCATION();
|
| + DISALLOW_NEW();
|
| Step(int step = 1, int stepBase = 0) : step(step), stepBase(stepBase) { }
|
| int step;
|
| int stepBase;
|
| };
|
|
|
| struct Range {
|
| - DISALLOW_ALLOCATION();
|
| + DISALLOW_NEW();
|
| Range(int minimum, int maximum) : minimum(minimum), maximum(maximum) { }
|
| int clampValue(int) const;
|
| bool isInRange(int) const;
|
|
|