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

Unified Diff: content/public/test/mock_render_thread.cc

Issue 2090773003: Add ability to bind a different InterfaceRegistry/InterfaceProvider to an incoming Connection. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 6 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 | « content/child/mojo/mojo_application.cc ('k') | content/renderer/render_frame_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/test/mock_render_thread.cc
diff --git a/content/public/test/mock_render_thread.cc b/content/public/test/mock_render_thread.cc
index 11cf993fadf331df589e19201b174b39c4007a8b..90c55d732aad616ef10b0eaefbfe9904f3731235 100644
--- a/content/public/test/mock_render_thread.cc
+++ b/content/public/test/mock_render_thread.cc
@@ -195,8 +195,8 @@ shell::InterfaceProvider* MockRenderThread::GetRemoteInterfaces() {
shell::mojom::InterfaceProviderPtr remote_interface_provider;
pending_remote_interface_provider_request_ =
GetProxy(&remote_interface_provider);
- remote_interfaces_.reset(new shell::InterfaceProvider(
- std::move(remote_interface_provider)));
+ remote_interfaces_.reset(new shell::InterfaceProvider);
+ remote_interfaces_->Bind(std::move(remote_interface_provider));
}
return remote_interfaces_.get();
}
« no previous file with comments | « content/child/mojo/mojo_application.cc ('k') | content/renderer/render_frame_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698