Index: third_party/WebKit/Source/platform/text/SegmentedString.h |
diff --git a/third_party/WebKit/Source/platform/text/SegmentedString.h b/third_party/WebKit/Source/platform/text/SegmentedString.h |
index ef47beb0c71a4fd10bba05dc2322d4fab610e9e8..211aa93ce826e33371f88620daa1ba46613842f3 100644 |
--- a/third_party/WebKit/Source/platform/text/SegmentedString.h |
+++ b/third_party/WebKit/Source/platform/text/SegmentedString.h |
@@ -21,6 +21,7 @@ |
#define SegmentedString_h |
#include "platform/PlatformExport.h" |
+#include "wtf/Allocator.h" |
#include "wtf/Deque.h" |
#include "wtf/text/StringBuilder.h" |
#include "wtf/text/TextPosition.h" |
@@ -31,6 +32,7 @@ namespace blink { |
class SegmentedString; |
class PLATFORM_EXPORT SegmentedSubstring { |
+ DISALLOW_NEW_EXCEPT_PLACEMENT_NEW(); |
public: |
SegmentedSubstring() |
: m_length(0) |
@@ -175,6 +177,7 @@ private: |
}; |
class PLATFORM_EXPORT SegmentedString { |
+ DISALLOW_NEW(); |
public: |
SegmentedString() |
: m_currentChar(0) |