зеркало из https://github.com/mozilla/gecko-dev.git
No bug
r=mkaply, a=blizzard Code from dainis - remove unused function - RequiresInvertedMask
This commit is contained in:
Родитель
223c901a9c
Коммит
d5250448af
|
@ -103,12 +103,6 @@ nsresult nsDrawingSurfaceOS2::GetBitmap( HBITMAP &aBitmap)
|
|||
return NS_OK;
|
||||
}
|
||||
|
||||
nsresult nsDrawingSurfaceOS2::RequiresInvertedMask( PRBool *aBool)
|
||||
{
|
||||
*aBool = (PRBool) (gModuleData.lDisplayDepth <= 8);
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
// Offscreen surface --------------------------------------------------------
|
||||
|
||||
nsOffscreenSurface::nsOffscreenSurface() : mDC(0), mBitmap(0),
|
||||
|
@ -516,8 +510,3 @@ nsresult nsPrintSurface::GetDimensions( PRUint32 *aWidth, PRUint32 *aHeight)
|
|||
return NS_OK;
|
||||
}
|
||||
|
||||
nsresult nsPrintSurface::RequiresInvertedMask( PRBool *aBool)
|
||||
{
|
||||
*aBool = PR_FALSE;
|
||||
return NS_OK;
|
||||
}
|
||||
|
|
|
@ -70,7 +70,6 @@ class nsDrawingSurfaceOS2 : public nsIDrawingSurface
|
|||
void FlushFontCache();
|
||||
|
||||
NS_IMETHOD GetBitmap( HBITMAP &aBitmap); // yuck (for blender, may go)
|
||||
NS_IMETHOD RequiresInvertedMask( PRBool *aBool); // double yuck (images)
|
||||
|
||||
protected:
|
||||
void DisposeFonts(); // MUST be called before disposing of PS
|
||||
|
@ -153,7 +152,6 @@ class nsPrintSurface : public nsOnscreenSurface
|
|||
virtual ~nsPrintSurface();
|
||||
|
||||
NS_IMETHOD Init( HPS aPS, PRInt32 aWidth, PRInt32 aHeight);
|
||||
NS_IMETHOD RequiresInvertedMask( PRBool *aNeedsIMask);
|
||||
NS_IMETHOD GetDimensions( PRUint32 *aWidth, PRUint32 *aHeight);
|
||||
};
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче