| Index: mojo/common/trace_provider_impl.cc
|
| diff --git a/mojo/common/trace_provider_impl.cc b/mojo/common/trace_provider_impl.cc
|
| index 5141ef933e4c8857da649d8532316375bdabd392..1e61f62f887b2b5e883acf452750f799375c3f15 100644
|
| --- a/mojo/common/trace_provider_impl.cc
|
| +++ b/mojo/common/trace_provider_impl.cc
|
| @@ -87,7 +87,7 @@ void TraceProviderImpl::SendChunk(
|
| DCHECK(recorder_);
|
| // The string will be empty if an error eccured or there were no trace
|
| // events. Empty string is not a valid chunk to record so skip in this case.
|
| - if (events_str->data().empty()) {
|
| + if (!events_str->data().empty()) {
|
| recorder_->Record(mojo::String(events_str->data()));
|
| }
|
| if (!has_more_events) {
|
|
|