mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-11 12:25:53 +00: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
8c6f80554d
commit
9a1d88b9ee
@ -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