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

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

Issue 18147009: IndexedDB: Remove unnecessary scoped_refptr<T>::get() calls (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: clang-format Created 7 years, 6 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 6c78022fe0dff0c40e4660a3a3715df2935ff4f7..c1a20d561694f15be9fec3aee777ae26d962a40c 100644
--- a/content/browser/indexed_db/indexed_db_transaction.h
+++ b/content/browser/indexed_db/indexed_db_transaction.h
@@ -70,22 +70,19 @@ class IndexedDBTransaction : public base::RefCounted<IndexedDBTransaction> {
}
int64 id() const { return id_; }
- IndexedDBDatabase* database() const { return database_.get(); }
- IndexedDBDatabaseCallbacks* connection() const {
- return callbacks_.get();
- }
+ IndexedDBDatabase* database() const { return database_; }
+ IndexedDBDatabaseCallbacks* connection() const { return callbacks_; }
protected:
virtual ~IndexedDBTransaction();
friend class base::RefCounted<IndexedDBTransaction>;
private:
- IndexedDBTransaction(
- int64 id,
- scoped_refptr<IndexedDBDatabaseCallbacks> callbacks,
- const std::set<int64>& object_store_ids,
- indexed_db::TransactionMode,
- IndexedDBDatabase* db);
+ IndexedDBTransaction(int64 id,
+ scoped_refptr<IndexedDBDatabaseCallbacks> callbacks,
+ const std::set<int64>& object_store_ids,
+ indexed_db::TransactionMode,
+ IndexedDBDatabase* db);
enum State {
UNUSED, // Created, but no tasks yet.
« no previous file with comments | « content/browser/indexed_db/indexed_db_quota_client_unittest.cc ('k') | content/browser/indexed_db/indexed_db_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698