Clear LocalFrameView::paint_artifact_compositor_ if not compositing
Also do compositing update when we need compositing update when not compositing, to clear the stale GraphicsLayers. This fixes crash when SetAcceleratedCompositingEnabled(false) is called after the frame is composited. Not sure if this happens in real world but this fixes clusterfuzz crashes. Bug: 1137609, 1137650 Change-Id: I059876725758c95490644eeebae7e0c94d5caa65 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2469362Reviewed-by:Philip Rogers <pdr@chromium.org> Commit-Queue: Xianzhu Wang <wangxianzhu@chromium.org> Cr-Commit-Position: refs/heads/master@{#817122}
Showing
Please register or sign in to comment