Speculatively 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 Review URL: https://codereview.chromium.org/1642913002 Cr-Commit-Position: refs/heads/master@{#372112}
Showing
Please register or sign in to comment