| 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 b887fd9e34294c8f1137f5cf3c757658889df739..004b30d4eeb6e8130db520c591f55602b466e8a1 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->assign(node->value.begin(), node->value.end());
|
| found = true;
|
| return true;
|
| }
|
|
|