| Index: webkit/tools/test_shell/image_decoder_unittest.cc
|
| ===================================================================
|
| --- webkit/tools/test_shell/image_decoder_unittest.cc (revision 6739)
|
| +++ webkit/tools/test_shell/image_decoder_unittest.cc (working copy)
|
| @@ -88,12 +88,13 @@
|
| std::vector<std::wstring> ImageDecoderTest::GetImageFiles() const {
|
| std::wstring pattern = L"*." + format_;
|
|
|
| - file_util::FileEnumerator enumerator(data_dir_, false,
|
| + file_util::FileEnumerator enumerator(FilePath::FromWStringHack(data_dir_),
|
| + false,
|
| file_util::FileEnumerator::FILES);
|
|
|
| std::vector<std::wstring> image_files;
|
| std::wstring next_file_name;
|
| - while ((next_file_name = enumerator.Next()) != L"") {
|
| + while ((next_file_name = enumerator.Next().ToWStringHack()) != L"") {
|
| if (!MatchPattern(next_file_name, pattern)) {
|
| continue;
|
| }
|
|
|