summaryrefslogtreecommitdiff
path: root/gfx/layers/ipc/LayerTransactionChild.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gfx/layers/ipc/LayerTransactionChild.cpp')
-rw-r--r--gfx/layers/ipc/LayerTransactionChild.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/gfx/layers/ipc/LayerTransactionChild.cpp b/gfx/layers/ipc/LayerTransactionChild.cpp
index 8b60d3b516..f07e2c27f3 100644
--- a/gfx/layers/ipc/LayerTransactionChild.cpp
+++ b/gfx/layers/ipc/LayerTransactionChild.cpp
@@ -72,15 +72,6 @@ void
LayerTransactionChild::ActorDestroy(ActorDestroyReason why)
{
mDestroyed = true;
-#ifdef MOZ_B2G
- // Due to poor lifetime management of gralloc (and possibly shmems) we will
- // crash at some point in the future when we get destroyed due to abnormal
- // shutdown. Its better just to crash here. On desktop though, we have a chance
- // of recovering.
- if (why == AbnormalShutdown) {
- NS_RUNTIMEABORT("ActorDestroy by IPC channel failure at LayerTransactionChild");
- }
-#endif
}
} // namespace layers