| Index: webkit/browser/fileapi/quota/quota_backend_impl.cc
|
| diff --git a/webkit/browser/fileapi/quota/quota_backend_impl.cc b/webkit/browser/fileapi/quota/quota_backend_impl.cc
|
| index fe2e11db1a2f582a22035df1dc87aaffde6bb60b..deb100eecf38328e8609659cd179f0c1263a119b 100644
|
| --- a/webkit/browser/fileapi/quota/quota_backend_impl.cc
|
| +++ b/webkit/browser/fileapi/quota/quota_backend_impl.cc
|
| @@ -43,12 +43,15 @@ void QuotaBackendImpl::ReserveQuota(const GURL& origin,
|
| callback.Run(base::File::FILE_OK, 0);
|
| return;
|
| }
|
| - DCHECK(quota_manager_proxy_);
|
| + DCHECK(quota_manager_proxy_.get());
|
| quota_manager_proxy_->GetUsageAndQuota(
|
| - file_task_runner_, origin, FileSystemTypeToQuotaStorageType(type),
|
| + file_task_runner_.get(),
|
| + origin,
|
| + FileSystemTypeToQuotaStorageType(type),
|
| base::Bind(&QuotaBackendImpl::DidGetUsageAndQuotaForReserveQuota,
|
| weak_ptr_factory_.GetWeakPtr(),
|
| - QuotaReservationInfo(origin, type, delta), callback));
|
| + QuotaReservationInfo(origin, type, delta),
|
| + callback));
|
| }
|
|
|
| void QuotaBackendImpl::ReleaseReservedQuota(const GURL& origin,
|
| @@ -136,7 +139,7 @@ void QuotaBackendImpl::DidGetUsageAndQuotaForReserveQuota(
|
| void QuotaBackendImpl::ReserveQuotaInternal(const QuotaReservationInfo& info) {
|
| DCHECK(file_task_runner_->RunsTasksOnCurrentThread());
|
| DCHECK(info.origin.is_valid());
|
| - DCHECK(quota_manager_proxy_);
|
| + DCHECK(quota_manager_proxy_.get());
|
| quota_manager_proxy_->NotifyStorageModified(
|
| storage::QuotaClient::kFileSystem,
|
| info.origin,
|
|
|