Index: ppapi/cpp/dev/websocket_dev.h |
diff --git a/ppapi/cpp/dev/websocket_dev.h b/ppapi/cpp/dev/websocket_dev.h |
index f7bca16f79e2d6264a93625223021ac0e054a729..8b25b8ee2ef5e31d67fd5f6821959fe37c534283 100644 |
--- a/ppapi/cpp/dev/websocket_dev.h |
+++ b/ppapi/cpp/dev/websocket_dev.h |
@@ -105,8 +105,8 @@ class WebSocket_Dev : public Resource { |
/// GetReadyState() returns the ready state of the specified WebSocket |
/// connection. |
/// |
- /// @return Returns <code>PP_WEBSOCKETREADYSTATE_CONNECTING</code> if called |
- /// before the connection is established. |
+ /// @return Returns <code>PP_WEBSOCKETREADYSTATE_INVALID_DEV</code> if called |
+ /// before connect() is called. |
PP_WebSocketReadyState_Dev GetReadyState(); |
/// GetURL() returns the URL associated with specified WebSocket connection. |