Index: third_party/WebKit/Source/platform/text/TextBreakIteratorICU.cpp |
diff --git a/third_party/WebKit/Source/platform/text/TextBreakIteratorICU.cpp b/third_party/WebKit/Source/platform/text/TextBreakIteratorICU.cpp |
index 94aa2ae0577bd873a40b78308571f656d89f1083..efc2ae908cf7b000f55c55f22457a384c41eb78e 100644 |
--- a/third_party/WebKit/Source/platform/text/TextBreakIteratorICU.cpp |
+++ b/third_party/WebKit/Source/platform/text/TextBreakIteratorICU.cpp |
@@ -38,7 +38,8 @@ using namespace WTF; |
namespace blink { |
-class LineBreakIteratorPool { |
+class LineBreakIteratorPool final { |
+ USING_FAST_MALLOC(LineBreakIteratorPool); |
WTF_MAKE_NONCOPYABLE(LineBreakIteratorPool); |
public: |
static LineBreakIteratorPool& sharedPool() |
@@ -112,6 +113,7 @@ enum TextContext { NoContext, PriorContext, PrimaryContext }; |
const int textBufferCapacity = 16; |
typedef struct { |
+ DISALLOW_NEW(); |
UText text; |
UChar buffer[textBufferCapacity]; |
} UTextWithBuffer; |