Index: media/filters/chunk_demuxer_unittest.cc |
diff --git a/media/filters/chunk_demuxer_unittest.cc b/media/filters/chunk_demuxer_unittest.cc |
index 7cf841a0062030fd7d8525d9234a0dc6a0980b7b..3d99e3d4fd353920b285e7d36fc01f8c2cf47375 100644 |
--- a/media/filters/chunk_demuxer_unittest.cc |
+++ b/media/filters/chunk_demuxer_unittest.cc |
@@ -439,8 +439,8 @@ class ChunkDemuxerTest : public ::testing::Test { |
void ParseBlockDescriptions(int track_number, |
const std::string block_descriptions, |
std::vector<BlockInfo>* blocks) { |
- std::vector<std::string> timestamps; |
- base::SplitString(block_descriptions, ' ', ×tamps); |
+ std::vector<std::string> timestamps = base::SplitString( |
+ block_descriptions, " ", base::TRIM_WHITESPACE, base::SPLIT_WANT_ALL); |
for (size_t i = 0; i < timestamps.size(); ++i) { |
std::string timestamp_str = timestamps[i]; |
@@ -1059,8 +1059,8 @@ class ChunkDemuxerTest : public ::testing::Test { |
void CheckExpectedBuffers(DemuxerStream* stream, |
const std::string& expected) { |
- std::vector<std::string> timestamps; |
- base::SplitString(expected, ' ', ×tamps); |
+ std::vector<std::string> timestamps = base::SplitString( |
+ expected, " ", base::TRIM_WHITESPACE, base::SPLIT_WANT_ALL); |
std::stringstream ss; |
for (size_t i = 0; i < timestamps.size(); ++i) { |
// Initialize status to kAborted since it's possible for Read() to return |