mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1145295 - Add some debug logging to try and trace an intermittent assertion. r=nical
This commit is contained in:
parent
60135815cf
commit
80550010db
@ -1249,6 +1249,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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user