Initialize mIsTopToBottom to PR_TRUE; remove GetBytesPix

This commit is contained in:
syd%netscape.com 1999-03-30 00:58:04 +00:00
parent dbc46c529c
commit 61b887f85d

View File

@ -122,6 +122,7 @@ nsresult
mWidth = aWidth;
mHeight = aHeight;
mDepth = aDepth;
mIsTopToBottom = PR_TRUE;
#ifdef TRACE_IMAGE_ALLOCATION
printf("nsImageGTK::Init(this=%p,%d,%d,%d,%d)\n",
@ -176,13 +177,6 @@ void nsImageGTK::ComputMetrics()
mSizeImage = mRowBytes * mHeight;
}
PRInt32
nsImageGTK::GetBytesPix()
{
NS_NOTYETIMPLEMENTED("somebody called this thang");
return 0;/* XXX */
}
PRInt32
nsImageGTK::GetHeight()
{