Index: content/browser/indexed_db/indexed_db_quota_client.cc |
diff --git a/content/browser/indexed_db/indexed_db_quota_client.cc b/content/browser/indexed_db/indexed_db_quota_client.cc |
index febe2e0e6535fbbfe5ac78f3922e2e3393562f0c..d13bd77fbdcf89aafe8246d24b708252411c4167 100644 |
--- a/content/browser/indexed_db/indexed_db_quota_client.cc |
+++ b/content/browser/indexed_db/indexed_db_quota_client.cc |
@@ -75,7 +75,7 @@ void IndexedDBQuotaClient::GetOriginUsage(const GURL& origin_url, |
storage::StorageType type, |
const GetUsageCallback& callback) { |
DCHECK(!callback.is_null()); |
- DCHECK(indexed_db_context_); |
+ DCHECK(indexed_db_context_.get()); |
// IndexedDB is in the temp namespace for now. |
if (type != storage::kStorageTypeTemporary) { |
@@ -101,7 +101,7 @@ void IndexedDBQuotaClient::GetOriginsForType( |
storage::StorageType type, |
const GetOriginsCallback& callback) { |
DCHECK(!callback.is_null()); |
- DCHECK(indexed_db_context_); |
+ DCHECK(indexed_db_context_.get()); |
// All databases are in the temp namespace for now. |
if (type != storage::kStorageTypeTemporary) { |
@@ -129,7 +129,7 @@ void IndexedDBQuotaClient::GetOriginsForHost( |
const std::string& host, |
const GetOriginsCallback& callback) { |
DCHECK(!callback.is_null()); |
- DCHECK(indexed_db_context_); |
+ DCHECK(indexed_db_context_.get()); |
// All databases are in the temp namespace for now. |
if (type != storage::kStorageTypeTemporary) { |