diff options
Diffstat (limited to 'views/controls/button/button_dropdown.cc')
-rw-r--r-- | views/controls/button/button_dropdown.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/views/controls/button/button_dropdown.cc b/views/controls/button/button_dropdown.cc index 270894b..157caf0 100644 --- a/views/controls/button/button_dropdown.cc +++ b/views/controls/button/button_dropdown.cc @@ -5,6 +5,7 @@ #include "views/controls/button/button_dropdown.h" #include "app/l10n_util.h" +#include "base/compiler_specific.h" #include "base/message_loop.h" #include "grit/generated_resources.h" #include "views/controls/menu/view_menu_delegate.h" @@ -26,7 +27,7 @@ ButtonDropDown::ButtonDropDown(ButtonListener* listener, : ImageButton(listener), menu_delegate_(menu_delegate), y_position_on_lbuttondown_(0), - show_menu_factory_(this) { + ALLOW_THIS_IN_INITIALIZER_LIST(show_menu_factory_(this)) { } ButtonDropDown::~ButtonDropDown() { |