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

Unified Diff: Source/core/layout/line/LineBoxList.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/line/LayoutTextInfo.h ('k') | Source/core/layout/line/LineBreaker.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/line/LineBoxList.h
diff --git a/Source/core/layout/line/LineBoxList.h b/Source/core/layout/line/LineBoxList.h
index 09137db17c9bbfbf87c139244f00f35aac910880..b757c46e5dca4a54c5dc75da397c7852c4d3feb4 100644
--- a/Source/core/layout/line/LineBoxList.h
+++ b/Source/core/layout/line/LineBoxList.h
@@ -31,6 +31,7 @@
#define LineBoxList_h
#include "core/layout/api/HitTestAction.h"
+#include "wtf/Allocator.h"
#include "wtf/Assertions.h"
namespace blink {
@@ -47,6 +48,7 @@ class LineLayoutItem;
struct PaintInfo;
class LineBoxList {
+ DISALLOW_ALLOCATION();
public:
LineBoxList()
: m_firstLineBox(nullptr)
« no previous file with comments | « Source/core/layout/line/LayoutTextInfo.h ('k') | Source/core/layout/line/LineBreaker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698