Changed top/bottom & left/right border parameters on BoxLayout to take single gfx::Insets parameter.

https://chromium-review.googlesource.com/c/chromium/src/+/515902
This commit is contained in:
Aleksei Kuzmin 2017-09-13 23:57:24 +03:00 committed by Cheng Zhao
parent 4607a1fd13
commit 93b3d8cb49

View file

@ -52,8 +52,7 @@ MenuBar::MenuBar(NativeWindow* window)
menu_model_(NULL), menu_model_(NULL),
window_(window) { window_(window) {
UpdateMenuBarColor(); UpdateMenuBarColor();
SetLayoutManager(new views::BoxLayout( SetLayoutManager(new views::BoxLayout(views::BoxLayout::kHorizontal));
views::BoxLayout::kHorizontal, 0, 0, 0));
} }
MenuBar::~MenuBar() { MenuBar::~MenuBar() {