Index: content/browser/indexed_db/leveldb/leveldb_transaction.h |
diff --git a/content/browser/indexed_db/leveldb/leveldb_transaction.h b/content/browser/indexed_db/leveldb/leveldb_transaction.h |
index aa160e9424cddfca64a74e07a63d474140a5fb11..83b4763edc1dcb1abf0db458d3fa07983c430606 100644 |
--- a/content/browser/indexed_db/leveldb/leveldb_transaction.h |
+++ b/content/browser/indexed_db/leveldb/leveldb_transaction.h |
@@ -24,7 +24,7 @@ class LevelDBWriteBatch; |
class CONTENT_EXPORT LevelDBTransaction |
: public base::RefCounted<LevelDBTransaction> { |
public: |
- static scoped_refptr<LevelDBTransaction> Create(LevelDBDatabase* db); |
+ explicit LevelDBTransaction(LevelDBDatabase* db); |
void Put(const base::StringPiece& key, std::string* value); |
void Remove(const base::StringPiece& key); |
@@ -35,7 +35,6 @@ class CONTENT_EXPORT LevelDBTransaction |
scoped_ptr<LevelDBIterator> CreateIterator(); |
private: |
- explicit LevelDBTransaction(LevelDBDatabase* db); |
virtual ~LevelDBTransaction(); |
friend class base::RefCounted<LevelDBTransaction>; |