Bustage fix. b=391243

This commit is contained in:
mats.palmgren@bredband.net 2007-08-14 04:46:26 -07:00
parent 366ef443ee
commit bce3d84005

View File

@ -80,7 +80,7 @@ static PRLogModuleInfo *gFontLog = PR_NewLogModule("winfonts");
struct DCFromContext {
DCFromContext(gfxContext *aContext) {
HDC dc = NULL;
dc = NULL;
nsRefPtr<gfxASurface> aSurface = aContext->CurrentSurface();
NS_ASSERTION(aSurface, "DCFromContext: null surface");
if (aSurface && aSurface->GetType() == gfxASurface::SurfaceTypeWin32) {