Index: components/drive/chromeos/fake_file_system.cc |
diff --git a/components/drive/chromeos/fake_file_system.cc b/components/drive/chromeos/fake_file_system.cc |
index f3b7cd68231dd67def43f2584013f0a366f7c108..a7ef97f736b692ae5edb6f157dc5fa8ad39ce267 100644 |
--- a/components/drive/chromeos/fake_file_system.cc |
+++ b/components/drive/chromeos/fake_file_system.cc |
@@ -317,7 +317,7 @@ void FakeFileSystem::GetFileContentAfterGetFileResource( |
entry->set_parent_local_id(parent_resource_id); |
base::FilePath cache_path = |
- cache_dir_.path().AppendASCII(entry->resource_id()); |
+ cache_dir_.GetPath().AppendASCII(entry->resource_id()); |
if (entry->file_specific_info().is_hosted_document()) { |
// For hosted documents return a dummy cache without server request. |
int result = base::WriteFile(cache_path, "", 0); |