Index: content/browser/download/file_metadata_unittest_linux.cc |
diff --git a/content/browser/download/file_metadata_unittest_linux.cc b/content/browser/download/file_metadata_unittest_linux.cc |
index c20e573115ee69d0d29f04ac686b21da893db7fc..d3a6ea4c69ef8967342312408a4583d391f738fb 100644 |
--- a/content/browser/download/file_metadata_unittest_linux.cc |
+++ b/content/browser/download/file_metadata_unittest_linux.cc |
@@ -82,9 +82,8 @@ |
if (len <= static_cast<ssize_t>(0)) return; |
char* buffer = new char[len]; |
len = listxattr(test_file().value().c_str(), buffer, len); |
- *attr_names = base::SplitString(string(buffer, len), std::string(1, '\0'), |
- base::TRIM_WHITESPACE, |
- base::SPLIT_WANT_ALL); |
+ attr_names->clear(); |
+ base::SplitString(string(buffer, len), '\0', attr_names); |
delete[] buffer; |
} |