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

Issue 2918763002: Fix crash on updating notification before attaching (Closed)

Created:
3 years, 6 months ago by yoshiki
Modified:
3 years, 6 months ago
Reviewers:
Eliot Courtney, yhanada
CC:
chromium-reviews, elijahtaylor+arcwatch_chromium.org, hidehiko+watch_chromium.org, lhchavez+watch_chromium.org, yusukes+watch_chromium.org, victorhsieh+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix crash on updating notification before attaching - Do not update the pinned states when control_buttons_view_ is null - Do not update the visibility of buttons when floating_control_buttons_widget_ is null - Create the floating buttons widget just after attaching BUG=728480 TEST=open message center during fuzz (step:10000 and key:60) without crash Review-Url: https://codereview.chromium.org/2918763002 Cr-Commit-Position: refs/heads/master@{#477587} Committed: https://chromium.googlesource.com/chromium/src/+/a23721b5ffdf529bc575ee5b278534a54b06c582

Patch Set 1 #

Patch Set 2 : . #

Total comments: 8

Patch Set 3 : addressed comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -20 lines) Patch
M ui/arc/notification/arc_notification_content_view.cc View 1 2 4 chunks +7 lines, -20 lines 0 comments Download

Messages

Total messages: 25 (17 generated)
yoshiki
Eliot, PTAL. Thanks.
3 years, 6 months ago (2017-06-01 07:04:40 UTC) #14
Eliot Courtney
https://codereview.chromium.org/2918763002/diff/20001/ui/arc/notification/arc_notification_content_view.cc File ui/arc/notification/arc_notification_content_view.cc (left): https://codereview.chromium.org/2918763002/diff/20001/ui/arc/notification/arc_notification_content_view.cc#oldcode400 ui/arc/notification/arc_notification_content_view.cc:400: if (!floating_control_buttons_widget_) { I think removing this code will ...
3 years, 6 months ago (2017-06-01 07:37:39 UTC) #15
yoshiki
https://codereview.chromium.org/2918763002/diff/20001/ui/arc/notification/arc_notification_content_view.cc File ui/arc/notification/arc_notification_content_view.cc (left): https://codereview.chromium.org/2918763002/diff/20001/ui/arc/notification/arc_notification_content_view.cc#oldcode400 ui/arc/notification/arc_notification_content_view.cc:400: if (!floating_control_buttons_widget_) { On 2017/06/01 07:37:39, Eliot Courtney wrote: ...
3 years, 6 months ago (2017-06-05 04:59:31 UTC) #16
Eliot Courtney
Thanks~! lgtm. I think you will need approval from a committer by the way.
3 years, 6 months ago (2017-06-06 08:09:01 UTC) #17
yoshiki
Hanada-san, PTAL. Thanks.
3 years, 6 months ago (2017-06-07 03:50:22 UTC) #19
yhanada
lgtm!
3 years, 6 months ago (2017-06-07 03:55:13 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2918763002/40001
3 years, 6 months ago (2017-06-07 08:28:24 UTC) #22
commit-bot: I haz the power
3 years, 6 months ago (2017-06-07 09:03:39 UTC) #25
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/a23721b5ffdf529bc575ee5b2785...

Powered by Google App Engine
This is Rietveld 408576698