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

Unified Diff: Source/core/layout/LayoutFrameSet.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/LayoutBox.h ('k') | Source/core/layout/LayoutGeometryMap.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/LayoutFrameSet.h
diff --git a/Source/core/layout/LayoutFrameSet.h b/Source/core/layout/LayoutFrameSet.h
index 7a9aaa89778f64ee3ca61ba26396431d97816e95..09a7e3bea6191b79b8294feff8c45c4d68e76bcc 100644
--- a/Source/core/layout/LayoutFrameSet.h
+++ b/Source/core/layout/LayoutFrameSet.h
@@ -34,6 +34,7 @@ class MouseEvent;
enum FrameEdge { LeftFrameEdge, RightFrameEdge, TopFrameEdge, BottomFrameEdge };
struct FrameEdgeInfo {
+ STACK_ALLOCATED();
FrameEdgeInfo(bool preventResize = false, bool allowBorder = true)
: m_preventResize(4)
, m_allowBorder(4)
@@ -79,6 +80,7 @@ public:
HTMLFrameSetElement* frameSet() const;
class GridAxis {
+ DISALLOW_ALLOCATION();
WTF_MAKE_NONCOPYABLE(GridAxis);
public:
GridAxis();
« no previous file with comments | « Source/core/layout/LayoutBox.h ('k') | Source/core/layout/LayoutGeometryMap.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698