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

Unified Diff: media/formats/mp4/track_run_iterator_unittest.cc

Issue 1272823003: 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 | « media/formats/mp4/avc_unittest.cc ('k') | media/renderers/video_renderer_impl_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/formats/mp4/track_run_iterator_unittest.cc
diff --git a/media/formats/mp4/track_run_iterator_unittest.cc b/media/formats/mp4/track_run_iterator_unittest.cc
index 6bfab113cf954f16b3e26587e9d3bf79e335d18d..f9dde7204f1c169dd313739820a0743b906c2283 100644
--- a/media/formats/mp4/track_run_iterator_unittest.cc
+++ b/media/formats/mp4/track_run_iterator_unittest.cc
@@ -146,8 +146,8 @@ class TrackRunIteratorTest : public testing::Test {
// ON - SampleDependsOnOthers & IsNonSyncSample
// NS - SampleDependsOnNoOthers & IsSyncSample
// NN - SampleDependsOnNoOthers & IsNonSyncSample
- std::vector<std::string> flags_data;
- base::SplitString(sample_info, ' ', &flags_data);
+ std::vector<std::string> flags_data = base::SplitString(
+ sample_info, " ", base::TRIM_WHITESPACE, base::SPLIT_WANT_ALL);
if (flags_data.size() == 1u) {
// Simulates the first_sample_flags_present set scenario,
« no previous file with comments | « media/formats/mp4/avc_unittest.cc ('k') | media/renderers/video_renderer_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698