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 2a49de4fe76bb85f64b5035a22dc310512a54071..d9c95bba4bb0a2f78147f07f0072196e00566c1b 100644 |
--- a/content/browser/indexed_db/indexed_db_backing_store_unittest.cc |
+++ b/content/browser/indexed_db/indexed_db_backing_store_unittest.cc |
@@ -51,9 +51,9 @@ class IndexedDBBackingStoreTest : public testing::Test { |
IndexedDBKey m_key1; |
IndexedDBKey m_key2; |
IndexedDBKey m_key3; |
- std::vector<char> m_value1; |
- std::vector<char> m_value2; |
- std::vector<char> m_value3; |
+ std::string m_value1; |
+ std::string m_value2; |
+ std::string m_value3; |
}; |
TEST_F(IndexedDBBackingStoreTest, PutGetConsistency) { |
@@ -70,7 +70,7 @@ TEST_F(IndexedDBBackingStoreTest, PutGetConsistency) { |
{ |
IndexedDBBackingStore::Transaction transaction2(backing_store_); |
transaction2.Begin(); |
- std::vector<char> result_value; |
+ std::string result_value; |
bool ok = |
backing_store_->GetRecord(&transaction2, 1, 1, m_key1, &result_value); |
transaction2.Commit(); |
@@ -90,7 +90,7 @@ TEST_F(IndexedDBBackingStoreTest, HighIds) { |
const int64 invalid_high_index_id = 1ULL << 37; |
const IndexedDBKey& index_key = m_key2; |
- std::vector<char> index_key_raw; |
+ std::string index_key_raw; |
EncodeIDBKey(index_key, &index_key_raw); |
{ |
IndexedDBBackingStore::Transaction transaction1(backing_store_); |
@@ -127,7 +127,7 @@ TEST_F(IndexedDBBackingStoreTest, HighIds) { |
{ |
IndexedDBBackingStore::Transaction transaction2(backing_store_); |
transaction2.Begin(); |
- std::vector<char> result_value; |
+ std::string result_value; |
bool ok = backing_store_->GetRecord(&transaction2, |
high_database_id, |
high_object_store_id, |
@@ -167,7 +167,7 @@ TEST_F(IndexedDBBackingStoreTest, InvalidIds) { |
const int64 index_id = kMinimumIndexId; |
const int64 invalid_low_index_id = 19; // index_ids must be > kMinimumIndexId |
- std::vector<char> result_value; |
+ std::string result_value; |
IndexedDBBackingStore::Transaction transaction1(backing_store_); |
transaction1.Begin(); |