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

Unified Diff: chrome/browser/media/router/mojo/media_router_mojo_impl_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/media/router/mojo/media_router_mojo_impl_unittest.cc
diff --git a/chrome/browser/media/router/mojo/media_router_mojo_impl_unittest.cc b/chrome/browser/media/router/mojo/media_router_mojo_impl_unittest.cc
index b977544fd4f70e171093c2fc9e40ff0c55a5974f..d5983e79fc0521093ad50a6ea6bfa4b1c64681bc 100644
--- a/chrome/browser/media/router/mojo/media_router_mojo_impl_unittest.cc
+++ b/chrome/browser/media/router/mojo/media_router_mojo_impl_unittest.cc
@@ -171,7 +171,7 @@ class TestProcessManager : public extensions::ProcessManager {
static std::unique_ptr<KeyedService> Create(
content::BrowserContext* context) {
- return base::WrapUnique(new TestProcessManager(context));
+ return base::MakeUnique<TestProcessManager>(context);
}
MOCK_METHOD1(IsEventPageSuspended, bool(const std::string& ext_id));

Powered by Google App Engine
This is Rietveld 408576698