Index: third_party/WebKit/Source/core/dom/MessagePort.cpp |
diff --git a/third_party/WebKit/Source/core/dom/MessagePort.cpp b/third_party/WebKit/Source/core/dom/MessagePort.cpp |
index 52f8fa34ba9351d0e3e91df03345b3bb58ad4a73..683ffd63e7eed58af963e9b992c7b927678a17f9 100644 |
--- a/third_party/WebKit/Source/core/dom/MessagePort.cpp |
+++ b/third_party/WebKit/Source/core/dom/MessagePort.cpp |
@@ -35,7 +35,6 @@ |
#include "core/dom/ExecutionContextTask.h" |
#include "core/events/MessageEvent.h" |
#include "core/frame/LocalDOMWindow.h" |
-#include "core/inspector/ConsoleMessage.h" |
#include "core/workers/WorkerGlobalScope.h" |
#include "public/platform/WebString.h" |
#include "wtf/Functional.h" |
@@ -86,12 +85,6 @@ void MessagePort::postMessage(ExecutionContext* context, |
if (exceptionState.hadException()) |
return; |
- if (message->containsTransferableArrayBuffer()) |
- getExecutionContext()->addConsoleMessage(ConsoleMessage::create( |
- JSMessageSource, WarningMessageLevel, |
- "MessagePort cannot send an ArrayBuffer as a transferable object yet. " |
- "See http://crbug.com/334408")); |
- |
WebString messageString = message->toWireString(); |
std::unique_ptr<WebMessagePortChannelArray> webChannels = |
toWebMessagePortChannelArray(std::move(channels)); |