Index: components/html_viewer/stats_collection_controller.cc |
diff --git a/components/html_viewer/stats_collection_controller.cc b/components/html_viewer/stats_collection_controller.cc |
index 15710ec69029e6dbe077ea345e6a05c446250eb0..0b568a5f0ecae7e570b6138dee8292aaef71c846 100644 |
--- a/components/html_viewer/stats_collection_controller.cc |
+++ b/components/html_viewer/stats_collection_controller.cc |
@@ -87,8 +87,8 @@ tracing::StartupPerformanceDataCollectorPtr StatsCollectionController::Install( |
return nullptr; |
tracing::StartupPerformanceDataCollectorPtr collector_for_controller; |
tracing::StartupPerformanceDataCollectorPtr collector_for_caller; |
- connection->ConnectToService(&collector_for_controller); |
- connection->ConnectToService(&collector_for_caller); |
+ connection->GetInterface(&collector_for_controller); |
+ connection->GetInterface(&collector_for_caller); |
gin::Handle<StatsCollectionController> controller = gin::CreateHandle( |
isolate, |