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

Unified Diff: chrome/browser/search/hotword_service_unittest.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_service_unittest.cc
diff --git a/chrome/browser/search/hotword_service_unittest.cc b/chrome/browser/search/hotword_service_unittest.cc
index d4b20fa2a7a7980129830dda7d274087dd295667..e0eb877f234ceeabe3c8c17ffa8e7ea203d00d79 100644
--- a/chrome/browser/search/hotword_service_unittest.cc
+++ b/chrome/browser/search/hotword_service_unittest.cc
@@ -118,8 +118,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