| Index: ui/views/controls/menu/native_menu_win.h
|
| diff --git a/ui/views/controls/menu/native_menu_win.h b/ui/views/controls/menu/native_menu_win.h
|
| index 406599c08acdd520033b3a5e0c209215cd1dd1da..03f00a84ead5121041a88b236658291dae1cd9b4 100644
|
| --- a/ui/views/controls/menu/native_menu_win.h
|
| +++ b/ui/views/controls/menu/native_menu_win.h
|
| @@ -5,6 +5,7 @@
|
| #ifndef UI_VIEWS_CONTROLS_MENU_NATIVE_MENU_WIN_H_
|
| #define UI_VIEWS_CONTROLS_MENU_NATIVE_MENU_WIN_H_
|
|
|
| +#include <memory>
|
| #include <vector>
|
|
|
| #include "base/macros.h"
|
| @@ -87,7 +88,7 @@ class VIEWS_EXPORT NativeMenuWin {
|
| // An object that collects all of the data associated with an individual menu
|
| // item.
|
| struct ItemData;
|
| - std::vector<ItemData*> items_;
|
| + std::vector<std::unique_ptr<ItemData>> items_;
|
|
|
| // The HWND this menu is the system menu for, or NULL if the menu is not a
|
| // system menu.
|
|
|