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

Unified Diff: extensions/browser/api/storage/storage_api_unittest.cc

Issue 2252373002: Re-write many calls to WrapUnique() with MakeUnique() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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: extensions/browser/api/storage/storage_api_unittest.cc
diff --git a/extensions/browser/api/storage/storage_api_unittest.cc b/extensions/browser/api/storage/storage_api_unittest.cc
index 5fe71591e61e1de400df386db2c4beae81801c99..3b896610918f3c07ff025a1f9cbe5cdbeb342c25 100644
--- a/extensions/browser/api/storage/storage_api_unittest.cc
+++ b/extensions/browser/api/storage/storage_api_unittest.cc
@@ -42,7 +42,7 @@ std::unique_ptr<KeyedService> CreateStorageFrontendForTesting(
std::unique_ptr<KeyedService> BuildEventRouter(
content::BrowserContext* context) {
- return base::WrapUnique(new extensions::EventRouter(context, nullptr));
+ return base::MakeUnique<extensions::EventRouter>(context, nullptr);
}
} // namespace
« no previous file with comments | « extensions/browser/api/sockets_udp/sockets_udp_api_unittest.cc ('k') | extensions/browser/api/usb/usb_apitest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698