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

Unified Diff: Source/core/editing/EditingBehavior.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/EditingBehavior.h
diff --git a/Source/core/editing/EditingBehavior.h b/Source/core/editing/EditingBehavior.h
index dfad75a564b6d3ca6e9804d82cb34d416aced055..2a500e342e7c928aea1d43da2a862f95757a8cb2 100644
--- a/Source/core/editing/EditingBehavior.h
+++ b/Source/core/editing/EditingBehavior.h
@@ -23,12 +23,13 @@
#include "core/CoreExport.h"
#include "core/editing/EditingBehaviorTypes.h"
+#include "wtf/Allocator.h"
namespace blink {
class KeyboardEvent;
class CORE_EXPORT EditingBehavior {
-
+ STACK_ALLOCATED();
public:
explicit EditingBehavior(EditingBehaviorType type)
: m_type(type)

Powered by Google App Engine
This is Rietveld 408576698