Index: content/public/browser/desktop_media_id.cc |
diff --git a/content/public/browser/desktop_media_id.cc b/content/public/browser/desktop_media_id.cc |
index 1802a4d0298ee4b0b1c07a60dc53c26299b436c6..74fbb3ab89f9310a227472c28eae347f2762b420 100644 |
--- a/content/public/browser/desktop_media_id.cc |
+++ b/content/public/browser/desktop_media_id.cc |
@@ -97,8 +97,8 @@ DesktopMediaID::DesktopMediaID() = default; |
// static |
DesktopMediaID DesktopMediaID::Parse(const std::string& str) { |
- std::vector<std::string> parts; |
- base::SplitString(str, ':', &parts); |
+ std::vector<std::string> parts = base::SplitString( |
+ str, ":", base::TRIM_WHITESPACE, base::SPLIT_WANT_ALL); |
#if defined(USE_AURA) |
if (parts.size() != 3) |