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..9ca6b531023d341c8f15d9ad501f8e291d2fa0aa 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_CLOSED_DEV</code> if called |
+ /// before connect() is called. |
PP_WebSocketReadyState_Dev GetReadyState(); |
/// GetURL() returns the URL associated with specified WebSocket connection. |