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

Unified Diff: Source/core/layout/line/AbstractInlineTextBox.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
Index: Source/core/layout/line/AbstractInlineTextBox.h
diff --git a/Source/core/layout/line/AbstractInlineTextBox.h b/Source/core/layout/line/AbstractInlineTextBox.h
index 8f5a059a187853be932d93a2c2086dad13f939ee..d9e1b84ada3adf1eddb198127eba8d8efb6f1254 100644
--- a/Source/core/layout/line/AbstractInlineTextBox.h
+++ b/Source/core/layout/line/AbstractInlineTextBox.h
@@ -60,6 +60,7 @@ private:
public:
struct WordBoundaries {
+ ALLOW_ONLY_INLINE_ALLOCATION();
WordBoundaries(int startIndex, int endIndex) : startIndex(startIndex), endIndex(endIndex) { }
int startIndex;
int endIndex;
« no previous file with comments | « Source/core/layout/compositing/GraphicsLayerUpdater.h ('k') | Source/core/layout/line/BreakingContextInlineHeaders.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698