From 334937fa9fa37833b14e85f9bc8b51654aca81dc Mon Sep 17 00:00:00 2001 From: Oleg Romashin Date: Tue, 4 Jan 2011 17:37:28 +0200 Subject: [PATCH] Bug 618565 - Don't do flash hack for maemo platform. r=dougt a=approval2.0 --HG-- extra : rebase_source : cf9a57355f8379dba217513422aab324a59a8d0b --- dom/plugins/PluginInstanceChild.cpp | 3 +++ 1 file changed, 3 insertions(+) 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()