Index: chrome/browser/chromeos/drive/file_system.cc |
diff --git a/chrome/browser/chromeos/drive/file_system.cc b/chrome/browser/chromeos/drive/file_system.cc |
index d8c0b7157ee43549eb1d4b3cb5774fad839234fd..2d5bc97e77ccef1bf713f2f00c49b7eb836ea3a6 100644 |
--- a/chrome/browser/chromeos/drive/file_system.cc |
+++ b/chrome/browser/chromeos/drive/file_system.cc |
@@ -74,9 +74,12 @@ FileError GetLocallyStoredResourceEntry( |
if (error != FILE_ERROR_OK) |
return error; |
+ // TODO(rvargas): Convert this code to use base::File::Info. |
base::PlatformFileInfo file_info; |
- if (!base::GetFileInfo(local_cache_path, &file_info)) |
+ if (!base::GetFileInfo(local_cache_path, |
+ reinterpret_cast<base::File::Info*>(&file_info))) { |
return FILE_ERROR_NOT_FOUND; |
+ } |
SetPlatformFileInfoToResourceEntry(file_info, entry); |
return FILE_ERROR_OK; |