Bug 747207: Adjust NPAPI Async drawing model values. r=josh

This commit is contained in:
Bas Schouten 2012-04-21 17:33:59 +02:00
parent cf4f808f6d
commit b28bc71f6e
2 changed files with 3 additions and 7 deletions

View File

@ -314,8 +314,7 @@ typedef enum {
NPDrawingModelSyncX = 6,
NPDrawingModelAsyncBitmapSurface = 7
#if defined(XP_WIN)
, NPDrawingModelAsyncWindowsDXGISurface = 8,
NPDrawingModelAsyncWindowsDX9ExSurface = 9
, NPDrawingModelAsyncWindowsDXGISurface = 8
#endif
} NPDrawingModel;
@ -462,11 +461,9 @@ typedef enum {
, NPNVsupportsCoreAnimationBool = 2003
, NPNVsupportsInvalidatingCoreAnimationBool = 2004
#endif
, NPNVsupportsSyncDrawingBool = 2005
, NPNVsupportsAsyncBitmapSurfaceBool = 2006
, NPNVsupportsAsyncBitmapSurfaceBool = 2005
#if defined(XP_WIN)
, NPNVsupportsAsyncWindowsDXGISurfaceBool = 2007
, NPNVsupportsAsyncWindowsDX9ExSurfaceBool = 2008
, NPNVsupportsAsyncWindowsDXGISurfaceBool = 2006
#endif
#if defined(XP_MACOSX)

View File

@ -93,7 +93,6 @@ inline bool IsDrawingModelAsync(int16_t aModel) {
return aModel == NPDrawingModelAsyncBitmapSurface
#ifdef XP_WIN
|| aModel == NPDrawingModelAsyncWindowsDXGISurface
|| aModel == NPDrawingModelAsyncWindowsDX9ExSurface
#endif
;
}