• xiyuan's avatar
    arc: Fix UpdatePinnedState crash · 17c00bdf
    xiyuan authored
    Transient notifications get into a situation that the item is destroyed
    via mojo before its surface gets mapped via wayland. Check |item_|
    before UpdatePinnedState() call in SetSurface to fix the crash.
    
    BUG=647829
    TBR=yoshiki@chromium.org
    
    Review-Url: https://codereview.chromium.org/2345373002
    Cr-Commit-Position: refs/heads/master@{#419508}
    17c00bdf
arc_custom_notification_view.cc 13.7 KB