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

Unified Diff: chrome/browser/chromeos/arc/arc_intent_helper_bridge.cc

Issue 1635603002: Make use of CreateInterfacePtrAndBind() where appropriate (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: tweaks Created 4 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/chromeos/arc/arc_intent_helper_bridge.cc
diff --git a/chrome/browser/chromeos/arc/arc_intent_helper_bridge.cc b/chrome/browser/chromeos/arc/arc_intent_helper_bridge.cc
index cc9d5f839d115ad1a6033a0fff884e1c30f37312..637f4ae368ea075646ce2b20f9ea44b2b4d840bc 100644
--- a/chrome/browser/chromeos/arc/arc_intent_helper_bridge.cc
+++ b/chrome/browser/chromeos/arc/arc_intent_helper_bridge.cc
@@ -25,9 +25,8 @@ ArcIntentHelperBridge::~ArcIntentHelperBridge() {
}
void ArcIntentHelperBridge::OnIntentHelperInstanceReady() {
- IntentHelperHostPtr host;
- binding_.Bind(mojo::GetProxy(&host));
- arc_bridge_service()->intent_helper_instance()->Init(std::move(host));
+ arc_bridge_service()->intent_helper_instance()->Init(
+ binding_.CreateInterfacePtrAndBind());
settings_bridge_.reset(new SettingsBridge(this));
}
« no previous file with comments | « chrome/browser/chromeos/arc/arc_auth_service.cc ('k') | chrome/browser/ui/app_list/arc/arc_app_list_prefs.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698