| Index: chrome/browser/download/download_query_unittest.cc
|
| diff --git a/chrome/browser/download/download_query_unittest.cc b/chrome/browser/download/download_query_unittest.cc
|
| index e8fcad562fe54c89fcc3e2308a7e72ec32ce8ca6..d34a4b9eb96d9636f094fc0b2e10d74806091836 100644
|
| --- a/chrome/browser/download/download_query_unittest.cc
|
| +++ b/chrome/browser/download/download_query_unittest.cc
|
| @@ -135,7 +135,7 @@ template<> void DownloadQueryTest::AddFilter(
|
| std::unique_ptr<base::ListValue> list(new base::ListValue());
|
| for (std::vector<base::string16>::const_iterator it = cpp_value.begin();
|
| it != cpp_value.end(); ++it) {
|
| - list->Append(new base::StringValue(*it));
|
| + list->AppendString(*it);
|
| }
|
| CHECK(query_.AddFilter(name, *list.get()));
|
| }
|
| @@ -145,7 +145,7 @@ template<> void DownloadQueryTest::AddFilter(
|
| std::unique_ptr<base::ListValue> list(new base::ListValue());
|
| for (std::vector<std::string>::const_iterator it = cpp_value.begin();
|
| it != cpp_value.end(); ++it) {
|
| - list->Append(new base::StringValue(*it));
|
| + list->AppendString(*it);
|
| }
|
| CHECK(query_.AddFilter(name, *list.get()));
|
| }
|
|
|