Index: chromeos/binder/test_service.cc |
diff --git a/chromeos/binder/test_service.cc b/chromeos/binder/test_service.cc |
index 1f2cb282b9809b162736ca850ed84d7b498de8fc..10c4eb9146c4445d0d84ab3ce7935268a6f29fdc 100644 |
--- a/chromeos/binder/test_service.cc |
+++ b/chromeos/binder/test_service.cc |
@@ -49,7 +49,7 @@ class TestService::TestObject : public LocalObject::TransactionHandler { |
base::ScopedTempDir temp_dir; |
base::FilePath path; |
if (!temp_dir.CreateUniqueTempDir() || |
- !base::CreateTemporaryFileInDir(temp_dir.path(), &path) || |
+ !base::CreateTemporaryFileInDir(temp_dir.GetPath(), &path) || |
!base::WriteFile(path, data.data(), data.size())) { |
LOG(ERROR) << "Failed to create a file"; |
return std::unique_ptr<TransactionData>(); |