Allow missing entries in ClientDiscardableTextureManager::LockTexture
LockTexture currently crashes if a texture is not found. This can happen when initialization of a discardable texture fails, and should be handled gracefully rather than crashing. R=khushalsagar Bug: 866808 Cq-Include-Trybots: luci.chromium.try:android_optional_gpu_tests_rel;luci.chromium.try:linux_optional_gpu_tests_rel;luci.chromium.try:mac_optional_gpu_tests_rel;luci.chromium.try:win_optional_gpu_tests_rel Change-Id: Ia920e7ee649a30f550e968d4e8350f40e77f84b1 Reviewed-on: https://chromium-review.googlesource.com/1148684 Commit-Queue: Eric Karl <ericrk@chromium.org> Commit-Queue: Khushal <khushalsagar@chromium.org> Reviewed-by:Khushal <khushalsagar@chromium.org> Cr-Commit-Position: refs/heads/master@{#577641}
Showing
Please register or sign in to comment