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

Unified Diff: third_party/WebKit/Source/platform/text/TextBreakIteratorICU.cpp

Issue 1521923002: Make platform/text to use USING_FAST_MALLOC. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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: 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;
« no previous file with comments | « third_party/WebKit/Source/platform/text/TextBreakIterator.h ('k') | third_party/WebKit/Source/platform/text/TextChecking.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698