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

Unified Diff: Source/core/events/ScopedEventQueue.h

Issue 1310643003: Make classes and structures in core/events and core/fetch 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/events/ScopedEventQueue.h
diff --git a/Source/core/events/ScopedEventQueue.h b/Source/core/events/ScopedEventQueue.h
index 59dc56fc54b74efa802a81d3a57656a18f625ba1..f6ba2f93be4eac034f558cc72f9d178be968b88e 100644
--- a/Source/core/events/ScopedEventQueue.h
+++ b/Source/core/events/ScopedEventQueue.h
@@ -66,7 +66,7 @@ private:
class EventQueueScope {
WTF_MAKE_NONCOPYABLE(EventQueueScope);
-
+ STACK_ALLOCATED();
public:
EventQueueScope() { ScopedEventQueue::instance()->incrementScopingLevel(); }
~EventQueueScope() { ScopedEventQueue::instance()->decrementScopingLevel(); }

Powered by Google App Engine
This is Rietveld 408576698