Index: mojo/common/tracing_impl.cc |
diff --git a/mojo/common/tracing_impl.cc b/mojo/common/tracing_impl.cc |
index a8d2f3608f48b16b2e6583d8510a0627a46e1e6d..4632930057d6cbfdcf5e7d20f26d655e68f880b9 100644 |
--- a/mojo/common/tracing_impl.cc |
+++ b/mojo/common/tracing_impl.cc |
@@ -20,8 +20,8 @@ TracingImpl::~TracingImpl() { |
void TracingImpl::Initialize(ApplicationImpl* app) { |
mojo::URLRequestPtr request(mojo::URLRequest::New()); |
request->url = mojo::String::From("mojo:tracing"); |
- ApplicationConnection* connection = app->ConnectToApplication(request.Pass()); |
- connection->AddService(this); |
+ connection_ = app->ConnectToApplication(request.Pass()); |
+ connection_->AddService(this); |
} |
void TracingImpl::Create(ApplicationConnection* connection, |