Bug 1072313 - Never call TextureClient::KeepUntilFullDeallocation off the ipdl thread. r=mattwoodrow

This commit is contained in:
Nicolas Silva
2015-09-21 16:54:40 +02:00
parent 5c2cba3bbd
commit f88df820fa
9 changed files with 49 additions and 11 deletions

View File

@@ -557,6 +557,7 @@ TextureClient::KeepUntilFullDeallocation(UniquePtr<KeepAlive> aKeep, bool aMainT
void TextureClient::ForceRemove(bool sync)
{
FinalizeOnIPDLThread();
if (mValid && mActor) {
if (sync || GetFlags() & TextureFlags::DEALLOCATE_CLIENT) {
MOZ_PERFORMANCE_WARNING("gfx", "TextureClient/Host pair requires synchronous deallocation");