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

Unified Diff: Source/core/layout/line/LineBreaker.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/LineBoxList.h ('k') | Source/core/layout/line/LineInfo.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/line/LineBreaker.h
diff --git a/Source/core/layout/line/LineBreaker.h b/Source/core/layout/line/LineBreaker.h
index 47bdaa9d9fbedd0ceefd523e572cf9affbe98146..b6c44fa389d9fa2bd57d5f9d0e2bbad6c28e7d5e 100644
--- a/Source/core/layout/line/LineBreaker.h
+++ b/Source/core/layout/line/LineBreaker.h
@@ -26,6 +26,7 @@
#include "core/layout/api/LineLayoutBlockFlow.h"
#include "core/layout/line/InlineIterator.h"
#include "core/layout/line/LineInfo.h"
+#include "wtf/Allocator.h"
#include "wtf/Vector.h"
namespace blink {
@@ -35,6 +36,7 @@ enum WhitespacePosition { LeadingWhitespace, TrailingWhitespace };
struct LayoutTextInfo;
class LineBreaker {
+ STACK_ALLOCATED();
public:
friend class BreakingContext;
LineBreaker(LineLayoutBlockFlow block)
« no previous file with comments | « Source/core/layout/line/LineBoxList.h ('k') | Source/core/layout/line/LineInfo.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698