| Index: content/browser/indexed_db/leveldb/leveldb_transaction.cc
|
| diff --git a/content/browser/indexed_db/leveldb/leveldb_transaction.cc b/content/browser/indexed_db/leveldb/leveldb_transaction.cc
|
| index a8b3a3dbb06df0168262b4344403b6f152fcdf59..5b8ce0237462729f5b9e6e699a3e5777c22132a6 100644
|
| --- a/content/browser/indexed_db/leveldb/leveldb_transaction.cc
|
| +++ b/content/browser/indexed_db/leveldb/leveldb_transaction.cc
|
| @@ -78,7 +78,7 @@ void LevelDBTransaction::Remove(const LevelDBSlice& key) {
|
| }
|
|
|
| bool LevelDBTransaction::Get(const LevelDBSlice& key,
|
| - std::vector<char>& value,
|
| + std::string* value,
|
| bool& found) {
|
| found = false;
|
| DCHECK(!finished_);
|
| @@ -88,7 +88,7 @@ bool LevelDBTransaction::Get(const LevelDBSlice& key,
|
| if (node->deleted)
|
| return true;
|
|
|
| - value = node->value;
|
| + *value = std::string(node->value.begin(), node->value.end());
|
| found = true;
|
| return true;
|
| }
|
| @@ -170,7 +170,7 @@ void LevelDBTransaction::TreeIterator::Next() {
|
| DCHECK(transaction_->comparator_->Compare(LevelDBSlice((*iterator_)->key),
|
| LevelDBSlice(key_)) >
|
| 0);
|
| - (void) transaction_;
|
| + (void)transaction_;
|
| key_ = (*iterator_)->key;
|
| }
|
| }
|
|
|