| Index: base/trace_event/trace_log.cc
|
| diff --git a/base/trace_event/trace_log.cc b/base/trace_event/trace_log.cc
|
| index 4b21437c66114667b725e3dcfb1b70d7ea18f84b..4f5d9b6e7f94faac7940ae968b9a0e83c47a9e34 100644
|
| --- a/base/trace_event/trace_log.cc
|
| +++ b/base/trace_event/trace_log.cc
|
| @@ -1027,6 +1027,12 @@ void TraceLog::FinishFlush(int generation, bool discard_events) {
|
| flush_output_callback_.Reset();
|
|
|
| if (trace_options() & kInternalEnableArgumentFilter) {
|
| + const base::CommandLine& command_line =
|
| + *base::CommandLine::ForCurrentProcess();
|
| + std::string process_type = command_line.GetSwitchValueASCII("type");
|
| + LOG(WARNING) << "============================= " << process_type
|
| + << " ==== " << !argument_filter_predicate_.is_null();
|
| +
|
| CHECK(!argument_filter_predicate_.is_null());
|
| argument_filter_predicate = argument_filter_predicate_;
|
| }
|
|
|