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

Unified Diff: Source/core/dom/custom/CustomElementProcessingStack.h

Issue 1304043002: Make classes and structures in core/dom 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/dom/custom/CustomElementProcessingStack.h
diff --git a/Source/core/dom/custom/CustomElementProcessingStack.h b/Source/core/dom/custom/CustomElementProcessingStack.h
index df46534ef113164596cf9fe3231a91bc25e37d7b..90f9346b6a599501e2795beb6d8fa6e4d0884ea4 100644
--- a/Source/core/dom/custom/CustomElementProcessingStack.h
+++ b/Source/core/dom/custom/CustomElementProcessingStack.h
@@ -38,10 +38,12 @@
namespace blink {
class CORE_EXPORT CustomElementProcessingStack : public NoBaseWillBeGarbageCollectedFinalized<CustomElementProcessingStack> {
+ WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED(CustomElementProcessingStack);
WTF_MAKE_NONCOPYABLE(CustomElementProcessingStack);
public:
// This is stack allocated in many DOM callbacks. Make it cheap.
class CallbackDeliveryScope {
+ STACK_ALLOCATED();
public:
CallbackDeliveryScope()
: m_savedElementQueueStart(s_elementQueueStart)
« no previous file with comments | « Source/core/dom/custom/CustomElementMicrotaskStep.h ('k') | Source/core/dom/custom/CustomElementProcessingStep.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698