Make sure TextureManager is non-null before querying TextureRefs
GpuVideoDecodeAccelerator already handles the texture manager returning null TextureRefs to support the passthrough command decoder. Now that we skip allocating the TextureManager entirely, also protect against it being null. BUG=1059068 Change-Id: I2d1d2a3fbf8166002379724ab97eca5082621374 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2140674Reviewed-by:Zhenyao Mo <zmo@chromium.org> Reviewed-by:
Frank Liberato <liberato@chromium.org> Commit-Queue: Frank Liberato <liberato@chromium.org> Cr-Commit-Position: refs/heads/master@{#757445}
Showing
Please register or sign in to comment