Index: components/filesystem/file_impl.h |
diff --git a/components/filesystem/file_impl.h b/components/filesystem/file_impl.h |
index 9314776cb8ada15f63e9b198f376e3e06cd7dc5d..bdae38e0d7eef3f02e5eddbaa40337468ca70c11 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); |
+ scoped_refptr<LockTable> lock_table); |
FileImpl(mojo::InterfaceRequest<File> request, |
const base::FilePath& path, |
base::File file, |
- LockTable* lock_table); |
+ scoped_refptr<LockTable> lock_table); |
~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); |
}; |