Index: services/user/user_service.cc |
diff --git a/services/user/user_service.cc b/services/user/user_service.cc |
index 36292d31faec3b637011460368045615d734b140..1c572a5a7a162c4071bf3ef0691c306d65e0e5a9 100644 |
--- a/services/user/user_service.cc |
+++ b/services/user/user_service.cc |
@@ -28,7 +28,7 @@ UserService::~UserService() {} |
void UserService::GetDirectory(filesystem::DirectoryRequest request, |
const GetDirectoryCallback& callback) { |
new filesystem::DirectoryImpl(std::move(request), path_, |
- std::unique_ptr<base::ScopedTempDir>(), |
+ scoped_refptr<filesystem::SharedTempDir>(), |
lock_table_); |
callback.Run(); |
} |
@@ -50,7 +50,7 @@ void UserService::GetSubDirectory(const mojo::String& sub_directory_path, |
} |
new filesystem::DirectoryImpl(std::move(request), subdir, |
- std::unique_ptr<base::ScopedTempDir>(), |
+ scoped_refptr<filesystem::SharedTempDir>(), |
lock_table_); |
callback.Run(filesystem::FileError::OK); |
} |