mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
bug 386937: get rid of ConvertPixels (r=vladimir)
This commit is contained in:
parent
1e1815dfeb
commit
9636e467d5
@ -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)
|
||||
{
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user