Checking for null pointer. r=pavlov

This commit is contained in:
mcafee%netscape.com 1999-09-28 01:46:58 +00:00
parent 945164901c
commit 20253a4208

View File

@ -421,6 +421,10 @@ NS_IMETHODIMP nsRenderingContextGTK::SetClipRegion(const nsIRegion& aRegion,
{
GdkRegion *rgn;
if(!mClipRegion) {
return NS_ERROR_FAILURE;
}
switch(aCombine)
{
case nsClipCombine_kIntersect: