Index: content/browser/accessibility/dump_accessibility_browsertest_base.cc |
diff --git a/content/browser/accessibility/dump_accessibility_browsertest_base.cc b/content/browser/accessibility/dump_accessibility_browsertest_base.cc |
index 60c5af63a0c9026b35f48f939bab2a17eebf1f1f..f86f5d4f9a2f441aaef253374557288c85a7142a 100644 |
--- a/content/browser/accessibility/dump_accessibility_browsertest_base.cc |
+++ b/content/browser/accessibility/dump_accessibility_browsertest_base.cc |
@@ -89,9 +89,12 @@ |
const std::string& test_html, |
std::vector<Filter>* filters, |
std::string* wait_for) { |
- for (const std::string& line : |
- base::SplitString(test_html, "\n", base::TRIM_WHITESPACE, |
- base::SPLIT_WANT_ALL)) { |
+ std::vector<std::string> lines; |
+ base::SplitString(test_html, '\n', &lines); |
+ for (std::vector<std::string>::const_iterator iter = lines.begin(); |
+ iter != lines.end(); |
+ ++iter) { |
+ const std::string& line = *iter; |
const std::string& allow_empty_str = |
AccessibilityTreeFormatter::GetAllowEmptyString(); |
const std::string& allow_str = |