DescriptionClarify ownership of GpuVideoDecodeAcceleratorHost and avoid crash on context loss.
GpuVideoDecoder owns GpuVideoDecodeAcceleratorHost; it was a bug that
~CommandBufferProxyImpl() called GpuVideoDecodeAcceleratorHost::Destroy() (since
the latter deletes |this|).
This bug was uncovered due to an unrelated GPU-process crashing bug, which
triggered context loss and the subsequent stack in the linked bug. With this
change, killing the GPU process mid-playback fires a JS error on the <video> tag
(correctly), but the renderer keeps on just fine.
BUG=140138
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=149985
Patch Set 1 : . #
Total comments: 2
Patch Set 2 : . #
Messages
Total messages: 5 (0 generated)
|