From 1d4c11297ce9de82fb716253966185f0d6495780 Mon Sep 17 00:00:00 2001 From: Mats Palmgren Date: Fri, 20 Jun 2008 04:47:59 +0200 Subject: [PATCH] Use async Invalidate() to avoid crashing. b=435422 r+sr=roc --- layout/generic/nsObjectFrame.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layout/generic/nsObjectFrame.cpp b/layout/generic/nsObjectFrame.cpp index d3f8b8a2d235..d70e2df879b0 100644 --- a/layout/generic/nsObjectFrame.cpp +++ b/layout/generic/nsObjectFrame.cpp @@ -3204,7 +3204,7 @@ nsresult nsPluginInstanceOwner::ScrollPositionDidChange(nsIScrollableView* aScro // FIXME - Only invalidate the newly revealed amount. // XXX necessary? if (mWidget) - mWidget->Invalidate(PR_TRUE); + mWidget->Invalidate(PR_FALSE); } #endif