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

Unified Diff: Source/core/editing/CompositionUnderline.h

Issue 1306003002: Make classes and structures in core/editing 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/editing/CompositionUnderline.h
diff --git a/Source/core/editing/CompositionUnderline.h b/Source/core/editing/CompositionUnderline.h
index 106ac867bbc0f6e2dea5652ccadc9629cfe54923..b84be4905b72808b080f40cacdfa4539427d44df 100644
--- a/Source/core/editing/CompositionUnderline.h
+++ b/Source/core/editing/CompositionUnderline.h
@@ -27,10 +27,12 @@
#define CompositionUnderline_h
#include "platform/graphics/Color.h"
+#include "wtf/Allocator.h"
namespace blink {
struct CompositionUnderline {
+ ALLOW_ONLY_INLINE_ALLOCATION();
CompositionUnderline()
: startOffset(0)
, endOffset(0)
« no previous file with comments | « no previous file | Source/core/editing/CompositionUnderlineRangeFilter.h » ('j') | Source/core/editing/spellcheck/SpellChecker.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698