DescriptionHarden FrameSelection methods against JS running inside recalcStyle
RenderView::selectionBounds and repaintSelection both call into
updateStyleIfNeeded which is not safe since the JS that can run as
the result of the recalcStyle can free the RenderView. Instead
FrameSelection should be doing this and adding the needed RefPtrs
to ensure it doesn't use free'd FrameViews or RenderViews.
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=159575
Patch Set 1 #
Total comments: 2
Patch Set 2 : fix build #
Messages
Total messages: 11 (0 generated)
|