| Index: chrome/browser/history/download_database.cc
|
| ===================================================================
|
| --- chrome/browser/history/download_database.cc (revision 7570)
|
| +++ chrome/browser/history/download_database.cc (working copy)
|
| @@ -69,8 +69,7 @@
|
| while (statement->step() == SQLITE_ROW) {
|
| DownloadCreateInfo info;
|
| info.db_handle = statement->column_int64(0);
|
| - std::wstring path_str = info.path.ToWStringHack();
|
| - statement->column_string16(1, &path_str);
|
| + statement->column_string16(1, &info.path);
|
| statement->column_string16(2, &info.url);
|
| info.start_time = Time::FromTimeT(statement->column_int64(3));
|
| info.received_bytes = statement->column_int64(4);
|
| @@ -118,7 +117,7 @@
|
| if (!statement.is_valid())
|
| return 0;
|
|
|
| - statement->bind_wstring(0, info.path.ToWStringHack());
|
| + statement->bind_wstring(0, info.path);
|
| statement->bind_wstring(1, info.url);
|
| statement->bind_int64(2, info.start_time.ToTimeT());
|
| statement->bind_int64(3, info.received_bytes);
|
|
|