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

Unified Diff: Source/core/layout/line/LayoutTextInfo.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/InlineIterator.h ('k') | Source/core/layout/line/LineBoxList.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/line/LayoutTextInfo.h
diff --git a/Source/core/layout/line/LayoutTextInfo.h b/Source/core/layout/line/LayoutTextInfo.h
index c1ecad7f218c61684a504eaed9bff603464b446d..b821ef50cefdf93aacd84ffebce2c2e194ed97e2 100644
--- a/Source/core/layout/line/LayoutTextInfo.h
+++ b/Source/core/layout/line/LayoutTextInfo.h
@@ -24,6 +24,7 @@
#define LayoutTextInfo_h
#include "platform/text/TextBreakIterator.h"
+#include "wtf/Allocator.h"
namespace blink {
@@ -31,6 +32,7 @@ class Font;
class LayoutText;
struct LayoutTextInfo {
+ STACK_ALLOCATED();
LayoutTextInfo()
: m_text(nullptr)
, m_font(nullptr)
« no previous file with comments | « Source/core/layout/line/InlineIterator.h ('k') | Source/core/layout/line/LineBoxList.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698