From 2266917d12ff3ab7e4177ed9b5048b6ca36a2945 Mon Sep 17 00:00:00 2001 From: "pierre%netscape.com" Date: Tue, 5 Jan 1999 03:51:17 +0000 Subject: [PATCH] commented out an annoying assert git-svn-id: svn://10.0.0.236/trunk@17135 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/gfx/src/mac/nsDeviceContextMac.cpp | 3 +-- mozilla/widget/src/mac/nsDeviceContextMac.cpp | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/mozilla/gfx/src/mac/nsDeviceContextMac.cpp b/mozilla/gfx/src/mac/nsDeviceContextMac.cpp index 8dc070e2cd0..a187eb05b73 100644 --- a/mozilla/gfx/src/mac/nsDeviceContextMac.cpp +++ b/mozilla/gfx/src/mac/nsDeviceContextMac.cpp @@ -58,8 +58,7 @@ GDHandle thegd; PixMapHandle thepix; double pix_inch; - - NS_ASSERTION(!(aNativeWidget == nsnull), "attempt to init devicecontext with null widget"); + // NS_ASSERTION(!(aNativeWidget == nsnull), "attempt to init devicecontext with null widget"); // this is a windowptr, or grafptr, native to macintosh only mSurface = aNativeWidget; diff --git a/mozilla/widget/src/mac/nsDeviceContextMac.cpp b/mozilla/widget/src/mac/nsDeviceContextMac.cpp index 8dc070e2cd0..a187eb05b73 100644 --- a/mozilla/widget/src/mac/nsDeviceContextMac.cpp +++ b/mozilla/widget/src/mac/nsDeviceContextMac.cpp @@ -58,8 +58,7 @@ GDHandle thegd; PixMapHandle thepix; double pix_inch; - - NS_ASSERTION(!(aNativeWidget == nsnull), "attempt to init devicecontext with null widget"); + // NS_ASSERTION(!(aNativeWidget == nsnull), "attempt to init devicecontext with null widget"); // this is a windowptr, or grafptr, native to macintosh only mSurface = aNativeWidget;