Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(163)

Unified Diff: content/common/gpu/media/jpeg_decode_accelerator_unittest.cc

Issue 1274123003: Update SplitString calls to new form (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: no media changes Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/child/runtime_features.cc ('k') | content/common/gpu/media/video_decode_accelerator_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « content/child/runtime_features.cc ('k') | content/common/gpu/media/video_decode_accelerator_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698