| Index: ash/system/web_notification/message_center_bubble.cc
|
| diff --git a/ash/system/web_notification/message_center_bubble.cc b/ash/system/web_notification/message_center_bubble.cc
|
| index d12f92be515510ffbaf975612807f155af7eb74b..f2dd9edeafa8c47f21955c20c9e493d6a537e5c6 100644
|
| --- a/ash/system/web_notification/message_center_bubble.cc
|
| +++ b/ash/system/web_notification/message_center_bubble.cc
|
| @@ -22,7 +22,6 @@
|
|
|
| namespace ash {
|
|
|
| -using internal::TrayBubbleView;
|
| using internal::TrayPopupTextButton;
|
|
|
| namespace message_center {
|
| @@ -197,7 +196,8 @@ MessageCenterBubble::MessageCenterBubble(WebNotificationTray* tray) :
|
| init_params.max_height = message_center::kWebNotificationBubbleMaxHeight;
|
| init_params.can_activate = true;
|
| views::View* anchor = tray_->tray_container();
|
| - bubble_view_ = TrayBubbleView::Create(anchor, this, init_params);
|
| + bubble_view_ = TrayBubbleView::Create(
|
| + tray_->GetBubbleWindowContainer(), anchor, this, &init_params);
|
| contents_view_ = new MessageCenterContentsView(tray);
|
|
|
| Initialize(contents_view_);
|
| @@ -220,11 +220,6 @@ void MessageCenterBubble::UpdateBubbleView() {
|
| bubble_view_->UpdateBubble();
|
| }
|
|
|
| -void MessageCenterBubble::OnClickedOutsideView() {
|
| - // May delete |this|.
|
| - tray_->HideMessageCenterBubble();
|
| -}
|
| -
|
| } // namespace message_center
|
|
|
| } // namespace ash
|
|
|