Abort the SVG filter content recording if the FilterData was dropped
In the (rare) case of a recording being started and the FilterData structure being yanked away (and destroyed) from under SVGFilterPainter's feet, we need to put the PaintController in a consistent state before destroying it. Add a new method SVGFilterRecordingContext::Abort() and call that when SVGFilterPainter::FinishEffect encounters a null FilterData for the LayoutObject. BUG=713024 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 Review-Url: https://codereview.chromium.org/2847133002 Cr-Commit-Position: refs/heads/master@{#468092}
Showing
Please register or sign in to comment