Index: chrome/browser/extensions/extension_action_test_util.cc |
diff --git a/chrome/browser/extensions/extension_action_test_util.cc b/chrome/browser/extensions/extension_action_test_util.cc |
index b5104ff2b0b58df5fdf3c875bc64350aa7d846b4..a9d631acfbc3c477d53dbf7ee7c18bcd556a8510 100644 |
--- a/chrome/browser/extensions/extension_action_test_util.cc |
+++ b/chrome/browser/extensions/extension_action_test_util.cc |
@@ -81,9 +81,9 @@ size_t GetPageActionCount(content::WebContents* web_contents, |
// Creates a new ToolbarActionsModel for the given |context|. |
std::unique_ptr<KeyedService> BuildToolbarModel( |
content::BrowserContext* context) { |
- return base::WrapUnique( |
- new ToolbarActionsModel(Profile::FromBrowserContext(context), |
- extensions::ExtensionPrefs::Get(context))); |
+ return base::MakeUnique<ToolbarActionsModel>( |
+ Profile::FromBrowserContext(context), |
+ extensions::ExtensionPrefs::Get(context)); |
} |
// Creates a new ToolbarActionsModel for the given profile, optionally |