Descriptioncc: Don't upload UI resources twice after eviction
This can happen if you create a new UI resource (through LTH)
which queues a request while there are any evicted resources
(as tracked by LTHImpl).
RecreateUIResources() will then iterate over all existing client
ids and queue another CREATE request.
Simply check for duplicates before queuing more requests.
The double-upload behavior didn't play well with Android's
Thumbnail class which drops the bitmap after every
UIResourceClient::GetBitmap() call.
BUG=636630
CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_precise_blink_rel
Committed: https://crrev.com/8afa2d49f71b2a3ce36709ba69610d7d1bf85262
Cr-Commit-Position: refs/heads/master@{#414785}
Patch Set 1 #Patch Set 2 : cc: Don't upload UI resources again after eviction #
Total comments: 14
Patch Set 3 : address comments #
Messages
Total messages: 20 (14 generated)
|