Chromium Code Reviews| Index: ppapi/cpp/file_io.h |
| diff --git a/ppapi/cpp/file_io.h b/ppapi/cpp/file_io.h |
| index 29a45f6301260ee94aa9f9a516746b56eae1ac46..e52b36b530d15b45dfafe8b975b5a0502b15ae8d 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. |
| + FileIO(const InstanceHandle& instance); |
|
dmichael (off chromium)
2012/02/22 21:38:44
explicit
|
| /// The copy constructor for <code>FileIO</code>. |
| /// |