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. |