Bug 421030 Crash in [@ nsIFrame::GetView()] refreshing Viewpoint demo page r=roc sr=roc a=roc

This commit is contained in:
timeless@mozdev.org 2008-04-06 12:02:28 -07:00
parent 3334bf0f75
commit 130fc53345

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();