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

Unified Diff: Source/core/layout/GapRects.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/FloatingObjects.h ('k') | Source/core/layout/HitTestCache.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/GapRects.h
diff --git a/Source/core/layout/GapRects.h b/Source/core/layout/GapRects.h
index 1e74e9c013f6fe172bc94f8e714667d1da62d2b4..5a50a7abd6e90d01f9a081085ec028688a865432 100644
--- a/Source/core/layout/GapRects.h
+++ b/Source/core/layout/GapRects.h
@@ -24,10 +24,12 @@
#define GapRects_h
#include "platform/geometry/LayoutRect.h"
+#include "wtf/Allocator.h"
namespace blink {
struct GapRects {
+ STACK_ALLOCATED();
const LayoutRect& left() const { return m_left; }
const LayoutRect& center() const { return m_center; }
const LayoutRect& right() const { return m_right; }
« no previous file with comments | « Source/core/layout/FloatingObjects.h ('k') | Source/core/layout/HitTestCache.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698