| Index: webkit/browser/fileapi/sandbox_quota_observer.cc
|
| diff --git a/webkit/browser/fileapi/sandbox_quota_observer.cc b/webkit/browser/fileapi/sandbox_quota_observer.cc
|
| index 05fa511fcc970ab6104dbef9380a3f95cd2cd7e7..9098db5402e9272a0060a7c4e4b4217508f37be1 100644
|
| --- a/webkit/browser/fileapi/sandbox_quota_observer.cc
|
| +++ b/webkit/browser/fileapi/sandbox_quota_observer.cc
|
| @@ -42,7 +42,7 @@ void SandboxQuotaObserver::OnUpdate(const FileSystemURL& url,
|
| DCHECK(SandboxMountPointProvider::IsSandboxType(url.type()));
|
| DCHECK(update_notify_runner_->RunsTasksOnCurrentThread());
|
|
|
| - if (quota_manager_proxy_) {
|
| + if (quota_manager_proxy_.get()) {
|
| quota_manager_proxy_->NotifyStorageModified(
|
| quota::QuotaClient::kFileSystem,
|
| url.origin(),
|
| @@ -83,7 +83,7 @@ void SandboxQuotaObserver::OnEndUpdate(const FileSystemURL& url) {
|
|
|
| void SandboxQuotaObserver::OnAccess(const FileSystemURL& url) {
|
| DCHECK(SandboxMountPointProvider::IsSandboxType(url.type()));
|
| - if (quota_manager_proxy_) {
|
| + if (quota_manager_proxy_.get()) {
|
| quota_manager_proxy_->NotifyStorageAccessed(
|
| quota::QuotaClient::kFileSystem,
|
| url.origin(),
|
| @@ -95,10 +95,11 @@ void SandboxQuotaObserver::SetUsageCacheEnabled(
|
| const GURL& origin,
|
| FileSystemType type,
|
| bool enabled) {
|
| - if (quota_manager_proxy_) {
|
| + if (quota_manager_proxy_.get()) {
|
| quota_manager_proxy_->SetUsageCacheEnabled(
|
| quota::QuotaClient::kFileSystem,
|
| - origin, FileSystemTypeToQuotaStorageType(type),
|
| + origin,
|
| + FileSystemTypeToQuotaStorageType(type),
|
| enabled);
|
| }
|
| }
|
|
|