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

Unified Diff: content/browser/background_sync/background_sync_context_impl.cc

Issue 1874893002: Convert //content/browser from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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/background_sync/background_sync_context_impl.cc
diff --git a/content/browser/background_sync/background_sync_context_impl.cc b/content/browser/background_sync/background_sync_context_impl.cc
index bd92edb8650b97ca7c14849cdfa4dc23f6f52872..19e6c60cb00d2841a13b8c8e07cc975f451c8e1b 100644
--- a/content/browser/background_sync/background_sync_context_impl.cc
+++ b/content/browser/background_sync/background_sync_context_impl.cc
@@ -69,7 +69,7 @@ BackgroundSyncManager* BackgroundSyncContextImpl::background_sync_manager()
}
void BackgroundSyncContextImpl::set_background_sync_manager_for_testing(
- scoped_ptr<BackgroundSyncManager> manager) {
+ std::unique_ptr<BackgroundSyncManager> manager) {
DCHECK_CURRENTLY_ON(BrowserThread::IO);
background_sync_manager_ = std::move(manager);

Powered by Google App Engine
This is Rietveld 408576698