if (anEvent->message == NS_PLUGIN_ACTIVATE)
nsObjectFrame::HandleEvent(nsPresContext* aPresContext,                           nsGUIEvent*     anEvent,                           nsEventStatus*  anEventStatus){  NS_ENSURE_ARG_POINTER(anEventStatus);  nsresult rv = NS_OK;  //FIX FOR CRASHING WHEN NO INSTANCE OWVER  if (!mInstanceOwner)    return NS_ERROR_NULL_POINTER;  if (anEvent->message == NS_PLUGIN_ACTIVATE)  {    nsIContent* content = GetContent();    if (content)    {      content->SetFocus(aPresContext);      return rv;    }  }#ifdef XP_WIN  rv = nsObjectFrameSuper::HandleEvent(aPresContext, anEvent, anEventStatus);  return rv;#endif	switch (anEvent->message) {	case NS_DESTROY:		mInstanceOwner->CancelTimer();		break;	case NS_GOTFOCUS:	case NS_LOSTFOCUS:		*anEventStatus = mInstanceOwner->ProcessEvent(*anEvent);		break;			default:		// instead of using an event listener, we can dispatch events to plugins directly.		rv = nsObjectFrameSuper::HandleEvent(aPresContext, anEvent, anEventStatus);	}		return rv;}