Descriptioncontent: Fix Context creation logic in ContextProviderFactoryImpl.
1) The BrowserGpuChannelHostFactory runs any pending callbacks during
shutdown. This can become re-entrant if the caller queued more requests
on getting a null GpuChannel. So destroy the ContextProviderFactoryImpl
before destroying the BrowserGpuChannelHostFactory.
2) Specify the reason for the context creation failure in the callback
from ContextProviderFactoryImpl so the callers can respond accordingly
and retry if necessary.
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation
Committed: https://crrev.com/becb5a6cf904faee4024a13e9760b71245e77b31
Cr-Commit-Position: refs/heads/master@{#415877}
Patch Set 1 #
Total comments: 2
Patch Set 2 : fix deletion #Patch Set 3 : run the callback once, fix comments. #
Total comments: 6
Patch Set 4 : Addressed comments #
Total comments: 3
Patch Set 5 : consecutive failures #
Total comments: 2
Patch Set 6 : Rebase + correct factory lifetimes. #Patch Set 7 : rebase + test updates #Patch Set 8 : missing include #Patch Set 9 : missed one test harness #Patch Set 10 : use mock factory #Messages
Total messages: 62 (33 generated)
|