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

Unified Diff: Source/core/events/EventTarget.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
« no previous file with comments | « Source/core/events/EventPath.h ('k') | Source/core/events/NavigatorEvents.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/events/EventTarget.h
diff --git a/Source/core/events/EventTarget.h b/Source/core/events/EventTarget.h
index 461ed23188d39d2ff9d3956db3b7b1f8de286cc9..1affa472120c06dad5662e9987977f8d16026572 100644
--- a/Source/core/events/EventTarget.h
+++ b/Source/core/events/EventTarget.h
@@ -39,6 +39,7 @@
#include "core/EventTypeNames.h"
#include "core/events/EventListenerMap.h"
#include "platform/heap/Handle.h"
+#include "wtf/Allocator.h"
#include "wtf/text/AtomicString.h"
namespace blink {
@@ -50,6 +51,7 @@ class MessagePort;
class Node;
struct FiringEventIterator {
+ ALLOW_ONLY_INLINE_ALLOCATION();
Yuta Kitamura 2015/10/26 08:15:54 Is this needed? FiringEventIterator only contains
tasak 2015/10/26 08:19:01 I added this to ensure that no one invokes FiringE
FiringEventIterator(const AtomicString& eventType, size_t& iterator, size_t& end)
: eventType(eventType)
, iterator(iterator)
« no previous file with comments | « Source/core/events/EventPath.h ('k') | Source/core/events/NavigatorEvents.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698