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

Unified Diff: Source/core/layout/LayoutGeometryMapStep.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/LayoutGeometryMap.h ('k') | Source/core/layout/LayoutObject.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/LayoutGeometryMapStep.h
diff --git a/Source/core/layout/LayoutGeometryMapStep.h b/Source/core/layout/LayoutGeometryMapStep.h
index 2145bad41aeb423e7bd12fa96a87b4838cf1c021..4613d3747005def98f93b02291e4e0407ac9e2d6 100644
--- a/Source/core/layout/LayoutGeometryMapStep.h
+++ b/Source/core/layout/LayoutGeometryMapStep.h
@@ -29,6 +29,7 @@
#include "platform/geometry/LayoutSize.h"
#include "platform/transforms/TransformationMatrix.h"
+#include "wtf/Allocator.h"
#include "wtf/OwnPtr.h"
namespace blink {
@@ -37,6 +38,7 @@ class LayoutObject;
// Stores data about how to map from one layoutObject to its container.
struct LayoutGeometryMapStep {
+ ALLOW_ONLY_INLINE_ALLOCATION();
LayoutGeometryMapStep(const LayoutGeometryMapStep& o)
: m_layoutObject(o.m_layoutObject)
, m_offset(o.m_offset)
« no previous file with comments | « Source/core/layout/LayoutGeometryMap.h ('k') | Source/core/layout/LayoutObject.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698