Index: services/native_viewport/main.cc |
diff --git a/services/native_viewport/main.cc b/services/native_viewport/main.cc |
index 630e10f53fefd134c1acd530122f4de64f97f355..8ce8eb85651bf613e45fc8e07b413cb68383ac93 100644 |
--- a/services/native_viewport/main.cc |
+++ b/services/native_viewport/main.cc |
@@ -34,7 +34,7 @@ class NativeViewportAppDelegate : public mojo::ApplicationDelegate, |
void Initialize(mojo::ApplicationImpl* application) override { |
app_ = application; |
- mojo::TracingImpl::Create(application); |
+ tracing_.Initialize(app_); |
if (app_->HasArg(mojo::kUseTestConfig)) |
gfx::GLSurface::InitializeOneOffForTests(); |
@@ -69,6 +69,8 @@ class NativeViewportAppDelegate : public mojo::ApplicationDelegate, |
mojo::ApplicationImpl* app_; |
scoped_refptr<gles2::GpuImpl::State> gpu_state_; |
bool is_headless_; |
+ mojo::TracingImpl tracing_; |
+ |
DISALLOW_COPY_AND_ASSIGN(NativeViewportAppDelegate); |
}; |
} |