Index: content/common/gpu/media/jpeg_decode_accelerator_unittest.cc |
diff --git a/content/common/gpu/media/jpeg_decode_accelerator_unittest.cc b/content/common/gpu/media/jpeg_decode_accelerator_unittest.cc |
index 5e7caa29d4d4c14f39ff88a2000bffcb328eed0b..f851a73bda7080370018f275c35aeeea7c2219ca 100644 |
--- a/content/common/gpu/media/jpeg_decode_accelerator_unittest.cc |
+++ b/content/common/gpu/media/jpeg_decode_accelerator_unittest.cc |
@@ -375,8 +375,9 @@ void JpegDecodeAcceleratorTestEnvironment::SetUp() { |
media::PIXEL_FORMAT_I420, image_data_invalid_->visible_size); |
// |user_jpeg_filenames_| may include many files and use ';' as delimiter. |
- std::vector<base::FilePath::StringType> filenames; |
- base::SplitString(user_jpeg_filenames_, ';', &filenames); |
+ std::vector<base::FilePath::StringType> filenames = base::SplitString( |
+ user_jpeg_filenames_, base::FilePath::StringType(1, ';'), |
+ base::TRIM_WHITESPACE, base::SPLIT_WANT_ALL); |
for (const auto& filename : filenames) { |
base::FilePath input_file = media::GetTestDataFilePath(filename); |
TestImageFile* image_data = new TestImageFile(filename); |