• Ahmed Mehfooz's avatar
    Fix Chrome vox crashes · 7146c8fa
    Ahmed Mehfooz authored
    Initializing the system tray and message center with chrome
    vox enabled causes a crash when the tray event filter references
    the message center bubble before it's constructor is fully
    executed.
    This fix ensures this doesn't happen by separating the constructor
    from the part of the code which shows the bubble.
    
    Change-Id: I297bf5212fb82a3372081dc418c25473f22d5cd5
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1881689
    Commit-Queue: Ahmed Mehfooz <amehfooz@chromium.org>
    Reviewed-by: default avatarTim Song <tengs@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#710585}
    7146c8fa
unified_message_center_bubble.h 2.94 KB