[Notifications] Fix crashes.
Destructing floating_control_button_widget_ eventually calls UpdateControlButtonsVisibility so only create it there if |item_| is non-null. Add additional null checks to ShouldUpdateControlButtonsColor. BUG=712773 BUG=714032 Review-Url: https://codereview.chromium.org/2834763003 Cr-Commit-Position: refs/heads/master@{#466921}
Showing
Please register or sign in to comment