DescriptionOilpan: Fix leaks through RenderStyle objects.
RenderStyle objects are not on the heap and they keep the CSSFontSelector
and its associated ResourceFetcher alive. We turned raw pointers to the
document in CSSFontSelector and ResourceFetcher into traced Members. That
will leak until we can also trace through the RenderStyle structure.
See crbug.com/383860 for details.
This fixed the leaks by using WeakMembers to the document in these two
places. We really should trace through all of this but that is going
to be a larger change and we should fix this leak now.
R=haraken@chromium.org, oilpan-reviews@chromium.org, sigbjornf@opera.com
BUG=383860
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=176034
Patch Set 1 #
Total comments: 8
Patch Set 2 : Address comments. #
Messages
Total messages: 12 (0 generated)
|