Bug 711564 - Disable ICA/CA Plug-in drawing model on 10.5 because of instability. r=smichaud
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user