| Index: content/browser/indexed_db/indexed_db_backing_store_unittest.cc
|
| diff --git a/content/browser/indexed_db/indexed_db_backing_store_unittest.cc b/content/browser/indexed_db/indexed_db_backing_store_unittest.cc
|
| index 4e0d690819d7fb215f4aef342bd7294302cbe3f2..e126a786529b73ddb97babf1b10935289b46463b 100644
|
| --- a/content/browser/indexed_db/indexed_db_backing_store_unittest.cc
|
| +++ b/content/browser/indexed_db/indexed_db_backing_store_unittest.cc
|
| @@ -383,7 +383,7 @@ TEST_F(IndexedDBBackingStoreTest, PutGetConsistency) {
|
| {
|
| IndexedDBBackingStore::Transaction transaction1(backing_store_.get());
|
| transaction1.Begin();
|
| - ScopedVector<storage::BlobDataHandle> handles;
|
| + std::vector<std::unique_ptr<storage::BlobDataHandle>> handles;
|
| IndexedDBBackingStore::RecordIdentifier record;
|
| leveldb::Status s = backing_store_->PutRecord(
|
| &transaction1, 1, 1, m_key1, &m_value1, &handles, &record);
|
| @@ -415,7 +415,7 @@ TEST_F(IndexedDBBackingStoreTest, PutGetConsistencyWithBlobs) {
|
| {
|
| IndexedDBBackingStore::Transaction transaction1(backing_store_.get());
|
| transaction1.Begin();
|
| - ScopedVector<storage::BlobDataHandle> handles;
|
| + std::vector<std::unique_ptr<storage::BlobDataHandle>> handles;
|
| IndexedDBBackingStore::RecordIdentifier record;
|
| EXPECT_TRUE(backing_store_->PutRecord(&transaction1,
|
| 1,
|
| @@ -502,7 +502,7 @@ TEST_F(IndexedDBBackingStoreTest, DeleteRange) {
|
| IndexedDBValue value3 = IndexedDBValue("value3", blob_info3);
|
| IndexedDBBackingStore::Transaction transaction1(backing_store_.get());
|
| transaction1.Begin();
|
| - ScopedVector<storage::BlobDataHandle> handles;
|
| + std::vector<std::unique_ptr<storage::BlobDataHandle>> handles;
|
| IndexedDBBackingStore::RecordIdentifier record;
|
| EXPECT_TRUE(backing_store_->PutRecord(&transaction1,
|
| 1,
|
| @@ -596,7 +596,7 @@ TEST_F(IndexedDBBackingStoreTest, DeleteRangeEmptyRange) {
|
| IndexedDBValue value3 = IndexedDBValue("value3", blob_info3);
|
| IndexedDBBackingStore::Transaction transaction1(backing_store_.get());
|
| transaction1.Begin();
|
| - ScopedVector<storage::BlobDataHandle> handles;
|
| + std::vector<std::unique_ptr<storage::BlobDataHandle>> handles;
|
| IndexedDBBackingStore::RecordIdentifier record;
|
| EXPECT_TRUE(backing_store_->PutRecord(&transaction1,
|
| 1,
|
| @@ -658,7 +658,7 @@ TEST_F(IndexedDBBackingStoreTest, DeleteRangeEmptyRange) {
|
| TEST_F(IndexedDBBackingStoreTest, BlobJournalInterleavedTransactions) {
|
| IndexedDBBackingStore::Transaction transaction1(backing_store_.get());
|
| transaction1.Begin();
|
| - ScopedVector<storage::BlobDataHandle> handles1;
|
| + std::vector<std::unique_ptr<storage::BlobDataHandle>> handles1;
|
| IndexedDBBackingStore::RecordIdentifier record1;
|
| EXPECT_TRUE(backing_store_->PutRecord(&transaction1, 1, 1, m_key3, &m_value3,
|
| &handles1, &record1).ok());
|
| @@ -672,7 +672,7 @@ TEST_F(IndexedDBBackingStoreTest, BlobJournalInterleavedTransactions) {
|
|
|
| IndexedDBBackingStore::Transaction transaction2(backing_store_.get());
|
| transaction2.Begin();
|
| - ScopedVector<storage::BlobDataHandle> handles2;
|
| + std::vector<std::unique_ptr<storage::BlobDataHandle>> handles2;
|
| IndexedDBBackingStore::RecordIdentifier record2;
|
| EXPECT_TRUE(backing_store_->PutRecord(&transaction2, 1, 1, m_key1, &m_value1,
|
| &handles2, &record2).ok());
|
| @@ -695,7 +695,7 @@ TEST_F(IndexedDBBackingStoreTest, LiveBlobJournal) {
|
| {
|
| IndexedDBBackingStore::Transaction transaction1(backing_store_.get());
|
| transaction1.Begin();
|
| - ScopedVector<storage::BlobDataHandle> handles;
|
| + std::vector<std::unique_ptr<storage::BlobDataHandle>> handles;
|
| IndexedDBBackingStore::RecordIdentifier record;
|
| EXPECT_TRUE(backing_store_->PutRecord(&transaction1,
|
| 1,
|
| @@ -776,7 +776,7 @@ TEST_F(IndexedDBBackingStoreTest, HighIds) {
|
| {
|
| IndexedDBBackingStore::Transaction transaction1(backing_store_.get());
|
| transaction1.Begin();
|
| - ScopedVector<storage::BlobDataHandle> handles;
|
| + std::vector<std::unique_ptr<storage::BlobDataHandle>> handles;
|
| IndexedDBBackingStore::RecordIdentifier record;
|
| leveldb::Status s = backing_store_->PutRecord(&transaction1,
|
| high_database_id,
|
| @@ -866,7 +866,7 @@ TEST_F(IndexedDBBackingStoreTest, InvalidIds) {
|
| IndexedDBBackingStore::Transaction transaction1(backing_store_.get());
|
| transaction1.Begin();
|
|
|
| - ScopedVector<storage::BlobDataHandle> handles;
|
| + std::vector<std::unique_ptr<storage::BlobDataHandle>> handles;
|
| IndexedDBBackingStore::RecordIdentifier record;
|
| leveldb::Status s = backing_store_->PutRecord(&transaction1,
|
| database_id,
|
|
|