DescriptionFixes 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 #
Messages
Total messages: 11 (0 generated)
|