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

Unified Diff: third_party/WebKit/Source/core/workers/WorkerEventQueue.h

Issue 2209613002: Remove WorkerEventQueue::EventDispatcherTask (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: -extra LF, -PtrUtil.h Created 4 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 | third_party/WebKit/Source/core/workers/WorkerEventQueue.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/workers/WorkerEventQueue.h
diff --git a/third_party/WebKit/Source/core/workers/WorkerEventQueue.h b/third_party/WebKit/Source/core/workers/WorkerEventQueue.h
index d61230a6f3db179e5674b3fb12f42444b3825584..bb69c809e034677ca2233873a1296196a2b116b1 100644
--- a/third_party/WebKit/Source/core/workers/WorkerEventQueue.h
+++ b/third_party/WebKit/Source/core/workers/WorkerEventQueue.h
@@ -28,7 +28,6 @@
#define WorkerEventQueue_h
#include "core/events/EventQueue.h"
-#include "wtf/HashMap.h"
#include "wtf/HashSet.h"
namespace blink {
@@ -50,13 +49,13 @@ public:
private:
explicit WorkerEventQueue(ExecutionContext*);
+ bool removeEvent(Event*);
+ void dispatchEvent(Event*, ExecutionContext*);
Member<ExecutionContext> m_executionContext;
bool m_isClosed;
- class EventDispatcherTask;
- using EventTaskMap = HeapHashMap<Member<Event>, EventDispatcherTask*>;
- EventTaskMap m_eventTaskMap;
+ HeapHashSet<Member<Event>> m_pendingEvents;
};
} // namespace blink
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/workers/WorkerEventQueue.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698