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

Unified Diff: Source/core/style/GridResolvedPosition.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/GridPosition.h ('k') | Source/core/style/GridTrackSize.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/style/GridResolvedPosition.h
diff --git a/Source/core/style/GridResolvedPosition.h b/Source/core/style/GridResolvedPosition.h
index 008f220c4069d2d3781299065ea4d8d3a1b89565..e35441fa95c437ab8181b1b97e5a4700acb4a50e 100644
--- a/Source/core/style/GridResolvedPosition.h
+++ b/Source/core/style/GridResolvedPosition.h
@@ -6,6 +6,7 @@
#define GridResolvedPosition_h
#include "core/style/GridPosition.h"
+#include "wtf/Allocator.h"
namespace blink {
@@ -28,6 +29,7 @@ enum GridTrackSizingDirection {
// This class represents an index into one of the dimensions of the grid array.
// Wraps a size_t integer just for the purpose of knowing what we manipulate in the grid code.
class GridResolvedPosition {
+ DISALLOW_ALLOCATION();
public:
static GridResolvedPosition adjustGridPositionForAfterEndSide(size_t resolvedPosition)
{
« no previous file with comments | « Source/core/style/GridPosition.h ('k') | Source/core/style/GridTrackSize.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698