Index: Source/modules/websockets/WebSocketChannel.h |
diff --git a/Source/modules/websockets/WebSocketChannel.h b/Source/modules/websockets/WebSocketChannel.h |
index fe63eaa7c197da14c46cd7677662f12428e75d5c..4059f24d8c47a3c48646e8959e7c705d9cb739ed 100644 |
--- a/Source/modules/websockets/WebSocketChannel.h |
+++ b/Source/modules/websockets/WebSocketChannel.h |
@@ -75,7 +75,7 @@ public: |
CloseEventCodeMaximumUserDefined = 4999 |
}; |
- virtual void connect(const KURL&, const String& protocol) = 0; |
+ virtual bool connect(const KURL&, const String& protocol) = 0; |
virtual String subprotocol() = 0; // Will be available after didConnect() callback is invoked. |
virtual String extensions() = 0; // Will be available after didConnect() callback is invoked. |
virtual SendResult send(const String& message) = 0; |