| Index: content/browser/indexed_db/indexed_db_cursor.cc
|
| diff --git a/content/browser/indexed_db/indexed_db_cursor.cc b/content/browser/indexed_db/indexed_db_cursor.cc
|
| index 179797e3d4be210cd60d96ac4e90a03c846fdf94..dd54be06e154224bd1aed5a0efec4d0ca9c6844e 100644
|
| --- a/content/browser/indexed_db/indexed_db_cursor.cc
|
| +++ b/content/browser/indexed_db/indexed_db_cursor.cc
|
| @@ -98,7 +98,7 @@ void IndexedDBCursor::CursorAdvanceOperation::Perform(
|
| IDB_TRACE("CursorAdvanceOperation");
|
| if (!cursor_->cursor_ || !cursor_->cursor_->Advance(count_)) {
|
| cursor_->cursor_.reset();
|
| - callbacks_->OnSuccess(static_cast<std::vector<char>*>(NULL));
|
| + callbacks_->OnSuccess(static_cast<std::string*>(NULL));
|
| return;
|
| }
|
|
|
| @@ -113,7 +113,7 @@ void IndexedDBCursor::CursorIterationOperation::Perform(
|
| !cursor_->cursor_->ContinueFunction(
|
| key_.get(), IndexedDBBackingStore::Cursor::SEEK)) {
|
| cursor_->cursor_.reset();
|
| - callbacks_->OnSuccess(static_cast<std::vector<char>*>(NULL));
|
| + callbacks_->OnSuccess(static_cast<std::string*>(NULL));
|
| return;
|
| }
|
|
|
| @@ -137,7 +137,7 @@ void IndexedDBCursor::CursorPrefetchIterationOperation::Perform(
|
|
|
| std::vector<IndexedDBKey> found_keys;
|
| std::vector<IndexedDBKey> found_primary_keys;
|
| - std::vector<std::vector<char> > found_values;
|
| + std::vector<std::string> found_values;
|
|
|
| if (cursor_->cursor_)
|
| cursor_->saved_cursor_.reset(cursor_->cursor_->Clone());
|
| @@ -155,10 +155,10 @@ void IndexedDBCursor::CursorPrefetchIterationOperation::Perform(
|
|
|
| switch (cursor_->cursor_type_) {
|
| case indexed_db::CURSOR_KEY_ONLY:
|
| - found_values.push_back(std::vector<char>());
|
| + found_values.push_back(std::string());
|
| break;
|
| case indexed_db::CURSOR_KEY_AND_VALUE: {
|
| - std::vector<char> value;
|
| + std::string value;
|
| value.swap(*cursor_->cursor_->Value());
|
| size_estimate += value.size();
|
| found_values.push_back(value);
|
| @@ -175,7 +175,7 @@ void IndexedDBCursor::CursorPrefetchIterationOperation::Perform(
|
| }
|
|
|
| if (!found_keys.size()) {
|
| - callbacks_->OnSuccess(static_cast<std::vector<char>*>(NULL));
|
| + callbacks_->OnSuccess(static_cast<std::string*>(NULL));
|
| return;
|
| }
|
|
|
|
|