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, |