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

Unified Diff: Source/core/dom/MessageEvent.h

Issue 22915005: MessageEvent constructor should accept a MessagePort as source (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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/MessageEvent.h
diff --git a/Source/core/dom/MessageEvent.h b/Source/core/dom/MessageEvent.h
index abb159b89f8c1041aab4ddc8d4df691cd36e83cb..e6647c1dfb83dbf79f1972fa8a049a92e014777f 100644
--- a/Source/core/dom/MessageEvent.h
+++ b/Source/core/dom/MessageEvent.h
@@ -43,7 +43,7 @@ struct MessageEventInit : public EventInit {
String origin;
String lastEventId;
- RefPtr<DOMWindow> source;
+ RefPtr<EventTarget> source;
MessagePortArray ports;
};
« no previous file with comments | « LayoutTests/fast/events/constructors/message-event-constructor-expected.txt ('k') | Source/core/dom/MessageEvent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698