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

Unified Diff: chrome/browser/ui/ash/chrome_new_window_client.cc

Issue 2617883002: Add a new BindInterface() method to Connector. (Closed)
Patch Set: . Created 3 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
Index: chrome/browser/ui/ash/chrome_new_window_client.cc
diff --git a/chrome/browser/ui/ash/chrome_new_window_client.cc b/chrome/browser/ui/ash/chrome_new_window_client.cc
index 6f2d450746dd2bcce9ace597bc2dd277780be2f4..27f1ecb4c14cde1484d615614d1b51db9d0129e3 100644
--- a/chrome/browser/ui/ash/chrome_new_window_client.cc
+++ b/chrome/browser/ui/ash/chrome_new_window_client.cc
@@ -47,8 +47,8 @@ void RestoreTabUsingProfile(Profile* profile) {
ChromeNewWindowClient::ChromeNewWindowClient() : binding_(this) {
service_manager::Connector* connector =
content::ServiceManagerConnection::GetForProcess()->GetConnector();
- connector->ConnectToInterface(ash_util::GetAshServiceName(),
- &new_window_controller_);
+ connector->BindInterface(ash_util::GetAshServiceName(),
+ &new_window_controller_);
// Register this object as the client interface implementation.
ash::mojom::NewWindowClientAssociatedPtrInfo ptr_info;
« no previous file with comments | « chrome/browser/ui/ash/cast_config_client_media_router.cc ('k') | chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698