Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(611)

Unified Diff: views/controls/button/button_dropdown.cc

Issue 115309: Remove even more ATL dependencies. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/test/interactive_ui/view_event_test_base.cc ('k') | views/controls/button/menu_button.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/controls/button/button_dropdown.cc
===================================================================
--- views/controls/button/button_dropdown.cc (revision 16052)
+++ views/controls/button/button_dropdown.cc (working copy)
@@ -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 @@
: 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() {
« no previous file with comments | « chrome/test/interactive_ui/view_event_test_base.cc ('k') | views/controls/button/menu_button.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698