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

Unified Diff: content/browser/indexed_db/indexed_db_connection.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_connection.h
diff --git a/content/browser/indexed_db/indexed_db_connection.h b/content/browser/indexed_db/indexed_db_connection.h
index 63bef2b10e269b4a0183489911b904bebf4556dc..c983b65465ea5b5be401d18da49553e6a992aaaa 100644
--- a/content/browser/indexed_db/indexed_db_connection.h
+++ b/content/browser/indexed_db/indexed_db_connection.h
@@ -26,8 +26,8 @@ class CONTENT_EXPORT IndexedDBConnection {
void VersionChangeIgnored();
- IndexedDBDatabase* database() { return database_; }
- IndexedDBDatabaseCallbacks* callbacks() { return callbacks_; }
+ IndexedDBDatabase* database() { return database_.get(); }
+ IndexedDBDatabaseCallbacks* callbacks() { return callbacks_.get(); }
private:
// NULL in some unit tests, and after the connection is closed.
« no previous file with comments | « content/browser/indexed_db/indexed_db_backing_store_unittest.cc ('k') | content/browser/indexed_db/indexed_db_connection.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698