Bug 1482956 - Don't dispatch extra runnable for ending layer transaction. r=nical

This may have been needed at some point, but all the important code for
EndLayerTransaction is in CompositorBridgeChild behind a lock, so this
should be safe.
This commit is contained in:
Ryan Hunt
2018-08-13 12:57:15 -05:00
parent f47a79aebe
commit 7ad3ef5188
4 changed files with 7 additions and 51 deletions

View File

@@ -1775,7 +1775,7 @@ TextureClient::AddPaintThreadRef()
void
TextureClient::DropPaintThreadRef()
{
MOZ_RELEASE_ASSERT(PaintThread::IsOnPaintThread());
MOZ_RELEASE_ASSERT(PaintThread::Get()->IsOnPaintWorkerThread());
MOZ_RELEASE_ASSERT(mPaintThreadRefs >= 1);
mPaintThreadRefs -= 1;
}