diff --git a/gfx/src/mac/nsDrawingSurfaceMac.cpp b/gfx/src/mac/nsDrawingSurfaceMac.cpp index 54308a446b6a..f3f0fc89afe8 100644 --- a/gfx/src/mac/nsDrawingSurfaceMac.cpp +++ b/gfx/src/mac/nsDrawingSurfaceMac.cpp @@ -234,7 +234,7 @@ GrafPtr savePort; } // create offscreen - QDErr osErr = ::NewGWorld(&offscreenGWorld, depth, &macRect, nil, nil, 0); + QDErr osErr = ::NewGWorld(&offscreenGWorld, depth, &macRect, nil, nil, useTempMem); if (osErr != noErr) return NS_ERROR_FAILURE;