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

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

Issue 2215133002: Change signature of OnConnect (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@cleanup
Patch Set: . Created 4 years, 4 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/leveldb/leveldb_app.cc ('k') | content/browser/mojo/mojo_child_connection.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 ec402d5f1e27adf7dae049e9632c55869854705a..cd0a735102b9acfba55a5c2baafe6c5cfd9bfbee 100644
--- a/content/browser/frame_host/render_frame_host_impl.cc
+++ b/content/browser/frame_host/render_frame_host_impl.cc
@@ -788,7 +788,7 @@ void RenderFrameHostImpl::Create(
const shell::Identity& remote_identity,
media::mojom::ServiceFactoryRequest request) {
std::unique_ptr<shell::InterfaceRegistry> registry(
- new shell::InterfaceRegistry(nullptr));
+ new shell::InterfaceRegistry);
#if defined(OS_ANDROID) && defined(ENABLE_MOJO_CDM)
registry->AddInterface(
base::Bind(&ProvisionFetcherImpl::Create, this));
@@ -2476,7 +2476,7 @@ void RenderFrameHostImpl::SetUpMojoIfNeeded() {
if (interface_registry_.get())
return;
- interface_registry_.reset(new shell::InterfaceRegistry(nullptr));
+ interface_registry_.reset(new shell::InterfaceRegistry);
if (!GetProcess()->GetRemoteInterfaces())
return;
« no previous file with comments | « components/leveldb/leveldb_app.cc ('k') | content/browser/mojo/mojo_child_connection.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698