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

Unified Diff: Source/core/style/GridLength.h

Issue 1308633005: Make classes and structures in core/style, core/plugins and core/streams 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/style/GridCoordinate.h ('k') | Source/core/style/GridPosition.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/style/GridLength.h
diff --git a/Source/core/style/GridLength.h b/Source/core/style/GridLength.h
index 611d180148f58617a6b6920abbd99301cb64e8b1..8f50f37962e77cb30f3adbb161dbfb22942d8c7d 100644
--- a/Source/core/style/GridLength.h
+++ b/Source/core/style/GridLength.h
@@ -32,6 +32,7 @@
#define GridLength_h
#include "platform/Length.h"
+#include "wtf/Allocator.h"
namespace blink {
@@ -39,6 +40,7 @@ namespace blink {
// or <flex>. This class avoids spreading the knowledge of <flex> throughout the layout directory by adding
// an new unit to Length.h.
class GridLength {
+ DISALLOW_ALLOCATION();
public:
GridLength(const Length& length)
: m_length(length)
« no previous file with comments | « Source/core/style/GridCoordinate.h ('k') | Source/core/style/GridPosition.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698