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

Unified Diff: Source/core/editing/CompositionUnderlineRangeFilter.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/CompositionUnderlineRangeFilter.h
diff --git a/Source/core/editing/CompositionUnderlineRangeFilter.h b/Source/core/editing/CompositionUnderlineRangeFilter.h
index 00c771f4cfcb4a0175f98c4570e8f464fb18cefc..e4103015bc9eba7dc4e83d911c596e7374c9fef0 100644
--- a/Source/core/editing/CompositionUnderlineRangeFilter.h
+++ b/Source/core/editing/CompositionUnderlineRangeFilter.h
@@ -7,6 +7,7 @@
#include "core/CoreExport.h"
#include "core/editing/CompositionUnderline.h"
+#include "wtf/Allocator.h"
#include "wtf/NotFound.h"
#include "wtf/Vector.h"
@@ -16,9 +17,11 @@ namespace blink {
// underlines, visiting only elements that intersect with specified *inclusive*
// range [indexLo, indexHi].
class CORE_EXPORT CompositionUnderlineRangeFilter {
+ DISALLOW_ALLOCATION();
WTF_MAKE_NONCOPYABLE(CompositionUnderlineRangeFilter);
public:
class ConstIterator {
+ DISALLOW_ALLOCATION();
public:
ConstIterator(): m_filter(nullptr), m_index(0) { }
const CompositionUnderline& operator*()

Powered by Google App Engine
This is Rietveld 408576698