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

Unified Diff: chrome/browser/search/hotword_installer_browsertest.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/search/hotword_installer_browsertest.cc
diff --git a/chrome/browser/search/hotword_installer_browsertest.cc b/chrome/browser/search/hotword_installer_browsertest.cc
index 6fbe83c7ec62afb2288ed7077c07ac56a59a0fbc..8cdb90529c1aac6d48b5a0a5d9b9c04d99d35683 100644
--- a/chrome/browser/search/hotword_installer_browsertest.cc
+++ b/chrome/browser/search/hotword_installer_browsertest.cc
@@ -73,8 +73,7 @@ class MockHotwordService : public HotwordService {
std::unique_ptr<KeyedService> BuildMockHotwordService(
content::BrowserContext* context) {
- return base::WrapUnique(
- new MockHotwordService(static_cast<Profile*>(context)));
+ return base::MakeUnique<MockHotwordService>(static_cast<Profile*>(context));
}
} // namespace

Powered by Google App Engine
This is Rietveld 408576698