| Index: Source/core/html/shadow/DateTimeNumericFieldElement.h
|
| diff --git a/Source/core/html/shadow/DateTimeNumericFieldElement.h b/Source/core/html/shadow/DateTimeNumericFieldElement.h
|
| index 1dd2d8f5593d3f863484a491cced39a3c0a86075..fa5c0324ffa6fd17cb052fda7f489cc4920aca28 100644
|
| --- a/Source/core/html/shadow/DateTimeNumericFieldElement.h
|
| +++ b/Source/core/html/shadow/DateTimeNumericFieldElement.h
|
| @@ -29,6 +29,7 @@
|
| #if ENABLE(INPUT_MULTIPLE_FIELDS_UI)
|
| #include "core/html/shadow/DateTimeFieldElement.h"
|
|
|
| +#include "wtf/Allocator.h"
|
| #include "wtf/text/StringBuilder.h"
|
| #include "wtf/text/WTFString.h"
|
|
|
| @@ -46,12 +47,14 @@ class DateTimeNumericFieldElement : public DateTimeFieldElement {
|
|
|
| public:
|
| struct Step {
|
| + DISALLOW_ALLOCATION();
|
| Step(int step = 1, int stepBase = 0) : step(step), stepBase(stepBase) { }
|
| int step;
|
| int stepBase;
|
| };
|
|
|
| struct Range {
|
| + DISALLOW_ALLOCATION();
|
| Range(int minimum, int maximum) : minimum(minimum), maximum(maximum) { }
|
| int clampValue(int) const;
|
| bool isInRange(int) const;
|
|
|