зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1145295 - Add some debug logging to try and trace an intermittent assertion. r=nical
This commit is contained in:
Родитель
1b1fed738d
Коммит
2e3b0912f5
|
@ -1121,6 +1121,14 @@ CompositorParent::ShadowLayersUpdated(LayerTransactionParent* aLayerTree,
|
|||
mRootLayerTreeID, aPaintSequenceNumber);
|
||||
}
|
||||
|
||||
#ifdef DEBUG
|
||||
if (aTransactionId <= mPendingTransaction) {
|
||||
// Logging added to help diagnose why we're triggering the assert below.
|
||||
// See bug 1145295
|
||||
printf_stderr("CRASH: aTransactionId %" PRIu64 " <= mPendingTransaction %" PRIu64 "\n",
|
||||
aTransactionId, mPendingTransaction);
|
||||
}
|
||||
#endif
|
||||
MOZ_ASSERT(aTransactionId > mPendingTransaction);
|
||||
mPendingTransaction = aTransactionId;
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче