Index: content/worker/worker_webkitplatformsupport_impl.cc |
diff --git a/content/worker/worker_webkitplatformsupport_impl.cc b/content/worker/worker_webkitplatformsupport_impl.cc |
index 9832a42c9b1c8bbf15757a3d3cf7fc878b0f4d74..6a6b6be925e9e440d7984fa4f7019ddbbecc8eb4 100644 |
--- a/content/worker/worker_webkitplatformsupport_impl.cc |
+++ b/content/worker/worker_webkitplatformsupport_impl.cc |
@@ -302,10 +302,11 @@ void WorkerWebKitPlatformSupportImpl::queryStorageUsageAndQuota( |
const WebKit::WebURL& storage_partition, |
WebKit::WebStorageQuotaType type, |
WebKit::WebStorageQuotaCallbacks* callbacks) { |
- ChildThread::current()->quota_dispatcher()->QueryStorageUsageAndQuota( |
- storage_partition, |
- static_cast<quota::StorageType>(type), |
- QuotaDispatcher::CreateWebStorageQuotaCallbacksWrapper(callbacks)); |
+ QuotaDispatcher::ThreadSpecificInstance( |
+ thread_safe_sender_.get())->QueryStorageUsageAndQuota( |
+ storage_partition, |
+ static_cast<quota::StorageType>(type), |
+ QuotaDispatcher::CreateWebStorageQuotaCallbacksWrapper(callbacks)); |
} |
} // namespace content |