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

Unified Diff: content/browser/indexed_db/leveldb/leveldb_unittest.cc

Issue 19117005: IndexedDB: Coding conventions and cleanup (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 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/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);

Powered by Google App Engine
This is Rietveld 408576698