Descriptioncc: Be robust against invalid RenderPassDrawQuads.
When the LayerTreeHostImpl drops RenderPasses from its output, it does
not also drop the RenderPassDrawQuads that point to them. The direct
renderers ignore these quads, so this has never been a problem. However
the DelegatedRendererLayerImpl was not able to deal with this correctly
and would crash. More problematic is that a compromised renderer could
send invalid RenderPassDrawQuads, which the DelegatedRendererLayerImpl
must be able to handle gracefully.
So, for both cases, we here make the DelegatedRendererLayerImpl ignore
invalid RenderPassDrawQuads, and just drop the from its own output.
Tests:
DelegatedRendererLayerImplTest.InvalidRenderPassDrawQuad
R=piman
BUG=283630
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=221493
Patch Set 1 #
Total comments: 4
Patch Set 2 : missing-render-pass: nits #
Messages
Total messages: 5 (0 generated)
|