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

Unified Diff: sky/viewer/viewer.cc

Issue 791493006: De-client tracing.TraceController interface (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: hook mojo shell up again Created 6 years 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
« shell/context.cc ('K') | « shell/context.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/viewer/viewer.cc
diff --git a/sky/viewer/viewer.cc b/sky/viewer/viewer.cc
index 4c5dd74eb292dcbce3c546cbebbf0f1e8432948f..fefd6fcf48edb088f4861f82d9b54a8b9fe6452c 100644
--- a/sky/viewer/viewer.cc
+++ b/sky/viewer/viewer.cc
@@ -51,7 +51,7 @@ class Viewer : public mojo::ApplicationDelegate,
blink::initialize(platform_impl_.get());
base::i18n::InitializeICU();
- mojo::TracingImpl::Create(app);
+ tracing_.Initialize(app);
}
virtual bool ConfigureIncomingConnection(
@@ -67,11 +67,12 @@ class Viewer : public mojo::ApplicationDelegate,
}
scoped_ptr<PlatformImpl> platform_impl_;
+ mojo::TracingImpl tracing_;
DISALLOW_COPY_AND_ASSIGN(Viewer);
};
-} // namespace mojo
+} // namespace sky
MojoResult MojoMain(MojoHandle shell_handle) {
mojo::ApplicationRunnerChromium runner(new sky::Viewer);
« shell/context.cc ('K') | « shell/context.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698