Index: extensions/browser/api/system_storage/storage_info_provider.cc |
diff --git a/extensions/browser/api/system_storage/storage_info_provider.cc b/extensions/browser/api/system_storage/storage_info_provider.cc |
index 0d0fd144c68ed499d5ea25c15577edc487f0f84a..596e2c1f3148c285077e6b4a9c3a167e0ff901f3 100644 |
--- a/extensions/browser/api/system_storage/storage_info_provider.cc |
+++ b/extensions/browser/api/system_storage/storage_info_provider.cc |
@@ -68,7 +68,7 @@ void StorageInfoProvider::InitializeProvider( |
} |
bool StorageInfoProvider::QueryInfo() { |
- DCHECK(BrowserThread::GetBlockingPool()->RunsTasksOnCurrentThread()); |
+ base::ThreadRestrictions::AssertIOAllowed(); |
// No info to query since we get all available storage devices' info in |
// |PrepareQueryOnUIThread()|. |
return true; |