| Index: ppapi/cpp/websocket.h
|
| diff --git a/ppapi/cpp/websocket.h b/ppapi/cpp/websocket.h
|
| index 61e61df0b66f6c1a7255bcfb223090dc315fbeb7..dce233077b43a1a579ff6a95e40a9ae4f683d47b 100644
|
| --- a/ppapi/cpp/websocket.h
|
| +++ b/ppapi/cpp/websocket.h
|
| @@ -14,14 +14,17 @@
|
| namespace pp {
|
|
|
| class CompletionCallback;
|
| -class Instance;
|
| +class InstanceHandle;
|
| class Var;
|
|
|
| /// The <code>WebSocket</code> class
|
| class WebSocket : public Resource {
|
| public:
|
| /// Constructs a WebSocket object.
|
| - WebSocket(Instance* instance);
|
| + ///
|
| + /// @param[in] instance The instance with which this resource will be
|
| + /// associated.
|
| + explicit WebSocket(const InstanceHandle& instance);
|
|
|
| /// Destructs a WebSocket object.
|
| virtual ~WebSocket();
|
|
|