Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(437)

Unified Diff: third_party/WebKit/Source/core/html/shadow/DateTimeNumericFieldElement.h

Issue 1406923009: Rename DISALLOW_ALLOCATION and ALLOW_ONLY_INLINE_ALLOCATION (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;

Powered by Google App Engine
This is Rietveld 408576698