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

Unified Diff: content/browser/indexed_db/indexed_db_transaction.h

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_transaction.h
diff --git a/content/browser/indexed_db/indexed_db_transaction.h b/content/browser/indexed_db/indexed_db_transaction.h
index 6ff7f9f50d02b60afe7a4afc0c6f9654f1f51f7d..bd0e543035c2924526f3dcfa9c085022ca81460c 100644
--- a/content/browser/indexed_db/indexed_db_transaction.h
+++ b/content/browser/indexed_db/indexed_db_transaction.h
@@ -73,8 +73,8 @@ class CONTENT_EXPORT IndexedDBTransaction
}
int64 id() const { return id_; }
- IndexedDBDatabase* database() const { return database_; }
- IndexedDBDatabaseCallbacks* connection() const { return callbacks_; }
+ IndexedDBDatabase* database() const { return database_.get(); }
+ IndexedDBDatabaseCallbacks* connection() const { return callbacks_.get(); }
State state() const { return state_; }
bool IsTimeoutTimerRunning() const { return timeout_timer_.IsRunning(); }

Powered by Google App Engine
This is Rietveld 408576698