Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / content / worker / worker_webkitplatformsupport_impl.cc
index cb4d855..3a57f94 100644 (file)
@@ -142,9 +142,11 @@ bool WorkerWebKitPlatformSupportImpl::isLinkVisited(
   return false;
 }
 
-WebMessagePortChannel*
-WorkerWebKitPlatformSupportImpl::createMessagePortChannel() {
-  return new WebMessagePortChannelImpl(child_thread_loop_.get());
+void WorkerWebKitPlatformSupportImpl::createMessageChannel(
+    blink::WebMessagePortChannel** channel1,
+    blink::WebMessagePortChannel** channel2) {
+  WebMessagePortChannelImpl::CreatePair(
+      child_thread_loop_.get(), channel1, channel2);
 }
 
 void WorkerWebKitPlatformSupportImpl::setCookies(