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

Issue 14127003: Fixes a crash caused for update of webkit notifications. (Closed)

Created:
7 years, 8 months ago by Jun Mukai
Modified:
7 years, 8 months ago
Reviewers:
Dmitry Titov, dewittj
CC:
chromium-reviews
Visibility:
Public.

Description

Fixes a crash caused for update of webkit notifications. If update happens with different ids, it essentially means a removal and an add from notification_list point of view. Sending Update() will confuse the observers. It is possible to pass both ids for Update(), but handling update of different ids on each observer doesn't make much sense. It will be better to send both Removed() and Added() in this case. BUG=233221 TEST=manually on the reported page in the bug Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=195346

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -2 lines) Patch
M ui/message_center/message_center_impl.cc View 1 chunk +9 lines, -2 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
Jun Mukai
7 years, 8 months ago (2013-04-18 18:17:12 UTC) #1
Dmitry Titov
I'm curious when do you see these ids be different? I think (but not sure) ...
7 years, 8 months ago (2013-04-18 20:06:05 UTC) #2
Jun Mukai
On 2013/04/18 20:06:05, Dmitry Titov wrote: > I'm curious when do you see these ids ...
7 years, 8 months ago (2013-04-18 20:28:15 UTC) #3
dewittj
lgtm
7 years, 8 months ago (2013-04-18 22:20:25 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mukai@chromium.org/14127003/1
7 years, 8 months ago (2013-04-18 22:37:47 UTC) #5
commit-bot: I haz the power
The commit queue went berserk retrying too often for a seemingly flaky test. Builder is ...
7 years, 8 months ago (2013-04-19 09:30:44 UTC) #6
dewittj
On 2013/04/19 09:30:44, I haz the power (commit-bot) wrote: > The commit queue went berserk ...
7 years, 8 months ago (2013-04-19 15:46:32 UTC) #7
dewittj
On 2013/04/19 15:46:32, dewittj wrote: > On 2013/04/19 09:30:44, I haz the power (commit-bot) wrote: ...
7 years, 8 months ago (2013-04-19 16:03:17 UTC) #8
Jun Mukai
On 2013/04/19 16:03:17, dewittj wrote: > On 2013/04/19 15:46:32, dewittj wrote: > > On 2013/04/19 ...
7 years, 8 months ago (2013-04-19 21:55:09 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mukai@chromium.org/14127003/1
7 years, 8 months ago (2013-04-19 21:56:35 UTC) #10
commit-bot: I haz the power
7 years, 8 months ago (2013-04-20 00:11:46 UTC) #11
Message was sent while issue was closed.
Change committed as 195346

Powered by Google App Engine
This is Rietveld 408576698