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

Unified Diff: Source/core/layout/LayoutGeometryMap.h

Issue 1318713003: Make classes and structures in core/layout 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/layout/LayoutFrameSet.h ('k') | Source/core/layout/LayoutGeometryMapStep.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/LayoutGeometryMap.h
diff --git a/Source/core/layout/LayoutGeometryMap.h b/Source/core/layout/LayoutGeometryMap.h
index d24718979decfe25803cedbfde76f0484931611a..39f38345ddb746d90f327c07f4bceeab3d25b25c 100644
--- a/Source/core/layout/LayoutGeometryMap.h
+++ b/Source/core/layout/LayoutGeometryMap.h
@@ -33,6 +33,7 @@
#include "platform/geometry/FloatQuad.h"
#include "platform/geometry/IntSize.h"
#include "platform/geometry/LayoutSize.h"
+#include "wtf/Allocator.h"
#include "wtf/OwnPtr.h"
namespace blink {
@@ -44,6 +45,7 @@ class TransformState;
// Can be used while walking the layout tree to cache data about offsets and transforms.
class CORE_EXPORT LayoutGeometryMap {
+ DISALLOW_ALLOCATION();
WTF_MAKE_NONCOPYABLE(LayoutGeometryMap);
public:
LayoutGeometryMap(MapCoordinatesFlags = UseTransforms);
« no previous file with comments | « Source/core/layout/LayoutFrameSet.h ('k') | Source/core/layout/LayoutGeometryMapStep.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698