}  nsFileSpec spec; if (mPluginTag.mFullPath) { #ifndef XP_MAC NS_ERROR("Only MAC should be using nsPluginTag::mFullPath!"); #endif spec = mPluginTag.mFullPath; } else { spec = mPluginTag.mFileName; }  char* name = spec.GetLeafName(); nsresult rv = DoCharsetConversion(mUnicodeDecoder, name, aFilename); if (name) nsCRT::free(name); return rv;
  NS_METHOD GetFilename(nsAString& aFilename)  {#ifdef XP_MAC    return DoCharsetConversion(mUnicodeDecoder, mPluginTag.mFullPath, aFilename);#else            return DoCharsetConversion(mUnicodeDecoder, mPluginTag.mFileName, aFilename);#endif  }