mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-20 08:45:46 +00:00
Bug 1536668 - Add more check to RecvGetTextureFactoryIdentifier() r=nical
Add a check similar to LayerTransactionParent::RecvSetAsyncZoom() Differential Revision: https://phabricator.services.mozilla.com/D30308 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
30138cb347
commit
d340b3064c
@ -1031,7 +1031,7 @@ mozilla::ipc::IPCResult LayerTransactionParent::RecvRecordPaintTimes(
|
||||
|
||||
mozilla::ipc::IPCResult LayerTransactionParent::RecvGetTextureFactoryIdentifier(
|
||||
TextureFactoryIdentifier* aIdentifier) {
|
||||
if (!mLayerManager) {
|
||||
if (mDestroyed || !mLayerManager || mLayerManager->IsDestroyed()) {
|
||||
// Default constructor sets mParentBackend to LAYERS_NONE.
|
||||
return IPC_OK();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user