Bug 449129 followup: actually decrement the PaintTracker properly

This commit is contained in:
Benjamin Smedberg 2010-06-23 12:15:58 -04:00
parent be8e38decd
commit a3250f5999

View File

@ -14,6 +14,7 @@ public:
}
~PaintTracker() {
NS_ASSERTION(gPaintTracker > 0, "Mismatched constructor/destructor");
--gPaintTracker;
}
static bool IsPainting() {