Commit f5186515 authored by sievers's avatar sievers Committed by Commit bot

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}
parent 14b630c4
......@@ -584,7 +584,6 @@ void CompositorImpl::PopulateGpuCapabilities(
void CompositorImpl::OnLostResources() {
client_->DidLoseResources();
ui_resource_provider_.UIResourcesAreInvalid();
}
void CompositorImpl::ScheduleComposite() {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment