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

Unified Diff: components/arc/ime/arc_ime_ipc_host_impl.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
« no previous file with comments | « components/arc/clipboard/arc_clipboard_bridge.cc ('k') | components/arc/power/arc_power_bridge.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/arc/ime/arc_ime_ipc_host_impl.cc
diff --git a/components/arc/ime/arc_ime_ipc_host_impl.cc b/components/arc/ime/arc_ime_ipc_host_impl.cc
index e60138416e81c9805cceb4acb63637947fa7f53c..086fc5744c7aa4fbbdd25a56c7392f455ae039d7 100644
--- a/components/arc/ime/arc_ime_ipc_host_impl.cc
+++ b/components/arc/ime/arc_ime_ipc_host_impl.cc
@@ -80,9 +80,7 @@ ArcImeIpcHostImpl::~ArcImeIpcHostImpl() {
}
void ArcImeIpcHostImpl::OnImeInstanceReady() {
- arc::ImeHostPtr host;
- binding_.Bind(mojo::GetProxy(&host));
- bridge_service_->ime_instance()->Init(std::move(host));
+ bridge_service_->ime_instance()->Init(binding_.CreateInterfacePtrAndBind());
}
void ArcImeIpcHostImpl::SendSetCompositionText(
« no previous file with comments | « components/arc/clipboard/arc_clipboard_bridge.cc ('k') | components/arc/power/arc_power_bridge.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698