if(!npp) return;
NPN_PLUGIN_LOG(PLUGIN_LOG_NORMAL, ("NPN_InvalidateRegion: npp=%p, region=%p\n", (void*)npp, (void*)invalidRegion));  if(!npp) return;
_invalidateregion(NPP npp, NPRegion invalidRegion){	if(!npp)		return;    nsIPluginInstance *inst = (nsIPluginInstance *) npp->ndata;    NS_ASSERTION(inst != NULL, "null instance");    if (inst == NULL)        return;    nsIPluginInstancePeer *peer;    nsIWindowlessPluginInstancePeer *wpeer;    if (NS_OK == inst->GetPeer(&peer))    {      if (NS_OK == peer->QueryInterface(kIWindowlessPluginInstancePeerIID, (void **)&wpeer))      {        // XXX nsRegion & NPRegion are typedef'd to the same thing        wpeer->InvalidateRegion((nsPluginRegion)invalidRegion);        NS_RELEASE(wpeer);      }      NS_RELEASE(peer);    }}