| Index: ash/system/tray/tray_views.cc
|
| diff --git a/ash/system/tray/tray_views.cc b/ash/system/tray/tray_views.cc
|
| index 50aa8aa37b65f5d9e1f2c0cb0d73b77e2bdfef83..19aad63b2e526155ac4720da52d703d0bf35c8da 100644
|
| --- a/ash/system/tray/tray_views.cc
|
| +++ b/ash/system/tray/tray_views.cc
|
| @@ -36,7 +36,6 @@ views::View* CreatePopupHeaderButtonsContainer() {
|
| return view;
|
| }
|
|
|
| -const int kNotificationCloseButtonWidth = 60;
|
| }
|
|
|
| ////////////////////////////////////////////////////////////////////////////////
|
| @@ -464,13 +463,10 @@ void TrayNotificationView::InitView(views::View* contents) {
|
| views::GridLayout* layout = new views::GridLayout(this);
|
| SetLayoutManager(layout);
|
|
|
| - AddChildView(contents);
|
| -
|
| views::ImageButton* close_button = new views::ImageButton(this);
|
| close_button->SetImage(views::CustomButton::BS_NORMAL,
|
| ResourceBundle::GetSharedInstance().GetBitmapNamed(
|
| IDR_AURA_WINDOW_CLOSE));
|
| - AddChildView(close_button);
|
|
|
| int contents_width = kTrayPopupWidth - kNotificationCloseButtonWidth;
|
| views::ColumnSet* columns = layout->AddColumnSet(0);
|
|
|