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

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: 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
« shell/context.cc ('K') | « sky/tools/debugger/trace_collector.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 5850dec41efab4442f5f23a91cc14fa86dfcd0cc..7ca33ee01a67061b3b2dc24615c1a4a2451138b1 100644
--- a/sky/viewer/viewer.cc
+++ b/sky/viewer/viewer.cc
@@ -38,7 +38,7 @@ class Viewer : public mojo::ApplicationDelegate,
blink::initialize(platform_impl_.get());
mojo::icu::Initialize(app);
- mojo::TracingImpl::Create(app);
+ tracing_.Initialize(app);
}
virtual bool ConfigureIncomingConnection(
@@ -54,11 +54,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') | « sky/tools/debugger/trace_collector.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698