Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(267)

Unified Diff: services/native_viewport/main.cc

Issue 791493006: De-client tracing.TraceController interface (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: services/native_viewport/main.cc
diff --git a/services/native_viewport/main.cc b/services/native_viewport/main.cc
index 44b5411b7f307b38bd484870bd2e3666801980c9..459b8f5bccf8f7cee376b1220e5e5e9e3d9a2d98 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);
};
}

Powered by Google App Engine
This is Rietveld 408576698