Index: webkit/fileapi/local_file_util.cc |
diff --git a/webkit/fileapi/local_file_util.cc b/webkit/fileapi/local_file_util.cc |
index 51a13aa581f25b1f0603bd46c1d99ed0a626878b..2bfe172e3be0700518adf829b5a3d4185294edda 100644 |
--- a/webkit/fileapi/local_file_util.cc |
+++ b/webkit/fileapi/local_file_util.cc |
@@ -269,18 +269,16 @@ PlatformFileError LocalFileUtil::DeleteSingleDirectory( |
return NativeFileUtil::DeleteSingleDirectory(file_path); |
} |
-scoped_refptr<webkit_blob::ShareableFileReference> |
-LocalFileUtil::CreateSnapshotFile( |
+base::PlatformFileError LocalFileUtil::CreateSnapshotFile( |
FileSystemOperationContext* context, |
const FileSystemURL& url, |
- base::PlatformFileError* result, |
base::PlatformFileInfo* file_info, |
- FilePath* platform_path) { |
- DCHECK(result); |
- *result = GetFileInfo(context, url, file_info, platform_path); |
- // We don't want the third party to delete our local file, so just returning |
- // NULL. |
- return NULL; |
+ FilePath* platform_path, |
+ SnapshotFilePolicy* policy) { |
+ DCHECK(policy); |
+ // We're just returning the local file information. |
+ *policy = kSnapshotFileLocal; |
+ return GetFileInfo(context, url, file_info, platform_path); |
} |
} // namespace fileapi |