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

Unified Diff: third_party/WebKit/Source/platform/text/TextRun.h

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/TextRun.h
diff --git a/third_party/WebKit/Source/platform/text/TextRun.h b/third_party/WebKit/Source/platform/text/TextRun.h
index 9c66c0abacb943f101e0d844c8c2a774c5d24170..8748aca07b1d7a4ed9749c3e6c936fd3ef9bfa92 100644
--- a/third_party/WebKit/Source/platform/text/TextRun.h
+++ b/third_party/WebKit/Source/platform/text/TextRun.h
@@ -31,6 +31,7 @@
#include "platform/text/TabSize.h"
#include "platform/text/TextDirection.h"
#include "platform/text/TextPath.h"
+#include "wtf/Allocator.h"
#include "wtf/RefCounted.h"
#include "wtf/text/WTFString.h"
@@ -45,8 +46,8 @@ enum TextJustify {
TextJustifyDistribute = 0x3
};
-class PLATFORM_EXPORT TextRun {
- USING_FAST_MALLOC(TextRun);
+class PLATFORM_EXPORT TextRun final {
+ DISALLOW_NEW();
public:
enum ExpansionBehaviorFlags {
ForbidTrailingExpansion = 0 << 0,
« no previous file with comments | « third_party/WebKit/Source/platform/text/TextChecking.h ('k') | third_party/WebKit/Source/platform/text/TextRun.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698