Chromium Code Reviews| Index: components/filesystem/file_impl.h |
| diff --git a/components/filesystem/file_impl.h b/components/filesystem/file_impl.h |
| index 9314776cb8ada15f63e9b198f376e3e06cd7dc5d..e35ce168a430b846f10426f2746035a5bf37a199 100644 |
| --- a/components/filesystem/file_impl.h |
| +++ b/components/filesystem/file_impl.h |
| @@ -27,11 +27,11 @@ class FileImpl : public File { |
| FileImpl(mojo::InterfaceRequest<File> request, |
| const base::FilePath& path, |
| uint32_t flags, |
| - LockTable* lock_table); |
| + const scoped_refptr<LockTable>& lock_table); |
| FileImpl(mojo::InterfaceRequest<File> request, |
| const base::FilePath& path, |
| base::File file, |
| - LockTable* lock_table); |
| + const scoped_refptr<LockTable>& lock_table); |
|
michaeln
2016/03/17 22:35:41
ditto smartptr passing mavens by scoped_refptr<> v
|
| ~FileImpl() override; |
| // Returns whether the underlying file handle is valid. |
| @@ -74,7 +74,7 @@ class FileImpl : public File { |
| mojo::StrongBinding<File> binding_; |
| base::File file_; |
| base::FilePath path_; |
| - LockTable* lock_table_; |
| + scoped_refptr<LockTable> lock_table_; |
| DISALLOW_COPY_AND_ASSIGN(FileImpl); |
| }; |