Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1217)

Unified Diff: content/browser/indexed_db/indexed_db_quota_client.cc

Issue 501183003: Remove implicit conversions from scoped_refptr to T* in content/browser/indexed_db/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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) {
« no previous file with comments | « content/browser/indexed_db/indexed_db_internals_ui.cc ('k') | content/browser/indexed_db/indexed_db_quota_client_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698