mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-08-22 12:23:08 +09:00
Issue #1751 -- Remove XP_MACOSX conditionals from /dom
This commit is contained in:
parent
434b3269fb
commit
d29e4f8306
71 changed files with 100 additions and 5342 deletions
|
|
@ -132,12 +132,6 @@ PluginModuleChild::PluginModuleChild(bool aIsChrome)
|
|||
MOZ_ASSERT(!gChromeInstance);
|
||||
gChromeInstance = this;
|
||||
}
|
||||
|
||||
#ifdef XP_MACOSX
|
||||
if (aIsChrome) {
|
||||
mac_plugin_interposing::child::SetUpCocoaInterposing();
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
PluginModuleChild::~PluginModuleChild()
|
||||
|
|
@ -259,15 +253,9 @@ PluginModuleChild::InitForChrome(const std::string& aPluginFilename,
|
|||
if (StringBeginsWith(nsDependentCString(info.fDescription), flash10Head)) {
|
||||
AddQuirk(QUIRK_FLASH_EXPOSE_COORD_TRANSLATION);
|
||||
}
|
||||
#endif
|
||||
#if defined(XP_MACOSX)
|
||||
const char* namePrefix = "Plugin Content";
|
||||
char nameBuffer[80];
|
||||
SprintfLiteral(nameBuffer, "%s (%s)", namePrefix, info.fName);
|
||||
mozilla::plugins::PluginUtilsOSX::SetProcessName(nameBuffer);
|
||||
#endif
|
||||
pluginFile.FreePluginInfo(info);
|
||||
#if defined(MOZ_X11) || defined(XP_MACOSX)
|
||||
#if defined(MOZ_X11)
|
||||
if (!mLibrary)
|
||||
#endif
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue