diff --git a/gfx/thebes/src/gfxQuartzSurface.cpp b/gfx/thebes/src/gfxQuartzSurface.cpp index 9375bcb75f4..39b55abeeb9 100644 --- a/gfx/thebes/src/gfxQuartzSurface.cpp +++ b/gfx/thebes/src/gfxQuartzSurface.cpp @@ -42,7 +42,7 @@ gfxQuartzSurface::gfxQuartzSurface(const gfxSize& size, gfxImageFormat format, PRBool aForPrinting) - : mSize(size), mForPrinting(aForPrinting) + : mCGContext(NULL), mSize(size), mForPrinting(aForPrinting) { unsigned int width = (unsigned int) floor(size.width); unsigned int height = (unsigned int) floor(size.height);