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

Unified Diff: Source/core/workers/Worker.cpp

Issue 13844022: Remove code to support Objective-C bindings (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 8 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/workers/Worker.cpp
diff --git a/Source/core/workers/Worker.cpp b/Source/core/workers/Worker.cpp
index aefa08669f10f9aacf63baf0b4391f3d4b828c47..9fbaa0d1b8233daf370f7903c033ab875f1741e2 100644
--- a/Source/core/workers/Worker.cpp
+++ b/Source/core/workers/Worker.cpp
@@ -89,14 +89,6 @@ const AtomicString& Worker::interfaceName() const
return eventNames().interfaceForWorker;
}
-void Worker::postMessage(PassRefPtr<SerializedScriptValue> message, MessagePort* port, ExceptionCode& ec)
-{
- MessagePortArray ports;
- if (port)
- ports.append(port);
- postMessage(message, &ports, ec);
-}
-
void Worker::postMessage(PassRefPtr<SerializedScriptValue> message, const MessagePortArray* ports, ExceptionCode& ec)
{
// Disentangle the port in preparation for sending it to the remote context.
« Source/WebKit/chromium/src/WebDOMMessageEvent.cpp ('K') | « Source/core/workers/Worker.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698