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

Unified Diff: content/browser/indexed_db/indexed_db_backing_store.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
« no previous file with comments | « no previous file | content/browser/indexed_db/indexed_db_backing_store_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/indexed_db/indexed_db_backing_store.h
diff --git a/content/browser/indexed_db/indexed_db_backing_store.h b/content/browser/indexed_db/indexed_db_backing_store.h
index ef10006441cf9085c101ef856eaf0aa4c0ff8992..65f210c03d0e09ec0fcfeb547c7021f45d3b4041 100644
--- a/content/browser/indexed_db/indexed_db_backing_store.h
+++ b/content/browser/indexed_db/indexed_db_backing_store.h
@@ -109,9 +109,9 @@ class CONTENT_EXPORT IndexedDBBackingStore
}
private:
- std::vector<char>
- primary_key_; // TODO(jsbell): Make it more clear that this is
- // the *encoded* version of the key.
+ // TODO(jsbell): Make it more clear that this is the *encoded* version of
+ // the key.
+ std::vector<char> primary_key_;
int64 version_;
DISALLOW_COPY_AND_ASSIGN(RecordIdentifier);
};
@@ -280,7 +280,7 @@ class CONTENT_EXPORT IndexedDBBackingStore
static LevelDBTransaction* LevelDBTransactionFrom(
Transaction* transaction) {
- return transaction->transaction_.get();
+ return transaction->transaction_;
}
private:
« no previous file with comments | « no previous file | content/browser/indexed_db/indexed_db_backing_store_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698