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

Unified Diff: Source/web/WebDOMMessageEvent.cpp

Issue 1304553002: Remove the deprecated messageevent API (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: add class documentation Created 5 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 | public/web/WebDOMMessageEvent.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/WebDOMMessageEvent.cpp
diff --git a/Source/web/WebDOMMessageEvent.cpp b/Source/web/WebDOMMessageEvent.cpp
index 3e172dc5af2a526033273f70d87a73216d2ccab3..7c35d4eb29559143e7ee304b7e0168370f1d0b5d 100644
--- a/Source/web/WebDOMMessageEvent.cpp
+++ b/Source/web/WebDOMMessageEvent.cpp
@@ -63,16 +63,6 @@ void WebDOMMessageEvent::initMessageEvent(const WebString& type, bool canBubble,
unwrap<MessageEvent>()->initMessageEvent(type, canBubble, cancelable, messageData, origin, lastEventId, window, ports);
}
-void WebDOMMessageEvent::initMessageEvent(const WebString& type, bool canBubble, bool cancelable, const WebSerializedScriptValue& messageData, const WebString& origin, const WebFrame* sourceFrame, const WebString& lastEventId, const WebMessagePortChannelArray& webChannels)
-{
- WebDocument document;
- if (sourceFrame && sourceFrame->isWebLocalFrame()) {
- DOMWindow* window = toCoreFrame(sourceFrame)->domWindow();
- document = toLocalDOMWindow(window)->document();
- }
- initMessageEvent(type, canBubble, cancelable, messageData, origin, sourceFrame, document, lastEventId, webChannels);
-}
-
WebSerializedScriptValue WebDOMMessageEvent::data() const
{
return WebSerializedScriptValue(constUnwrap<MessageEvent>()->dataAsSerializedScriptValue());
« no previous file with comments | « no previous file | public/web/WebDOMMessageEvent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698