aproved leaf. reviews sfraser. checking for null stopping crash
git-svn-id: svn://10.0.0.236/trunk@49164 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
d5fbf6d4a3
commit
2c13db81d8
@ -1285,6 +1285,9 @@ nsObjectFrame::HandleEvent(nsIPresContext& aPresContext,
|
||||
nsresult rv = NS_OK;
|
||||
|
||||
//~~~
|
||||
//FIX FOR CRASHING WHEN NO INSTANCE OWVER
|
||||
if (!mInstanceOwner)
|
||||
return NS_ERROR_NULL_POINTER;
|
||||
#ifdef XP_WIN
|
||||
nsPluginWindow * window;
|
||||
mInstanceOwner->GetWindow(window);
|
||||
|
||||
@ -1285,6 +1285,9 @@ nsObjectFrame::HandleEvent(nsIPresContext& aPresContext,
|
||||
nsresult rv = NS_OK;
|
||||
|
||||
//~~~
|
||||
//FIX FOR CRASHING WHEN NO INSTANCE OWVER
|
||||
if (!mInstanceOwner)
|
||||
return NS_ERROR_NULL_POINTER;
|
||||
#ifdef XP_WIN
|
||||
nsPluginWindow * window;
|
||||
mInstanceOwner->GetWindow(window);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user