| Index: base/trace_event/trace_event_impl.cc
|
| diff --git a/base/trace_event/trace_event_impl.cc b/base/trace_event/trace_event_impl.cc
|
| index 34bbb2882e8be46d08111c65eb186b2f0ec22375..bd0b57d4f5d822c07997e04d8a2d8183f48f4d86 100644
|
| --- a/base/trace_event/trace_event_impl.cc
|
| +++ b/base/trace_event/trace_event_impl.cc
|
| @@ -624,7 +624,7 @@ void TraceEvent::Reset() {
|
|
|
| void TraceEvent::UpdateDuration(const TimeTicks& now,
|
| const TimeTicks& thread_now) {
|
| - DCHECK(duration_.ToInternalValue() == -1);
|
| + DCHECK_EQ(duration_.ToInternalValue(), -1);
|
| duration_ = now - timestamp_;
|
| thread_duration_ = thread_now - thread_timestamp_;
|
| }
|
| @@ -2588,7 +2588,7 @@ namespace trace_event_internal {
|
| ScopedTraceBinaryEfficient::ScopedTraceBinaryEfficient(
|
| const char* category_group, const char* name) {
|
| // The single atom works because for now the category_group can only be "gpu".
|
| - DCHECK(strcmp(category_group, "gpu") == 0);
|
| + DCHECK_EQ(strcmp(category_group, "gpu"), 0);
|
| static TRACE_EVENT_API_ATOMIC_WORD atomic = 0;
|
| INTERNAL_TRACE_EVENT_GET_CATEGORY_INFO_CUSTOM_VARIABLES(
|
| category_group, atomic, category_group_enabled_);
|
|
|