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

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

Issue 1278973003: Revert of Update SplitString calls to new form (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 f851a73bda7080370018f275c35aeeea7c2219ca..5e7caa29d4d4c14f39ff88a2000bffcb328eed0b 100644
--- a/content/common/gpu/media/jpeg_decode_accelerator_unittest.cc
+++ b/content/common/gpu/media/jpeg_decode_accelerator_unittest.cc
@@ -375,9 +375,8 @@
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_, base::FilePath::StringType(1, ';'),
- base::TRIM_WHITESPACE, base::SPLIT_WANT_ALL);
+ std::vector<base::FilePath::StringType> filenames;
+ base::SplitString(user_jpeg_filenames_, ';', &filenames);
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