| Index: webkit/fileapi/local_file_system_operation.cc
|
| diff --git a/webkit/fileapi/local_file_system_operation.cc b/webkit/fileapi/local_file_system_operation.cc
|
| index 1bd0e521ad7e0d225328cfff44e74122a8cbaa1d..ce1378e87b770759a04ed45945460ada489a7ac7 100644
|
| --- a/webkit/fileapi/local_file_system_operation.cc
|
| +++ b/webkit/fileapi/local_file_system_operation.cc
|
| @@ -28,6 +28,7 @@
|
| #include "webkit/quota/quota_manager.h"
|
| #include "webkit/quota/quota_types.h"
|
|
|
| +using webkit_blob::ScopedFile;
|
| using webkit_blob::ShareableFileReference;
|
|
|
| namespace fileapi {
|
| @@ -827,14 +828,7 @@ void LocalFileSystemOperation::DidCreateSnapshotFile(
|
| base::PlatformFileError result,
|
| const base::PlatformFileInfo& file_info,
|
| const base::FilePath& platform_path,
|
| - SnapshotFilePolicy snapshot_policy) {
|
| - scoped_refptr<ShareableFileReference> file_ref;
|
| - if (result == base::PLATFORM_FILE_OK &&
|
| - snapshot_policy == kSnapshotFileTemporary) {
|
| - file_ref = ShareableFileReference::GetOrCreate(
|
| - platform_path, ShareableFileReference::DELETE_ON_FINAL_RELEASE,
|
| - file_system_context()->task_runners()->file_task_runner());
|
| - }
|
| + const scoped_refptr<ShareableFileReference>& file_ref) {
|
| callback.Run(result, file_info, platform_path, file_ref);
|
| }
|
|
|
|
|