Index: third_party/WebKit/Source/modules/serviceworkers/ServiceWorker.cpp |
diff --git a/third_party/WebKit/Source/modules/serviceworkers/ServiceWorker.cpp b/third_party/WebKit/Source/modules/serviceworkers/ServiceWorker.cpp |
index f867bbc0ac141b140a81f16f9c64010b8cd31d70..b87e365b62e0b4752dc432ddba552489c79131a9 100644 |
--- a/third_party/WebKit/Source/modules/serviceworkers/ServiceWorker.cpp |
+++ b/third_party/WebKit/Source/modules/serviceworkers/ServiceWorker.cpp |
@@ -34,7 +34,6 @@ |
#include "core/dom/ExceptionCode.h" |
#include "core/dom/MessagePort.h" |
#include "core/events/Event.h" |
-#include "core/inspector/ConsoleMessage.h" |
#include "modules/EventTargetModules.h" |
#include "modules/serviceworkers/ServiceWorkerContainerClient.h" |
#include "public/platform/WebMessagePortChannel.h" |
@@ -73,12 +72,6 @@ void ServiceWorker::postMessage(ExecutionContext* context, |
return; |
} |
- if (message->containsTransferableArrayBuffer()) |
- context->addConsoleMessage(ConsoleMessage::create( |
- JSMessageSource, WarningMessageLevel, |
- "ServiceWorker cannot send an ArrayBuffer as a transferable object " |
- "yet. See http://crbug.com/511119")); |
- |
WebString messageString = message->toWireString(); |
std::unique_ptr<WebMessagePortChannelArray> webChannels = |
MessagePort::toWebMessagePortChannelArray(std::move(channels)); |