mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-03 10:33:33 +00:00
removing unused variables. r=me
This commit is contained in:
parent
cefc7502df
commit
6f1d83a9a1
@ -59,8 +59,6 @@ gfxWindowsSurface::gfxWindowsSurface(HDC dc, PRBool deleteDC) :
|
||||
gfxWindowsSurface::gfxWindowsSurface(unsigned long width, unsigned long height, gfxImageFormat imageFormat) :
|
||||
mOwnsDC(PR_FALSE), mWnd(nsnull)
|
||||
{
|
||||
HBITMAP bmp = nsnull;
|
||||
|
||||
cairo_surface_t *surf = cairo_win32_surface_create_with_dib((cairo_format_t)imageFormat,
|
||||
width, height);
|
||||
if (!surf || cairo_surface_status(surf)) {
|
||||
@ -75,8 +73,6 @@ gfxWindowsSurface::gfxWindowsSurface(unsigned long width, unsigned long height,
|
||||
gfxWindowsSurface::gfxWindowsSurface(HDC dc, unsigned long width, unsigned long height, gfxImageFormat imageFormat) :
|
||||
mOwnsDC(PR_FALSE), mWnd(nsnull)
|
||||
{
|
||||
HBITMAP bmp = nsnull;
|
||||
|
||||
cairo_surface_t *surf = cairo_win32_surface_create_with_ddb(dc, (cairo_format_t)imageFormat,
|
||||
width, height);
|
||||
if (!surf || cairo_surface_status(surf)) {
|
||||
|
Loading…
Reference in New Issue
Block a user