Index: webkit/fileapi/file_system_operation.h |
diff --git a/webkit/fileapi/file_system_operation.h b/webkit/fileapi/file_system_operation.h |
index b38633a99fe4fe7b8bb8549f6c4510692253fa05..0435a0ae09a8730cb0a79a75528ff59060d65029 100644 |
--- a/webkit/fileapi/file_system_operation.h |
+++ b/webkit/fileapi/file_system_operation.h |
@@ -111,7 +111,7 @@ class FileSystemOperation { |
void GetUsageAndQuotaThenCallback( |
const GURL& origin_url, |
- quota::QuotaManager::GetUsageAndQuotaCallback* callback); |
+ const quota::QuotaManager::GetUsageAndQuotaCallback& callback); |
void DelayedCreateFileForQuota(quota::QuotaStatusCode status, |
int64 usage, int64 quota); |
@@ -240,6 +240,7 @@ class FileSystemOperation { |
FileSystemOperationContext file_system_operation_context_; |
+ base::WeakPtrFactory<FileSystemOperation> weak_factory_; |
base::ScopedCallbackFactory<FileSystemOperation> callback_factory_; |
scoped_ptr<ScopedQuotaUtilHelper> quota_util_helper_; |