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

Unified Diff: Source/core/events/EventFactory.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 | « no previous file | Source/core/events/EventPath.h » ('j') | Source/core/events/EventTarget.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/events/EventFactory.h
diff --git a/Source/core/events/EventFactory.h b/Source/core/events/EventFactory.h
index 51c2cfa0695f127c5e2a0d138ed1c7ba9f5a505a..8764b08e2c2ea2348488f7503e3f49255d620cc9 100644
--- a/Source/core/events/EventFactory.h
+++ b/Source/core/events/EventFactory.h
@@ -27,6 +27,7 @@
#define EventFactory_h
#include "platform/heap/Handle.h"
+#include "wtf/Allocator.h"
#include "wtf/PassRefPtr.h"
#include "wtf/text/AtomicString.h"
@@ -35,6 +36,7 @@ namespace blink {
class Event;
class EventFactoryBase {
+ WTF_MAKE_FAST_ALLOCATED(EventFactory);
public:
virtual PassRefPtrWillBeRawPtr<Event> create(const String& eventType) = 0;
virtual ~EventFactoryBase() { }
« no previous file with comments | « no previous file | Source/core/events/EventPath.h » ('j') | Source/core/events/EventTarget.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698