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

Unified Diff: content/browser/renderer_host/render_process_host_impl.cc

Issue 1283703003: Change ownership of BackgroundSyncServiceImpl to BackgroundSyncContextImpl (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Small fixes Created 5 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
Index: content/browser/renderer_host/render_process_host_impl.cc
diff --git a/content/browser/renderer_host/render_process_host_impl.cc b/content/browser/renderer_host/render_process_host_impl.cc
index d290778c2ef396872a90bc8ac67359e78b6a3f7e..8432df78c1a6172b38a289fbedf5ff53a0a606bd 100644
--- a/content/browser/renderer_host/render_process_host_impl.cc
+++ b/content/browser/renderer_host/render_process_host_impl.cc
@@ -954,8 +954,8 @@ void RenderProcessHostImpl::RegisterMojoServices() {
base::Unretained(permission_service_context_.get())));
mojo_application_host_->service_registry()->AddService(base::Bind(
- &content::BackgroundSyncServiceImpl::Create,
- base::Unretained(storage_partition_impl_->GetBackgroundSyncContext())));
+ &BackgroundSyncContextImpl::CreateService,
+ make_scoped_refptr(storage_partition_impl_->GetBackgroundSyncContext())));
mojo_application_host_->service_registry()->AddService(base::Bind(
&content::ServicePortServiceImpl::Create,

Powered by Google App Engine
This is Rietveld 408576698