| Index: webkit/fileapi/file_system_operation.cc
|
| diff --git a/webkit/fileapi/file_system_operation.cc b/webkit/fileapi/file_system_operation.cc
|
| index 93bd3aec1b6dccae64dc700348fdee8750ae8489..238978d3309dad8315f07018059e8767ad0b0ed4 100644
|
| --- a/webkit/fileapi/file_system_operation.cc
|
| +++ b/webkit/fileapi/file_system_operation.cc
|
| @@ -139,9 +139,10 @@ void FileSystemOperation::DelayedCreateFileForQuota(
|
| file_system_operation_context_,
|
| proxy_,
|
| src_virtual_path_,
|
| - callback_factory_.NewCallback(
|
| + base::Bind(
|
| exclusive_ ? &FileSystemOperation::DidEnsureFileExistsExclusive
|
| - : &FileSystemOperation::DidEnsureFileExistsNonExclusive));
|
| + : &FileSystemOperation::DidEnsureFileExistsNonExclusive,
|
| + weak_factory_.GetWeakPtr()));
|
| }
|
|
|
| void FileSystemOperation::CreateDirectory(const GURL& path,
|
|
|