Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(305)

Unified Diff: ui/arc/notification/arc_custom_notification_view.h

Issue 2120593002: arc: Fix custom notification crash on closing (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ui/arc/notification/arc_custom_notification_view.h
diff --git a/ui/arc/notification/arc_custom_notification_view.h b/ui/arc/notification/arc_custom_notification_view.h
index 4505f269073b647e33cc923565cb95fde32f9b00..6c25b720f4372a31f463015dec24367839672f60 100644
--- a/ui/arc/notification/arc_custom_notification_view.h
+++ b/ui/arc/notification/arc_custom_notification_view.h
@@ -46,9 +46,10 @@ class ArcCustomNotificationView : public views::NativeViewHost,
// ArcCustomNotificationItem::Observer
void OnItemDestroying() override;
void OnItemPinnedChanged() override;
+ void OnItemNotificationSurfaceRemoved() override;
ArcCustomNotificationItem* item_;
- exo::NotificationSurface* const surface_;
+ exo::NotificationSurface* surface_;
// A close button on top of NotificationSurface. Needed because the
// aura::Window of NotificationSurface is added after hosting widget's
« no previous file with comments | « ui/arc/notification/arc_custom_notification_item.cc ('k') | ui/arc/notification/arc_custom_notification_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698