summaryrefslogtreecommitdiffstats
path: root/components/html_viewer/stats_collection_controller.cc
diff options
context:
space:
mode:
authorben <ben@chromium.org>2016-02-07 12:31:19 -0800
committerCommit bot <commit-bot@chromium.org>2016-02-07 20:32:20 +0000
commitc08c4c008d30f1e4965fbdf39ce941a0661cce43 (patch)
tree623c075c0473d2cf87f1aee2c61a32e171eb5443 /components/html_viewer/stats_collection_controller.cc
parentde90347d8ad768372264265e1351d85159d54a55 (diff)
downloadchromium_src-c08c4c008d30f1e4965fbdf39ce941a0661cce43.zip
chromium_src-c08c4c008d30f1e4965fbdf39ce941a0661cce43.tar.gz
chromium_src-c08c4c008d30f1e4965fbdf39ce941a0661cce43.tar.bz2
Rename ConnectToApplication to Connect().
TBR=rockot@chromium.org BUG= Review URL: https://codereview.chromium.org/1673983002 Cr-Commit-Position: refs/heads/master@{#374066}
Diffstat (limited to 'components/html_viewer/stats_collection_controller.cc')
-rw-r--r--components/html_viewer/stats_collection_controller.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/components/html_viewer/stats_collection_controller.cc b/components/html_viewer/stats_collection_controller.cc
index 508f616..15710ec 100644
--- a/components/html_viewer/stats_collection_controller.cc
+++ b/components/html_viewer/stats_collection_controller.cc
@@ -82,8 +82,7 @@ tracing::StartupPerformanceDataCollectorPtr StatsCollectionController::Install(
v8::Context::Scope context_scope(context);
- scoped_ptr<mojo::Connection> connection =
- shell->ConnectToApplication("mojo:tracing");
+ scoped_ptr<mojo::Connection> connection = shell->Connect("mojo:tracing");
if (!connection)
return nullptr;
tracing::StartupPerformanceDataCollectorPtr collector_for_controller;