android: Don't invalidate UI resources if context is lost
commitf5186515e0607b24d77a0bca13634f0158865b8e
authorsievers <sievers@chromium.org>
Thu, 4 Sep 2014 02:51:45 +0000 (3 19:51 -0700)
committerCommit bot <commit-bot@chromium.org>
Thu, 4 Sep 2014 02:54:27 +0000 (4 02:54 +0000)
tree917c0eac0466def5547a3f1caea9b8abbbc26041
parent14b630c415923f86f1cdf44f600aa4539a7d4737
android: Don't invalidate UI resources if context is lost

This callback implies that the resources are gone (because LTH
was deleted). What ends up happening is that the resources get
deleted while LTH still tries to call GetBitmap() on them.

This still needs some working invalidation mechanism for Thumbnails,
which don't have a persistent Bitmap they return from GetBitmap().

BUG=406879
NOTRY=True
TBR=dtrainor@chromium.org

Review URL: https://codereview.chromium.org/543543002

Cr-Commit-Position: refs/heads/master@{#293252}
content/browser/renderer_host/compositor_impl_android.cc