Index: Source/modules/websockets/WorkerThreadableWebSocketChannel.h |
diff --git a/Source/modules/websockets/WorkerThreadableWebSocketChannel.h b/Source/modules/websockets/WorkerThreadableWebSocketChannel.h |
index 8d949f1ad5440fe5baa5db56bd7d2f5cda024ddc..dd509bf7f9449f0a06b664f6b43c6d9653fe9821 100644 |
--- a/Source/modules/websockets/WorkerThreadableWebSocketChannel.h |
+++ b/Source/modules/websockets/WorkerThreadableWebSocketChannel.h |
@@ -71,7 +71,7 @@ public: |
virtual ~WorkerThreadableWebSocketChannel(); |
// WebSocketChannel functions. |
- virtual void connect(const KURL&, const String& protocol) OVERRIDE; |
+ virtual bool connect(const KURL&, const String& protocol) OVERRIDE; |
virtual String subprotocol() OVERRIDE; |
virtual String extensions() OVERRIDE; |
virtual WebSocketChannel::SendResult send(const String& message) OVERRIDE; |
@@ -147,7 +147,7 @@ private: |
// sourceURLAtConnection and lineNumberAtConnection parameters may |
// be shown when the connection fails. |
void initialize(const String& sourceURLAtConnection, unsigned lineNumberAtConnection); |
- void connect(const KURL&, const String& protocol); |
+ bool connect(const KURL&, const String& protocol); |
WebSocketChannel::SendResult send(const String& message); |
WebSocketChannel::SendResult send(const ArrayBuffer&, unsigned byteOffset, unsigned byteLength); |
WebSocketChannel::SendResult send(PassRefPtr<BlobDataHandle>); |