diff --git a/dom/plugins/PluginInstanceChild.cpp b/dom/plugins/PluginInstanceChild.cpp index 3bd810221a2..aab2ec63604 100644 --- a/dom/plugins/PluginInstanceChild.cpp +++ b/dom/plugins/PluginInstanceChild.cpp @@ -163,6 +163,8 @@ PluginInstanceChild::PluginInstanceChild(const NPPluginFuncs* aPluginIface) InitPopupMenuHook(); #endif // OS_WIN #ifdef MOZ_X11 + // Maemo flash can render plugin with any provided rectangle and not require this quirk. +#ifndef MOZ_PLATFORM_MAEMO const char *description = NULL; mPluginIface->getvalue(GetNPP(), NPPVpluginDescriptionString, &description); @@ -173,6 +175,7 @@ PluginInstanceChild::PluginInstanceChild(const NPPluginFuncs* aPluginIface) } } #endif +#endif } PluginInstanceChild::~PluginInstanceChild()