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

Unified Diff: Source/core/editing/PlainTextRange.h

Issue 1306003002: Make classes and structures in core/editing fast-allocated. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 4 months 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: Source/core/editing/PlainTextRange.h
diff --git a/Source/core/editing/PlainTextRange.h b/Source/core/editing/PlainTextRange.h
index 76637eab463fbd68bf4a2e730ae3032bc888503a..eacfe4a499c95e52b5091719c7b880c806ab7e53 100644
--- a/Source/core/editing/PlainTextRange.h
+++ b/Source/core/editing/PlainTextRange.h
@@ -29,6 +29,7 @@
#include "core/CoreExport.h"
#include "core/editing/EphemeralRange.h"
#include "platform/heap/Handle.h"
+#include "wtf/Allocator.h"
#include "wtf/NotFound.h"
#include "wtf/PassRefPtr.h"
@@ -38,6 +39,7 @@ class ContainerNode;
class Range;
class CORE_EXPORT PlainTextRange {
+ STACK_ALLOCATED();
public:
PlainTextRange();
PlainTextRange(const PlainTextRange&);

Powered by Google App Engine
This is Rietveld 408576698