Index: storage/browser/fileapi/sandbox_quota_observer.cc |
diff --git a/storage/browser/fileapi/sandbox_quota_observer.cc b/storage/browser/fileapi/sandbox_quota_observer.cc |
index 0b96b87bd6282877568a2fef6fe4406afa8fe5de..e9b5e3f23719a055d3479cfee769c1180f49918c 100644 |
--- a/storage/browser/fileapi/sandbox_quota_observer.cc |
+++ b/storage/browser/fileapi/sandbox_quota_observer.cc |
@@ -30,7 +30,7 @@ SandboxQuotaObserver::SandboxQuotaObserver( |
SandboxQuotaObserver::~SandboxQuotaObserver() {} |
void SandboxQuotaObserver::OnStartUpdate(const FileSystemURL& url) { |
- DCHECK(update_notify_runner_->RunsTasksOnCurrentThread()); |
+ DCHECK(update_notify_runner_->RunsTasksInCurrentSequence()); |
base::FilePath usage_file_path = GetUsageCachePath(url); |
if (usage_file_path.empty()) |
return; |
@@ -38,7 +38,7 @@ void SandboxQuotaObserver::OnStartUpdate(const FileSystemURL& url) { |
} |
void SandboxQuotaObserver::OnUpdate(const FileSystemURL& url, int64_t delta) { |
- DCHECK(update_notify_runner_->RunsTasksOnCurrentThread()); |
+ DCHECK(update_notify_runner_->RunsTasksInCurrentSequence()); |
if (quota_manager_proxy_.get()) { |
quota_manager_proxy_->NotifyStorageModified( |
@@ -65,7 +65,7 @@ void SandboxQuotaObserver::OnUpdate(const FileSystemURL& url, int64_t delta) { |
} |
void SandboxQuotaObserver::OnEndUpdate(const FileSystemURL& url) { |
- DCHECK(update_notify_runner_->RunsTasksOnCurrentThread()); |
+ DCHECK(update_notify_runner_->RunsTasksInCurrentSequence()); |
base::FilePath usage_file_path = GetUsageCachePath(url); |
if (usage_file_path.empty()) |