| Index: chrome/browser/ui/cocoa/extensions/browser_action_button_interactive_uitest.mm
|
| diff --git a/chrome/browser/ui/cocoa/extensions/browser_action_button_interactive_uitest.mm b/chrome/browser/ui/cocoa/extensions/browser_action_button_interactive_uitest.mm
|
| index d50e671c16f1bb02e32743af78ddc98ecba6e543..e1163f7c0b4d06e33ee9debbe9f74a7f0129cf87 100644
|
| --- a/chrome/browser/ui/cocoa/extensions/browser_action_button_interactive_uitest.mm
|
| +++ b/chrome/browser/ui/cocoa/extensions/browser_action_button_interactive_uitest.mm
|
| @@ -12,6 +12,7 @@
|
| #include "base/callback.h"
|
| #include "base/callback_helpers.h"
|
| #include "base/macros.h"
|
| +#include "base/memory/ptr_util.h"
|
| #include "base/strings/stringprintf.h"
|
| #include "base/strings/utf_string_conversions.h"
|
| #include "base/threading/thread_task_runner_handle.h"
|
| @@ -484,7 +485,7 @@ IN_PROC_BROWSER_TEST_F(BrowserActionButtonUiTest,
|
| // up the overflow container's bounds (crbug.com/511326).
|
| GlobalErrorService* error_service =
|
| GlobalErrorServiceFactory::GetForProfile(profile());
|
| - error_service->AddGlobalError(new MenuError());
|
| + error_service->AddGlobalError(base::MakeUnique<MenuError>());
|
|
|
| // It's probably excessive to test every level of the overflow here. Test
|
| // having all actions overflowed, some actions overflowed, and one action
|
|
|