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

Unified Diff: content/browser/service_worker/embedded_worker_test_helper.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 | « content/browser/service_worker/embedded_worker_instance.cc ('k') | content/child/child_thread_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/service_worker/embedded_worker_test_helper.cc
diff --git a/content/browser/service_worker/embedded_worker_test_helper.cc b/content/browser/service_worker/embedded_worker_test_helper.cc
index d2b5385143048df3f53756e5ab50fcd1195a4d71..bdefff4ba6194f6735daf324821bba8bce4c6956 100644
--- a/content/browser/service_worker/embedded_worker_test_helper.cc
+++ b/content/browser/service_worker/embedded_worker_test_helper.cc
@@ -102,8 +102,7 @@ EmbeddedWorkerTestHelper::EmbeddedWorkerTestHelper(
NewMessagePortMessageFilter());
// Setup process level interface registry.
- render_process_interface_registry_.reset(
- new shell::InterfaceRegistry(nullptr));
+ render_process_interface_registry_.reset(new shell::InterfaceRegistry);
render_process_interface_registry_->AddInterface(
base::Bind(&MockEmbeddedWorkerSetup::Create, weak_factory_.GetWeakPtr()));
shell::mojom::InterfaceProviderPtr interfaces;
@@ -420,7 +419,7 @@ void EmbeddedWorkerTestHelper::OnSetupMojoStub(
shell::mojom::InterfaceProviderRequest request,
shell::mojom::InterfaceProviderPtr remote_interfaces) {
std::unique_ptr<shell::InterfaceRegistry> local(
- new shell::InterfaceRegistry(nullptr));
+ new shell::InterfaceRegistry);
local->Bind(std::move(request));
std::unique_ptr<shell::InterfaceProvider> remote(
« no previous file with comments | « content/browser/service_worker/embedded_worker_instance.cc ('k') | content/child/child_thread_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698