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

Unified Diff: third_party/WebKit/Source/platform/text/SegmentedString.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/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)
« no previous file with comments | « third_party/WebKit/Source/platform/text/PlatformLocale.h ('k') | third_party/WebKit/Source/platform/text/StringTruncator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698