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

Unified Diff: Source/core/html/forms/DateTimeFieldsState.h

Issue 1306413003: Make classes and structures in core/html fast-allocated. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 4 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
« no previous file with comments | « Source/core/html/forms/DateTimeChooser.h ('k') | Source/core/html/forms/FormController.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/forms/DateTimeFieldsState.h
diff --git a/Source/core/html/forms/DateTimeFieldsState.h b/Source/core/html/forms/DateTimeFieldsState.h
index dc4174afee006aa1288f8c80ddb89900fec9a585..c97b9299c48545a4300588292a61fccfe1cc84d9 100644
--- a/Source/core/html/forms/DateTimeFieldsState.h
+++ b/Source/core/html/forms/DateTimeFieldsState.h
@@ -28,6 +28,8 @@
#if ENABLE(INPUT_MULTIPLE_FIELDS_UI)
+#include "wtf/Allocator.h"
+
namespace blink {
class FormControlState;
@@ -39,6 +41,7 @@ class FormControlState;
// Each field can contain invalid value for date, e.g. day of month field can
// be 30 even if month field is February.
class DateTimeFieldsState {
+ STACK_ALLOCATED();
public:
enum AMPMValue {
AMPMValueEmpty = -1,
« no previous file with comments | « Source/core/html/forms/DateTimeChooser.h ('k') | Source/core/html/forms/FormController.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698