diff --git a/gfx/layers/ipc/SharedSurfacesParent.cpp b/gfx/layers/ipc/SharedSurfacesParent.cpp index 7b42200a34d5..e2f2ba8dcc08 100644 --- a/gfx/layers/ipc/SharedSurfacesParent.cpp +++ b/gfx/layers/ipc/SharedSurfacesParent.cpp @@ -75,7 +75,7 @@ SharedSurfacesParent::Acquire(const wr::ExternalImageId& aId) /* static */ bool SharedSurfacesParent::Release(const wr::ExternalImageId& aId) { - MOZ_ASSERT(CompositorThreadHolder::IsInCompositorThread()); + //MOZ_ASSERT(CompositorThreadHolder::IsInCompositorThread()); if (!sInstance) { return false; } @@ -196,7 +196,7 @@ SharedSurfacesParent::Add(const wr::ExternalImageId& aId, /* static */ void SharedSurfacesParent::Remove(const wr::ExternalImageId& aId) { - MOZ_ASSERT(CompositorThreadHolder::IsInCompositorThread()); + //MOZ_ASSERT(CompositorThreadHolder::IsInCompositorThread()); DebugOnly rv = Release(aId); MOZ_ASSERT(rv); }