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, |