summaryrefslogtreecommitdiffstats
path: root/chrome/browser/views
diff options
context:
space:
mode:
authorben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-10 00:03:44 +0000
committerben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-10 00:03:44 +0000
commit661feb7cadf6362ddd34f85b887ec8f4d24eeee9 (patch)
treef1e45d1eda62cfeeb172d660ff36c76fd629c3a6 /chrome/browser/views
parentf6e1eed9d88358d87e1c0d41eaf070d474afd693 (diff)
downloadchromium_src-661feb7cadf6362ddd34f85b887ec8f4d24eeee9.zip
chromium_src-661feb7cadf6362ddd34f85b887ec8f4d24eeee9.tar.gz
chromium_src-661feb7cadf6362ddd34f85b887ec8f4d24eeee9.tar.bz2
Fix compile bustage by using macro
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18000 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/views')
-rw-r--r--chrome/browser/views/tabs/tab.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/views/tabs/tab.cc b/chrome/browser/views/tabs/tab.cc
index 8e9cf2d..14d416c 100644
--- a/chrome/browser/views/tabs/tab.cc
+++ b/chrome/browser/views/tabs/tab.cc
@@ -9,6 +9,7 @@
#include "app/gfx/path.h"
#include "app/l10n_util.h"
#include "app/resource_bundle.h"
+#include "base/compiler_specific.h"
#include "base/gfx/size.h"
#include "grit/generated_resources.h"
#include "views/controls/menu/simple_menu_model.h"
@@ -25,7 +26,7 @@ class Tab::TabContextMenuContents : public views::SimpleMenuModel,
public views::SimpleMenuModel::Delegate {
public:
explicit TabContextMenuContents(Tab* tab)
- : SimpleMenuModel(this),
+ : ALLOW_THIS_IN_INITIALIZER_LIST(SimpleMenuModel(this)),
tab_(tab),
last_command_(TabStripModel::CommandFirst) {
Build();