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

Unified Diff: Source/core/editing/commands/UndoStack.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/commands/UndoStack.h
diff --git a/Source/core/editing/commands/UndoStack.h b/Source/core/editing/commands/UndoStack.h
index ab2de28ff23788934ef4075966190d86582657ca..78a4af3a8fea2053e7d00131bb40d1dcee93ab0b 100644
--- a/Source/core/editing/commands/UndoStack.h
+++ b/Source/core/editing/commands/UndoStack.h
@@ -41,6 +41,8 @@ class LocalFrame;
class UndoStep;
class UndoStack final : public NoBaseWillBeGarbageCollected<UndoStack> {
+ WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED(UndoStack);
+ WTF_MAKE_NONCOPYABLE(UndoStack);
DECLARE_EMPTY_DESTRUCTOR_WILL_BE_REMOVED(UndoStack)
public:
static PassOwnPtrWillBeRawPtr<UndoStack> create();

Powered by Google App Engine
This is Rietveld 408576698