bug 386937: get rid of ConvertPixels (r=vladimir)

This commit is contained in:
Alfred Kayser 2010-02-12 10:17:51 +01:00
parent 1e1815dfeb
commit 9636e467d5
2 changed files with 0 additions and 11 deletions

View File

@ -907,13 +907,6 @@ nsThebesDeviceContext::GetDepth(PRUint32& aDepth)
return NS_OK;
}
NS_IMETHODIMP
nsThebesDeviceContext::ConvertPixel(nscolor aColor, PRUint32 & aPixel)
{
aPixel = aColor;
return NS_OK;
}
NS_IMETHODIMP
nsThebesDeviceContext::GetDeviceSurfaceDimensions(nscoord &aWidth, nscoord &aHeight)
{

View File

@ -114,8 +114,6 @@ public:
NS_IMETHOD GetDepth(PRUint32& aDepth);
NS_IMETHOD ConvertPixel(nscolor aColor, PRUint32& aPixel);
NS_IMETHOD GetDeviceSurfaceDimensions(nscoord& aWidth, nscoord& aHeight);
NS_IMETHOD GetRect(nsRect& aRect);
NS_IMETHOD GetClientRect(nsRect& aRect);
@ -135,8 +133,6 @@ public:
NS_IMETHOD EndPage(void);
/* end printing goop */
static void DebugShowCairoSurface (const char *aName, cairo_surface_t *aSurface);
virtual PRBool CheckDPIChange();
virtual PRBool SetPixelScale(float aScale);