| Index: base/trace_event/trace_config.cc
|
| diff --git a/base/trace_event/trace_config.cc b/base/trace_event/trace_config.cc
|
| index 974e40fe4b79e8fc362b0664f91d0c1bc0b941d2..2a15ec578fcef0b531dae328657c993d9e99c853 100644
|
| --- a/base/trace_event/trace_config.cc
|
| +++ b/base/trace_event/trace_config.cc
|
| @@ -293,10 +293,9 @@
|
| const std::string& category_filter_string,
|
| const std::string& trace_options_string) {
|
| if (!category_filter_string.empty()) {
|
| - std::vector<std::string> split = base::SplitString(
|
| - category_filter_string, ",", base::TRIM_WHITESPACE,
|
| - base::SPLIT_WANT_ALL);
|
| + std::vector<std::string> split;
|
| std::vector<std::string>::iterator iter;
|
| + base::SplitString(category_filter_string, ',', &split);
|
| for (iter = split.begin(); iter != split.end(); ++iter) {
|
| std::string category = *iter;
|
| // Ignore empty categories.
|
| @@ -332,9 +331,9 @@
|
| enable_systrace_ = false;
|
| enable_argument_filter_ = false;
|
| if(!trace_options_string.empty()) {
|
| - std::vector<std::string> split = base::SplitString(
|
| - trace_options_string, ",", base::TRIM_WHITESPACE, base::SPLIT_WANT_ALL);
|
| + std::vector<std::string> split;
|
| std::vector<std::string>::iterator iter;
|
| + base::SplitString(trace_options_string, ',', &split);
|
| for (iter = split.begin(); iter != split.end(); ++iter) {
|
| if (*iter == kRecordUntilFull) {
|
| record_mode_ = RECORD_UNTIL_FULL;
|
|
|