Index: content/browser/accessibility/browser_accessibility_win.cc |
diff --git a/content/browser/accessibility/browser_accessibility_win.cc b/content/browser/accessibility/browser_accessibility_win.cc |
index 277af2c68e24c0804c6b31ce27d64247fa18620c..deb97efd88b3e7e093c69b205e3d321c740a3cfe 100644 |
--- a/content/browser/accessibility/browser_accessibility_win.cc |
+++ b/content/browser/accessibility/browser_accessibility_win.cc |
@@ -969,9 +969,8 @@ |
// GetProduct() returns a string like "Chrome/aa.bb.cc.dd", split out |
// the part before the "/". |
- std::vector<std::string> product_components = base::SplitString( |
- GetContentClient()->GetProduct(), "/", |
- base::TRIM_WHITESPACE, base::SPLIT_WANT_ALL); |
+ std::vector<std::string> product_components; |
+ base::SplitString(GetContentClient()->GetProduct(), '/', &product_components); |
DCHECK_EQ(2U, product_components.size()); |
if (product_components.size() != 2) |
return E_FAIL; |
@@ -989,9 +988,8 @@ |
// GetProduct() returns a string like "Chrome/aa.bb.cc.dd", split out |
// the part after the "/". |
- std::vector<std::string> product_components = base::SplitString( |
- GetContentClient()->GetProduct(), "/", |
- base::TRIM_WHITESPACE, base::SPLIT_WANT_ALL); |
+ std::vector<std::string> product_components; |
+ base::SplitString(GetContentClient()->GetProduct(), '/', &product_components); |
DCHECK_EQ(2U, product_components.size()); |
if (product_components.size() != 2) |
return E_FAIL; |