зеркало из https://github.com/mozilla/gecko-dev.git
Bug 868046 - Fix the wrong assert. r=nical
This commit is contained in:
Родитель
2c65c9d22a
Коммит
ca69c82edf
|
@ -642,7 +642,7 @@ ShadowLayerForwarder::EndTransaction(InfallibleTArray<EditReply>* aReplies,
|
|||
|
||||
AutoInfallibleTArray<Edit, 10> cset;
|
||||
size_t nCsets = mTxn->mCset.size() + mTxn->mPaints.size();
|
||||
NS_ABORT_IF_FALSE(nCsets > 0 || mWindowOverlayChanged, "should have bailed by now");
|
||||
NS_ABORT_IF_FALSE(nCsets > 0 || mWindowOverlayChanged || mTxn->RotationChanged(), "should have bailed by now");
|
||||
|
||||
cset.SetCapacity(nCsets);
|
||||
if (!mTxn->mCset.empty()) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче