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

Unified Diff: Source/core/editing/iterators/BitStack.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/iterators/BitStack.h
diff --git a/Source/core/editing/iterators/BitStack.h b/Source/core/editing/iterators/BitStack.h
index 03077d51047a9c884254e1d87a5a7a8c525ba635..f588fa54441f95ec013d489170d7eb9b89e5c23a 100644
--- a/Source/core/editing/iterators/BitStack.h
+++ b/Source/core/editing/iterators/BitStack.h
@@ -27,6 +27,7 @@
#define BitStack_h
#include "core/CoreExport.h"
+#include "wtf/Allocator.h"
#include "wtf/Vector.h"
namespace blink {
@@ -34,6 +35,7 @@ namespace blink {
class Node;
class CORE_EXPORT BitStack {
+ STACK_ALLOCATED();
public:
BitStack();
~BitStack();

Powered by Google App Engine
This is Rietveld 408576698