Index: webkit/browser/fileapi/native_file_util.cc |
diff --git a/webkit/browser/fileapi/native_file_util.cc b/webkit/browser/fileapi/native_file_util.cc |
index 9754d6c64a8d6e83c1a2d1d05bdfe036ec14a011..e13d8e7eee4753b4d39f363dc157d4e61fbd3e87 100644 |
--- a/webkit/browser/fileapi/native_file_util.cc |
+++ b/webkit/browser/fileapi/native_file_util.cc |
@@ -202,7 +202,9 @@ PlatformFileError NativeFileUtil::GetFileInfo( |
base::PlatformFileInfo* file_info) { |
if (!base::PathExists(path)) |
return base::PLATFORM_FILE_ERROR_NOT_FOUND; |
- if (!base::GetFileInfo(path, file_info)) |
+ |
+ // TODO(rvargas): convert this code to use base::File. |
+ if (!base::GetFileInfo(path, reinterpret_cast<base::File::Info*>(file_info))) |
return base::PLATFORM_FILE_ERROR_FAILED; |
return base::PLATFORM_FILE_OK; |
} |