summaryrefslogtreecommitdiffstats
path: root/webkit/fileapi/file_system_file_util.cc
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/fileapi/file_system_file_util.cc')
-rw-r--r--webkit/fileapi/file_system_file_util.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/webkit/fileapi/file_system_file_util.cc b/webkit/fileapi/file_system_file_util.cc
index 10af22f..1dceed2 100644
--- a/webkit/fileapi/file_system_file_util.cc
+++ b/webkit/fileapi/file_system_file_util.cc
@@ -61,12 +61,13 @@ PlatformFileError FileSystemFileUtil::EnsureFileExists(
PlatformFileError FileSystemFileUtil::GetFileInfo(
FileSystemOperationContext* unused,
const FilePath& file_path,
- base::PlatformFileInfo* file_info) {
+ base::PlatformFileInfo* file_info,
+ FilePath* platform_file_path) {
if (!file_util::PathExists(file_path))
return base::PLATFORM_FILE_ERROR_NOT_FOUND;
if (!file_util::GetFileInfo(file_path, file_info))
return base::PLATFORM_FILE_ERROR_FAILED;
- file_info->path = file_path;
+ *platform_file_path = file_path;
return base::PLATFORM_FILE_OK;
}