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

Unified Diff: third_party/WebKit/Source/core/dom/MessagePort.h

Issue 2716163002: MessagePort: don't post repeated message dispatch tasks. (Closed)
Patch Set: improve comments Created 3 years, 10 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: third_party/WebKit/Source/core/dom/MessagePort.h
diff --git a/third_party/WebKit/Source/core/dom/MessagePort.h b/third_party/WebKit/Source/core/dom/MessagePort.h
index 1668f745745730b02389c0160f3bc59ee05e82bc..dcca8c66617c31ca8d39148a7efad04bca696dd8 100644
--- a/third_party/WebKit/Source/core/dom/MessagePort.h
+++ b/third_party/WebKit/Source/core/dom/MessagePort.h
@@ -141,6 +141,7 @@ class CORE_EXPORT MessagePort : public EventTargetWithInlineData,
WebMessagePortChannelUniquePtr m_entangledChannel;
+ int m_pendingDispatchTask;
bool m_started;
bool m_closed;
};
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/dom/MessagePort.cpp » ('j') | third_party/WebKit/Source/core/dom/MessagePort.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698