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

Unified Diff: Source/core/html/forms/DateTimeChooser.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
Index: Source/core/html/forms/DateTimeChooser.h
diff --git a/Source/core/html/forms/DateTimeChooser.h b/Source/core/html/forms/DateTimeChooser.h
index fe9ad3d10db51840e3655ae2761cae86b7e3b413..0a88a6d1f9499401ed4ab307558c8b21591d261f 100644
--- a/Source/core/html/forms/DateTimeChooser.h
+++ b/Source/core/html/forms/DateTimeChooser.h
@@ -33,6 +33,7 @@
#include "core/CoreExport.h"
#include "platform/geometry/IntRect.h"
+#include "wtf/Allocator.h"
#include "wtf/RefCounted.h"
#include "wtf/text/WTFString.h"
@@ -41,12 +42,14 @@ namespace blink {
class AXObject;
struct DateTimeSuggestion {
+ ALLOW_ONLY_INLINE_ALLOCATION();
double value;
String localizedValue;
String label;
};
struct DateTimeChooserParameters {
+ DISALLOW_ALLOCATION();
AtomicString type;
IntRect anchorRectInRootFrame;
IntRect anchorRectInScreen;
« no previous file with comments | « Source/core/html/canvas/CanvasRenderingContextFactory.h ('k') | Source/core/html/forms/DateTimeFieldsState.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698