Bug 683059 - Fix for Crash [@ nsObjectFrame::IsOpaque] with applet and changing style onunload. r=josh
This commit is contained in:
@@ -1139,8 +1139,12 @@ nsObjectFrame::IsTransparentMode() const
|
||||
if (!mInstanceOwner)
|
||||
return false;
|
||||
|
||||
NPWindow *window;
|
||||
NPWindow *window = nsnull;
|
||||
mInstanceOwner->GetWindow(window);
|
||||
if (!window) {
|
||||
return false;
|
||||
}
|
||||
|
||||
if (window->type != NPWindowTypeDrawable)
|
||||
return false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user