Index: content/browser/indexed_db/leveldb/leveldb_unittest.cc |
diff --git a/content/browser/indexed_db/leveldb/leveldb_unittest.cc b/content/browser/indexed_db/leveldb/leveldb_unittest.cc |
index 38126e8b93298e0f68ef07e889da6d274eab2a1e..ac7ebe08b758ea2325a9b655d86b08ab1e082739 100644 |
--- a/content/browser/indexed_db/leveldb/leveldb_unittest.cc |
+++ b/content/browser/indexed_db/leveldb/leveldb_unittest.cc |
@@ -101,7 +101,7 @@ TEST(LevelDBDatabaseTest, Transaction) { |
EXPECT_TRUE(success); |
scoped_refptr<LevelDBTransaction> transaction = |
- LevelDBTransaction::Create(leveldb.get()); |
+ new LevelDBTransaction(leveldb.get()); |
const std::string new_value("new value"); |
put_value = new_value; |
@@ -170,7 +170,7 @@ TEST(LevelDBDatabaseTest, TransactionIterator) { |
EXPECT_TRUE(success); |
scoped_refptr<LevelDBTransaction> transaction = |
- LevelDBTransaction::Create(leveldb.get()); |
+ new LevelDBTransaction(leveldb.get()); |
success = leveldb->Remove(key2); |
EXPECT_TRUE(success); |