Index: content/child/webkitplatformsupport_impl.cc |
diff --git a/content/child/webkitplatformsupport_impl.cc b/content/child/webkitplatformsupport_impl.cc |
index 191b2f850993680c0cc1dd9515d781f96d6bdf79..9d60e2549ec5bb0b1a68ab8308d01e2a2379219a 100644 |
--- a/content/child/webkitplatformsupport_impl.cc |
+++ b/content/child/webkitplatformsupport_impl.cc |
@@ -6,6 +6,7 @@ |
#include "content/child/child_thread.h" |
#include "content/child/socket_stream_dispatcher.h" |
#include "content/child/webkitplatformsupport_impl.h" |
+#include "content/child/websocket_bridge.h" |
#include "content/public/common/content_client.h" |
namespace content { |
@@ -33,7 +34,7 @@ WebKitPlatformSupportImpl::CreateResourceLoader( |
} |
webkit_glue::WebSocketStreamHandleBridge* |
-WebKitPlatformSupportImpl::CreateWebSocketBridge( |
+WebKitPlatformSupportImpl::CreateWebSocketStreamBridge( |
WebKit::WebSocketStreamHandle* handle, |
webkit_glue::WebSocketStreamHandleDelegate* delegate) { |
SocketStreamDispatcher* dispatcher = |
@@ -41,4 +42,8 @@ WebKitPlatformSupportImpl::CreateWebSocketBridge( |
return dispatcher->CreateBridge(handle, delegate); |
} |
+WebKit::WebSocketHandle* WebKitPlatformSupportImpl::createWebSocketHandle() { |
+ return new WebSocketBridge; |
+} |
+ |
} // namespace content |