DescriptionSpeculatively handle weak member clearing while creating iteration vector.
CSSFontSelector keeps a set of weakly referenced clients; when notifying
those the set is copied into a temporary heap vector before iterating.
Allocating that vector might potentially cause a GC, which in turn
could cause some of the weak references to be cleared. With the outcome
that the temporary vector will contain empty tail elements.
Speculatively check&handle that eventuality when iterating.
R=haraken
BUG=568173
Committed: https://crrev.com/29c36f00c3ca2f967891c15dc14bcc651c100bfb
Cr-Commit-Position: refs/heads/master@{#372112}
Patch Set 1 #
Messages
Total messages: 12 (5 generated)
|