summaryrefslogtreecommitdiffstats
path: root/gfx/ipc/CanvasRenderThread.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gfx/ipc/CanvasRenderThread.cpp')
-rw-r--r--gfx/ipc/CanvasRenderThread.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/gfx/ipc/CanvasRenderThread.cpp b/gfx/ipc/CanvasRenderThread.cpp
index 853806a222..53a87b1cb9 100644
--- a/gfx/ipc/CanvasRenderThread.cpp
+++ b/gfx/ipc/CanvasRenderThread.cpp
@@ -152,6 +152,9 @@ void CanvasRenderThread::Shutdown() {
// This closes all of the IPDL actors with possibly active task queues.
CanvasManagerParent::Shutdown();
+ // Queue any remaining global cleanup for CanvasTranslator
+ layers::CanvasTranslator::Shutdown();
+
// Any task queues that are in the process of shutting down are tracked in
// mPendingShutdownTaskQueues. We need to block on each one until all events
// are flushed so that we can safely teardown RemoteTextureMap afterwards.