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

Unified Diff: examples/echo/echo_benchmark.cc

Issue 2014043002: Make TracingImpl take a Shell* and args, instead of an ApplicationImpl*. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 4 years, 7 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
« no previous file with comments | « no previous file | examples/trace_me/trace_me_app.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: examples/echo/echo_benchmark.cc
diff --git a/examples/echo/echo_benchmark.cc b/examples/echo/echo_benchmark.cc
index e8da193532a091250c79d37e6c9af50fba83248b..30e804488ebe26e5a74f463719b0cbb6045e245c 100644
--- a/examples/echo/echo_benchmark.cc
+++ b/examples/echo/echo_benchmark.cc
@@ -50,7 +50,7 @@ class EchoClientDelegate : public ApplicationDelegate {
benchmark_duration_(base::TimeDelta::FromSeconds(10)) {}
void Initialize(ApplicationImpl* app) override {
- tracing_.Initialize(app);
+ tracing_.Initialize(app->shell(), &app->args());
ParseArguments(app);
« no previous file with comments | « no previous file | examples/trace_me/trace_me_app.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698