Bug 421030 Crash in [@ nsIFrame::GetView()] refreshing Viewpoint demo page

r=roc sr=roc a=roc


git-svn-id: svn://10.0.0.236/trunk@249695 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
timeless%mozdev.org 2008-04-06 19:02:28 +00:00
parent fa565f3623
commit 54a5525fe0

View File

@ -2353,6 +2353,7 @@ NS_IMETHODIMP nsPluginInstanceOwner::InvalidateRegion(nsPluginRegion invalidRegi
NS_IMETHODIMP nsPluginInstanceOwner::ForceRedraw()
{
NS_ENSURE_TRUE(mOwner,NS_ERROR_NULL_POINTER);
nsIView* view = mOwner->GetView();
if (view) {
return view->GetViewManager()->Composite();