Oilpan: 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 Review URL: https://codereview.chromium.org/335633002 git-svn-id: svn://svn.chromium.org/blink/trunk@176034 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Showing
Please register or sign in to comment