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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user