summaryrefslogtreecommitdiffstats
path: root/ipc/glue/BackgroundChildImpl.cpp
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@gmail.com>2018-09-11 10:24:52 +0200
committerwolfbeast <mcwerewolf@gmail.com>2018-09-11 10:24:52 +0200
commit1de1ce5770f45c0b8601a8148d622b272b4ccdbb (patch)
tree3d33c46d377cab56ee79ad549486144e700e1e2f /ipc/glue/BackgroundChildImpl.cpp
parentea86809071918516793f5a4b2096c8aea324bb06 (diff)
downloadUXP-1de1ce5770f45c0b8601a8148d622b272b4ccdbb.tar
UXP-1de1ce5770f45c0b8601a8148d622b272b4ccdbb.tar.gz
UXP-1de1ce5770f45c0b8601a8148d622b272b4ccdbb.tar.lz
UXP-1de1ce5770f45c0b8601a8148d622b272b4ccdbb.tar.xz
UXP-1de1ce5770f45c0b8601a8148d622b272b4ccdbb.zip
Bug 1478575 - Unify CamerasChild shutdown paths.
Diffstat (limited to 'ipc/glue/BackgroundChildImpl.cpp')
-rw-r--r--ipc/glue/BackgroundChildImpl.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/ipc/glue/BackgroundChildImpl.cpp b/ipc/glue/BackgroundChildImpl.cpp
index b157048a4..a129069bc 100644
--- a/ipc/glue/BackgroundChildImpl.cpp
+++ b/ipc/glue/BackgroundChildImpl.cpp
@@ -312,6 +312,7 @@ BackgroundChildImpl::DeallocPCamerasChild(camera::PCamerasChild *aActor)
RefPtr<camera::CamerasChild> child =
dont_AddRef(static_cast<camera::CamerasChild*>(aActor));
MOZ_ASSERT(aActor);
+ camera::Shutdown();
#endif
return true;
}