Bug 745401 - Fix logic error in draw event coalescing. r=kats

This commit is contained in:
JP Rosevear
2012-04-16 10:31:13 -04:00
parent f187b6f337
commit aa69c606d3

View File

@@ -587,7 +587,7 @@ nsAppShell::PostEvent(AndroidGeckoEvent *ae)
delete mQueuedDrawEvent;
}
if (mAllowCoalescingNextDraw) {
if (!mAllowCoalescingNextDraw) {
// if we're not allowing coalescing of this draw event, then
// don't set mQueuedDrawEvent to point to this; that way the
// next draw event that comes in won't kill this one.