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

Unified Diff: ios/chrome/browser/dom_distiller/dom_distiller_service_factory.cc

Issue 2256193002: Re-write many calls to WrapUnique() with MakeUnique() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
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
Index: ios/chrome/browser/dom_distiller/dom_distiller_service_factory.cc
diff --git a/ios/chrome/browser/dom_distiller/dom_distiller_service_factory.cc b/ios/chrome/browser/dom_distiller/dom_distiller_service_factory.cc
index e101c6aca8b54275c8d408f37ed05243b334a23f..2367b1283b5611de59c520080d8efea42230adb7 100644
--- a/ios/chrome/browser/dom_distiller/dom_distiller_service_factory.cc
+++ b/ios/chrome/browser/dom_distiller/dom_distiller_service_factory.cc
@@ -102,9 +102,9 @@ DomDistillerServiceFactory::BuildServiceInstanceFor(
new DistilledPagePrefs(
ios::ChromeBrowserState::FromBrowserState(context)->GetPrefs()));
- return base::WrapUnique(new DomDistillerKeyedService(
+ return base::MakeUnique<DomDistillerKeyedService>(
std::move(dom_distiller_store), std::move(distiller_factory),
- std::move(distiller_page_factory), std::move(distilled_page_prefs)));
+ std::move(distiller_page_factory), std::move(distilled_page_prefs));
}
web::BrowserState* DomDistillerServiceFactory::GetBrowserStateToUse(
« no previous file with comments | « ios/chrome/browser/browser_state/test_chrome_browser_state.mm ('k') | ios/chrome/browser/favicon/favicon_service_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698