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

Unified Diff: Source/core/editing/GranularityStrategy.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/GranularityStrategy.h
diff --git a/Source/core/editing/GranularityStrategy.h b/Source/core/editing/GranularityStrategy.h
index f77bbe3f4f55923f461b1e3d5cd0c9190afedef3..4e8fbcf8c7643c695d27ae637ed21115c3e4e31f 100644
--- a/Source/core/editing/GranularityStrategy.h
+++ b/Source/core/editing/GranularityStrategy.h
@@ -7,10 +7,12 @@
#include "core/editing/SelectionStrategy.h"
#include "core/editing/VisibleSelection.h"
+#include "wtf/Allocator.h"
namespace blink {
class GranularityStrategy {
+ WTF_MAKE_FAST_ALLOCATED(GranularityStrategy);
public:
virtual ~GranularityStrategy();
virtual SelectionStrategy GetType() const = 0;

Powered by Google App Engine
This is Rietveld 408576698