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

Unified Diff: Source/modules/indexeddb/IDBEventDispatcher.h

Issue 1318793005: [part 2] Make classes and structures in modules fast-allocated. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 3 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/modules/indexeddb/DOMWindowIndexedDatabase.h ('k') | Source/modules/indexeddb/IDBKeyPath.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/indexeddb/IDBEventDispatcher.h
diff --git a/Source/modules/indexeddb/IDBEventDispatcher.h b/Source/modules/indexeddb/IDBEventDispatcher.h
index f76c99ca57714fbaffeaf8b2573530823f306d40..ba4c3ffc5285bcc902964a3f2c3d0c91b97b075f 100644
--- a/Source/modules/indexeddb/IDBEventDispatcher.h
+++ b/Source/modules/indexeddb/IDBEventDispatcher.h
@@ -30,6 +30,7 @@
#define IDBEventDispatcher_h
#include "platform/heap/Handle.h"
+#include "wtf/Allocator.h"
#include "wtf/RefPtr.h"
#include "wtf/Vector.h"
@@ -39,11 +40,9 @@ class Event;
class EventTarget;
class IDBEventDispatcher {
+ STATIC_ONLY(IDBEventDispatcher);
public:
static bool dispatch(Event*, WillBeHeapVector<RefPtrWillBeMember<EventTarget>>&); // The target first and then its ancestors in order of how the event bubbles.
-
-private:
- IDBEventDispatcher();
};
} // namespace blink
« no previous file with comments | « Source/modules/indexeddb/DOMWindowIndexedDatabase.h ('k') | Source/modules/indexeddb/IDBKeyPath.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698