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

Unified Diff: chrome/browser/browsing_data/media_licenses_counter.cc

Issue 2334613003: Re-write many calls to WrapUnique() with MakeUnique() (Closed)
Patch Set: Changes from review by sky Created 4 years, 3 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: chrome/browser/browsing_data/media_licenses_counter.cc
diff --git a/chrome/browser/browsing_data/media_licenses_counter.cc b/chrome/browser/browsing_data/media_licenses_counter.cc
index a7802bdc6d6d5037d43257fe9929cf8c9e65a780..cd248ad469080e31a3c42b0f9523450bf1940a16 100644
--- a/chrome/browser/browsing_data/media_licenses_counter.cc
+++ b/chrome/browser/browsing_data/media_licenses_counter.cc
@@ -78,5 +78,5 @@ void MediaLicensesCounter::Count() {
void MediaLicensesCounter::OnContentLicensesObtained(
const std::set<GURL>& origins) {
DCHECK_CURRENTLY_ON(content::BrowserThread::UI);
- ReportResult(base::WrapUnique(new MediaLicenseResult(this, origins)));
+ ReportResult(base::MakeUnique<MediaLicenseResult>(this, origins));
}

Powered by Google App Engine
This is Rietveld 408576698