| Index: services/tracing/tracing_app.cc
|
| diff --git a/services/tracing/tracing_app.cc b/services/tracing/tracing_app.cc
|
| index 18a2ea4a96a9af8828f41342e4b56d86469aaa86..930c5e5974dd3f505c9c1c458a62bce44a42feab 100644
|
| --- a/services/tracing/tracing_app.cc
|
| +++ b/services/tracing/tracing_app.cc
|
| @@ -27,7 +27,8 @@ bool TracingApp::ConfigureIncomingConnection(
|
| // TODO(vtl): Remove this once we remove the "wrong way" ServiceProvider.
|
| TraceProviderPtr provider_ptr;
|
| connection->ConnectToService(&provider_ptr);
|
| - RegisterTraceProvider(provider_ptr.PassInterfaceHandle());
|
| + if (provider_ptr)
|
| + RegisterTraceProvider(provider_ptr.PassInterfaceHandle());
|
|
|
| return true;
|
| }
|
|
|