Bug 624165 Cleanup plugins code, remove kill MOZ_COMPOSITED_PLUGINS and MOZ_USE_IMAGE_EXPOSE r=dougt

This commit is contained in:
Oleg Romashin
2011-05-25 16:54:30 -04:00
parent aaf6d44f2e
commit 2192f8e113
6 changed files with 5 additions and 582 deletions

View File

@@ -104,15 +104,6 @@ public:
SetPluginInstance(aPluginInstance);
return NS_OK;
}
#if (MOZ_PLATFORM_MAEMO == 5) && defined(MOZ_WIDGET_GTK2)
#define MOZ_COMPOSITED_PLUGINS
#endif
#ifdef MOZ_COMPOSITED_PLUGINS
/* XXX: we use this to leak the socket widget out from nsPlugNativeWindowGtk2
so that Renderer::NativeDraw() in nsObjectFrame.cpp can draw the widget.
I don't currently know a better way to do this... */
void *mPlugWindow;
#endif
protected:
nsRefPtr<nsNPAPIPluginInstance> mPluginInstance;