mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 650493 Part 3: Back out patch from bug 645572 as we should now always end up with correct update counts. r=ehsan
This commit is contained in:
parent
75de75934d
commit
48d490b63b
@ -8284,10 +8284,8 @@ nsCSSFrameConstructor::EndUpdate()
|
||||
RecalcQuotesAndCounters();
|
||||
NS_ASSERTION(mUpdateCount == 1, "Odd update count");
|
||||
}
|
||||
// Negative update counts don't make sense
|
||||
if (mUpdateCount > 0) {
|
||||
--mUpdateCount;
|
||||
}
|
||||
NS_ASSERTION(mUpdateCount, "Negative mUpdateCount!");
|
||||
--mUpdateCount;
|
||||
}
|
||||
|
||||
void
|
||||
|
Loading…
Reference in New Issue
Block a user