| Index: ash/system/web_notification/web_notification_tray.cc
|
| diff --git a/ash/system/web_notification/web_notification_tray.cc b/ash/system/web_notification/web_notification_tray.cc
|
| index 6d98d7a4e559fca6996a7e1a45c093d888ed941d..3f8afaead47a40fcce9529d5236e1703f6f6aab9 100644
|
| --- a/ash/system/web_notification/web_notification_tray.cc
|
| +++ b/ash/system/web_notification/web_notification_tray.cc
|
| @@ -27,6 +27,7 @@
|
| #include "ui/views/layout/fill_layout.h"
|
| #include "ui/views/layout/grid_layout.h"
|
| #include "ui/views/painter.h"
|
| +#include "ui/views/widget/widget_observer.h"
|
|
|
| namespace {
|
|
|
| @@ -547,7 +548,7 @@ class WebNotificationTray::BubbleContentsView : public views::View {
|
| };
|
|
|
| class WebNotificationTray::Bubble : public internal::TrayBubbleView::Host,
|
| - public views::Widget::Observer {
|
| + public views::WidgetObserver {
|
| public:
|
| explicit Bubble(WebNotificationTray* tray)
|
| : tray_(tray),
|
| @@ -628,7 +629,7 @@ class WebNotificationTray::Bubble : public internal::TrayBubbleView::Host,
|
| tray_->status_area_widget()->HideWebNotificationBubble();
|
| }
|
|
|
| - // Overridden from views::Widget::Observer.
|
| + // Overridden from views::WidgetObserver:
|
| virtual void OnWidgetClosing(views::Widget* widget) OVERRIDE {
|
| CHECK_EQ(bubble_widget_, widget);
|
| bubble_widget_ = NULL;
|
|
|