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

Unified Diff: Source/core/layout/line/WordMeasurement.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/TrailingObjects.h ('k') | Source/core/layout/shapes/PolygonShape.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/line/WordMeasurement.h
diff --git a/Source/core/layout/line/WordMeasurement.h b/Source/core/layout/line/WordMeasurement.h
index a6e6fb3275da15a0f5bdc3c05fda74d8cd6bfee5..120672618bb22060dee802b4bbaf43c5caef1de9 100644
--- a/Source/core/layout/line/WordMeasurement.h
+++ b/Source/core/layout/line/WordMeasurement.h
@@ -25,11 +25,13 @@
#define WordMeasurement_h
#include "platform/fonts/SimpleFontData.h"
+#include "wtf/Allocator.h"
#include "wtf/HashSet.h"
namespace blink {
class WordMeasurement {
+ ALLOW_ONLY_INLINE_ALLOCATION();
public:
WordMeasurement()
: layoutText(nullptr)
« no previous file with comments | « Source/core/layout/line/TrailingObjects.h ('k') | Source/core/layout/shapes/PolygonShape.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698