Index: chrome/browser/extensions/api/downloads/downloads_api_unittest.cc |
diff --git a/chrome/browser/extensions/api/downloads/downloads_api_unittest.cc b/chrome/browser/extensions/api/downloads/downloads_api_unittest.cc |
index d45b936fe88fe23d899a4324fe8b08e724ffb3e9..1dfdc65b71ace841befe6ea2348ced65a41c9994 100644 |
--- a/chrome/browser/extensions/api/downloads/downloads_api_unittest.cc |
+++ b/chrome/browser/extensions/api/downloads/downloads_api_unittest.cc |
@@ -109,8 +109,8 @@ class DownloadsApiUnitTest : public ExtensionApiUnittest { |
std::unique_ptr<KeyedService> |
DownloadsApiUnitTest::TestingDownloadServiceFactory( |
content::BrowserContext* browser_context) { |
- return base::WrapUnique( |
- new TestDownloadService(Profile::FromBrowserContext(browser_context))); |
+ return base::MakeUnique<TestDownloadService>( |
+ Profile::FromBrowserContext(browser_context)); |
} |
// Tests that Number/double properties in query are parsed correctly. |