Bug 711564 - Disable ICA/CA Plug-in drawing model on 10.5 because of instability. r=smichaud

This commit is contained in:
Benoit Girard
2012-01-09 19:11:04 -05:00
parent ac43e7e25a
commit bae8fa1251
4 changed files with 18 additions and 6 deletions

View File

@@ -92,6 +92,7 @@
#include <Carbon/Carbon.h>
#include <ApplicationServices/ApplicationServices.h>
#include <OpenGL/OpenGL.h>
#include "nsCocoaFeatures.h"
#endif
// needed for nppdf plugin
@@ -2257,13 +2258,13 @@ _getvalue(NPP npp, NPNVariable variable, void *result)
}
case NPNVsupportsCoreAnimationBool: {
*(NPBool*)result = true;
*(NPBool*)result = nsCocoaFeatures::SupportCoreAnimationPlugins();
return NPERR_NO_ERROR;
}
case NPNVsupportsInvalidatingCoreAnimationBool: {
*(NPBool*)result = true;
*(NPBool*)result = nsCocoaFeatures::SupportCoreAnimationPlugins();
return NPERR_NO_ERROR;
}