Commit 593d1aeb authored by ben@chromium.org's avatar ben@chromium.org

Fix release bustage. ALLOW_THIS_IN_INITIALIZER_LIST

TBR=sky

Review URL: http://codereview.chromium.org/149267

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20055 0039d316-1c4b-4281-b951-d872f2087c98
parent 93235b7d
...@@ -54,7 +54,7 @@ class RemovingTabModel : public Tab2Model { ...@@ -54,7 +54,7 @@ class RemovingTabModel : public Tab2Model {
// BrowserTabStrip, public: // BrowserTabStrip, public:
BrowserTabStrip::BrowserTabStrip(TabStripModel* model) BrowserTabStrip::BrowserTabStrip(TabStripModel* model)
: TabStrip2(this), : ALLOW_THIS_IN_INITIALIZER_LIST(TabStrip2(this)),
model_(model) { model_(model) {
model_->AddObserver(this); model_->AddObserver(this);
} }
......
...@@ -24,8 +24,8 @@ static const int kHorizontalMoveThreshold = 16; // pixels ...@@ -24,8 +24,8 @@ static const int kHorizontalMoveThreshold = 16; // pixels
TabStrip2::TabStrip2(TabStrip2Model* model) TabStrip2::TabStrip2(TabStrip2Model* model)
: model_(model), : model_(model),
last_move_screen_x_(0), last_move_screen_x_(0),
detach_factory_(this), ALLOW_THIS_IN_INITIALIZER_LIST(detach_factory_(this)),
drag_start_factory_(this) { ALLOW_THIS_IN_INITIALIZER_LIST(drag_start_factory_(this)) {
} }
TabStrip2::~TabStrip2() { TabStrip2::~TabStrip2() {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment