blink/canvas: Ensure ImageDecodeCache not used on context lost.
The SharedGpuContext is re-created on a context lost, which means any user of the context's cache must ensure that its usage does not extend the validity of the context. Ensure this by resetting the ImageProvider on a context loss. R=chrishtr@chromium.org, junov@chromium.org Bug: 806629 Cq-Include-Trybots: master.tryserver.blink:linux_trusty_blink_rel;master.tryserver.chromium.android:android_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 Change-Id: I33891c0a45f59de1741470d408dfa81184dc153a Reviewed-on: https://chromium-review.googlesource.com/891982Reviewed-by:danakj <danakj@chromium.org> Reviewed-by:
Antoine Labour <piman@chromium.org> Reviewed-by:
Chris Harrelson <chrishtr@chromium.org> Commit-Queue: Khushal <khushalsagar@chromium.org> Cr-Commit-Position: refs/heads/master@{#534102}
Showing
Please register or sign in to comment