зеркало из https://github.com/mozilla/gecko-dev.git
Fix revoking transactions that may not have been started. (bug 1314399, r=nical)
This commit is contained in:
Родитель
3f4430c523
Коммит
60e7aedd33
|
@ -357,7 +357,6 @@ ClientLayerManager::EndTransaction(DrawPaintedLayerCallback aCallback,
|
|||
EndTransactionFlags aFlags)
|
||||
{
|
||||
if (!mForwarder->IPCOpen()) {
|
||||
mTransactionIdAllocator->RevokeTransactionId(mLatestTransactionId);
|
||||
mInTransaction = false;
|
||||
return;
|
||||
}
|
||||
|
@ -389,7 +388,6 @@ ClientLayerManager::EndEmptyTransaction(EndTransactionFlags aFlags)
|
|||
mInTransaction = false;
|
||||
|
||||
if (!mRoot || !mForwarder->IPCOpen()) {
|
||||
mTransactionIdAllocator->RevokeTransactionId(mLatestTransactionId);
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче