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

Unified Diff: content/browser/frame_host/render_frame_host_impl.cc

Issue 2589663003: mojo:: Rename mojo::GetProxy() to mojo::MakeRequest() (Closed)
Patch Set: Rebase Created 4 years 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: content/browser/frame_host/render_frame_host_impl.cc
diff --git a/content/browser/frame_host/render_frame_host_impl.cc b/content/browser/frame_host/render_frame_host_impl.cc
index 0386b71dcec46c99cdca7b22bc79fcb6e57f2536..daff90dfa3b08b3134149274141276a4c9505882 100644
--- a/content/browser/frame_host/render_frame_host_impl.cc
+++ b/content/browser/frame_host/render_frame_host_impl.cc
@@ -591,7 +591,7 @@ RenderFrameHostImpl::GetRemoteAssociatedInterfaces() {
static_cast<RenderProcessHostImpl*>(GetProcess());
process->GetRemoteRouteProvider()->GetRoute(
GetRoutingID(),
- mojo::GetProxy(&remote_interfaces, channel->GetAssociatedGroup()));
+ mojo::MakeRequest(&remote_interfaces, channel->GetAssociatedGroup()));
} else {
// The channel may not be initialized in some tests environments. In this
// case we set up a dummy interface provider.
@@ -2641,12 +2641,12 @@ void RenderFrameHostImpl::SetUpMojoIfNeeded() {
RegisterMojoInterfaces();
mojom::FrameFactoryPtr frame_factory;
GetProcess()->GetRemoteInterfaces()->GetInterface(&frame_factory);
- frame_factory->CreateFrame(routing_id_, GetProxy(&frame_),
+ frame_factory->CreateFrame(routing_id_, MakeRequest(&frame_),
frame_host_binding_.CreateInterfacePtrAndBind());
service_manager::mojom::InterfaceProviderPtr remote_interfaces;
service_manager::mojom::InterfaceProviderRequest remote_interfaces_request =
- GetProxy(&remote_interfaces);
+ MakeRequest(&remote_interfaces);
remote_interfaces_.reset(new service_manager::InterfaceProvider);
remote_interfaces_->Bind(std::move(remote_interfaces));
frame_->GetInterfaceProvider(std::move(remote_interfaces_request));
« no previous file with comments | « content/browser/dom_storage/dom_storage_context_wrapper.cc ('k') | content/browser/loader/downloaded_temp_file_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698