DescriptionOilpan: Use weak pointers in StyleSheetContents caches.
This fixes use-after-free that could occur when StyleSheetContents
dies when an allocation happens during insertion of a new
StyleSheetContents. Using the built-in weak processing this will
not happen because the iterator used during insertion will keep
the StyleSheetContents alive.
R=erik.corry@gmail.com, haraken@chromium.org, vegorov@chromium.org
NOTRY=true
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=168444
Patch Set 1 #
Total comments: 5
Patch Set 2 : Fix compilation #
Messages
Total messages: 18 (0 generated)
|