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

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: Remove scoped_refptr 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 083269562c899a0aa4478d15b8896974ff36156b..e167a072514e628a6122a2233d031001c8ed0cd5 100644
--- a/content/browser/renderer_host/render_process_host_impl.cc
+++ b/content/browser/renderer_host/render_process_host_impl.cc
@@ -964,8 +964,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,
+ storage_partition_impl_->GetBackgroundSyncContext()));
mojo_application_host_->service_registry()->AddService(base::Bind(
&content::ServicePortServiceImpl::Create,

Powered by Google App Engine
This is Rietveld 408576698