• Eric Karl's avatar
    Allow missing entries in ClientDiscardableTextureManager::LockTexture · bd73c938
    Eric Karl authored
    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: default avatarKhushal <khushalsagar@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#577641}
    bd73c938
client_discardable_texture_manager.cc 3.23 KB