Bug 459796 - fixing unit test orange, r+sr=roc

This commit is contained in:
Markus Stange 2008-10-14 11:29:53 +02:00
parent 5f3441fbd6
commit 6ea716947b

View File

@ -3370,7 +3370,7 @@ nsCanvasRenderingContext2D::DrawWindow(nsIDOMWindow* aWindow, PRInt32 aX, PRInt3
}
// Flush layout updates
if (flags & nsIDOMCanvasRenderingContext2D::DRAWWINDOW_DO_NOT_FLUSH)
if (!(flags & nsIDOMCanvasRenderingContext2D::DRAWWINDOW_DO_NOT_FLUSH))
FlushLayoutForTree(aWindow);
nsCOMPtr<nsPresContext> presContext;