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

Unified Diff: third_party/WebKit/Source/platform/text/TextChecking.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/TextChecking.h
diff --git a/third_party/WebKit/Source/platform/text/TextChecking.h b/third_party/WebKit/Source/platform/text/TextChecking.h
index cbbec5553e3a387f5420113610a130409b9cb096..f495768da364f298f9e89e1071209a79995650a7 100644
--- a/third_party/WebKit/Source/platform/text/TextChecking.h
+++ b/third_party/WebKit/Source/platform/text/TextChecking.h
@@ -33,6 +33,7 @@
#include "platform/heap/Handle.h"
#include "platform/text/TextDecoration.h"
+#include "wtf/Allocator.h"
#include "wtf/RefCounted.h"
#include "wtf/Vector.h"
#include "wtf/text/WTFString.h"
@@ -53,6 +54,7 @@ enum TextCheckingProcessType {
};
struct GrammarDetail {
+ DISALLOW_NEW_EXCEPT_PLACEMENT_NEW();
int location;
int length;
Vector<String> guesses;
@@ -60,6 +62,7 @@ struct GrammarDetail {
};
struct TextCheckingResult {
+ DISALLOW_NEW_EXCEPT_PLACEMENT_NEW();
TextDecorationType decoration;
int location;
int length;
@@ -70,7 +73,8 @@ struct TextCheckingResult {
const int unrequestedTextCheckingSequence = -1;
-class TextCheckingRequestData {
+class TextCheckingRequestData final {
+ DISALLOW_NEW();
friend class SpellCheckRequest; // For access to m_sequence.
public:
TextCheckingRequestData()
« no previous file with comments | « third_party/WebKit/Source/platform/text/TextBreakIteratorICU.cpp ('k') | third_party/WebKit/Source/platform/text/TextRun.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698