зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1816053 - Add log to VideoBridgeParent::ActorDestroy() r=gfx-reviewers,lsalzman
It would be helpful if VideoBridgeParent::ActorDestroy() has a log of AbnormalShutdown. Differential Revision: https://phabricator.services.mozilla.com/D169418
This commit is contained in:
Родитель
b202f0ce19
Коммит
44e635d2e6
|
@ -314,7 +314,8 @@ void CompositorBridgeChild::ActorDestroy(ActorDestroyReason aWhy) {
|
|||
// If the parent side runs into a problem then the actor will be destroyed.
|
||||
// There is nothing we can do in the child side, here sets mCanSend as
|
||||
// false.
|
||||
gfxCriticalNote << "Receive IPC close with reason=AbnormalShutdown";
|
||||
gfxCriticalNote << "CompositorBridgeChild receives IPC close with "
|
||||
"reason=AbnormalShutdown";
|
||||
}
|
||||
|
||||
mCanSend = false;
|
||||
|
|
|
@ -90,6 +90,10 @@ TextureHost* VideoBridgeParent::LookupTexture(uint64_t aSerial) {
|
|||
}
|
||||
|
||||
void VideoBridgeParent::ActorDestroy(ActorDestroyReason aWhy) {
|
||||
if (aWhy == AbnormalShutdown) {
|
||||
gfxCriticalNote
|
||||
<< "VideoBridgeParent receives IPC close with reason=AbnormalShutdown";
|
||||
}
|
||||
// Can't alloc/dealloc shmems from now on.
|
||||
mClosed = true;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче