| Index: ppapi/cpp/file_io.h
|
| diff --git a/ppapi/cpp/file_io.h b/ppapi/cpp/file_io.h
|
| index 29a45f6301260ee94aa9f9a516746b56eae1ac46..0d8dcc910bbd8794be04016e81a40878ebbd3af3 100644
|
| --- a/ppapi/cpp/file_io.h
|
| +++ b/ppapi/cpp/file_io.h
|
| @@ -17,7 +17,7 @@ namespace pp {
|
|
|
| class CompletionCallback;
|
| class FileRef;
|
| -class Instance;
|
| +class InstanceHandle;
|
|
|
| /// The <code>FileIO</code> class represents a regular file.
|
| class FileIO : public Resource {
|
| @@ -29,8 +29,9 @@ class FileIO : public Resource {
|
| /// A constructor used to create a <code>FileIO</code> and associate it with
|
| /// the provided <code>Instance</code>.
|
| ///
|
| - /// @param[in] instance An <code>Instance</code>.
|
| - FileIO(Instance* instance);
|
| + /// @param[in] instance The instance with which this resource will be
|
| + /// associated.
|
| + explicit FileIO(const InstanceHandle& instance);
|
|
|
| /// The copy constructor for <code>FileIO</code>.
|
| ///
|
|
|