Index: athena/system/status_icon_container_view.cc |
diff --git a/athena/system/status_icon_container_view.cc b/athena/system/status_icon_container_view.cc |
index 811c645cfa8d3a6e11953c1ba0f48d2bd54ea977..a7c5f85b98b92ed039cb7de17a037fb46c501a13 100644 |
--- a/athena/system/status_icon_container_view.cc |
+++ b/athena/system/status_icon_container_view.cc |
@@ -208,9 +208,7 @@ class StatusIconContainerView::UpdateStatus |
}; |
StatusIconContainerView::StatusIconContainerView( |
- SystemUI::ColorScheme color_scheme, |
- aura::Window* system_modal_container) |
- : system_modal_container_(system_modal_container) { |
+ SystemUI::ColorScheme color_scheme) { |
const int kHorizontalSpacing = 10; |
const int kVerticalSpacing = 3; |
const int kBetweenChildSpacing = 10; |
@@ -241,13 +239,13 @@ StatusIconContainerView::~StatusIconContainerView() { |
} |
bool StatusIconContainerView::OnMousePressed(const ui::MouseEvent& event) { |
- CreateNetworkSelector(system_modal_container_); |
+ CreateNetworkSelector(); |
return true; |
} |
void StatusIconContainerView::OnGestureEvent(ui::GestureEvent* event) { |
if (event->type() == ui::ET_GESTURE_TAP) { |
- CreateNetworkSelector(system_modal_container_); |
+ CreateNetworkSelector(); |
event->SetHandled(); |
} |
} |