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

Unified Diff: Source/core/editing/SurroundingText.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/SurroundingText.h
diff --git a/Source/core/editing/SurroundingText.h b/Source/core/editing/SurroundingText.h
index 8ca95cc98d28f632683b68f3fcce5213128e2813..62d575cda8b07821db119d3390471dfca0424ce5 100644
--- a/Source/core/editing/SurroundingText.h
+++ b/Source/core/editing/SurroundingText.h
@@ -41,6 +41,7 @@ namespace blink {
class Range;
class CORE_EXPORT SurroundingText {
+ WTF_MAKE_FAST_ALLOCATED(SurroundingText);
WTF_MAKE_NONCOPYABLE(SurroundingText);
public:
SurroundingText(const Range&, unsigned maxLength);

Powered by Google App Engine
This is Rietveld 408576698