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

Unified Diff: Source/core/editing/Editor.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/Editor.h
diff --git a/Source/core/editing/Editor.h b/Source/core/editing/Editor.h
index 984d3486d992e58056cd40634431c77932344828..e69107355a2ab122562651c377203f2d92261379 100644
--- a/Source/core/editing/Editor.h
+++ b/Source/core/editing/Editor.h
@@ -60,6 +60,7 @@ enum EditorCommandSource { CommandFromMenuOrKeyBinding, CommandFromDOM };
enum EditorParagraphSeparator { EditorParagraphSeparatorIsDiv, EditorParagraphSeparatorIsP };
class CORE_EXPORT Editor final : public NoBaseWillBeGarbageCollectedFinalized<Editor> {
+ WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED(Editor);
WTF_MAKE_NONCOPYABLE(Editor);
public:
static PassOwnPtrWillBeRawPtr<Editor> create(LocalFrame&);

Powered by Google App Engine
This is Rietveld 408576698