if (nsPluginWindowType_Window == mPluginWindow.type)
if (!mPluginWindow || nsPluginWindowType_Window == mPluginWindow->type)
nsPluginInstanceOwner::MouseMove(nsIDOMEvent* aMouseEvent){#ifndef XP_MAC  if (nsPluginWindowType_Window == mPluginWindow.type)    return NS_ERROR_FAILURE; // means consume event  // continue only for cases without child window#endif  // don't send mouse events if we are hiddden  if (!mWidgetVisible)    return NS_OK;  nsCOMPtr<nsIPrivateDOMEvent> privateEvent(do_QueryInterface(aMouseEvent));  if (privateEvent) {    nsMouseEvent* mouseEvent = nsnull;    privateEvent->GetInternalNSEvent((nsEvent**)&mouseEvent);    if (mouseEvent) {      nsEventStatus rv = ProcessEvent(*mouseEvent);      if (nsEventStatus_eConsumeNoDefault == rv) {        return NS_ERROR_FAILURE; // means consume event      }    }    else NS_ASSERTION(PR_FALSE, "nsPluginInstanceOwner::MouseMove failed, mouseEvent null");     }  else NS_ASSERTION(PR_FALSE, "nsPluginInstanceOwner::MouseMove failed, privateEvent null");       return NS_OK;}