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

Unified Diff: Source/core/dom/EventTarget.cpp

Issue 23319002: Set MessageEvent.source to the newly created port for shared workers' connect events (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Add test and assertions Created 7 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
Index: Source/core/dom/EventTarget.cpp
diff --git a/Source/core/dom/EventTarget.cpp b/Source/core/dom/EventTarget.cpp
index db4032152b38c8c78206f0b42599858ce018126c..8c4f5b1ab83de90f309d44222798dd80bd8398dd 100644
--- a/Source/core/dom/EventTarget.cpp
+++ b/Source/core/dom/EventTarget.cpp
@@ -68,6 +68,11 @@ DOMWindow* EventTarget::toDOMWindow()
return 0;
}
+MessagePort* EventTarget::toMessagePort()
+{
+ return 0;
+}
+
inline DOMWindow* EventTarget::executingWindow()
{
if (ScriptExecutionContext* context = scriptExecutionContext())

Powered by Google App Engine
This is Rietveld 408576698