mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-02 20:20:00 +00:00
Initialize mIsTopToBottom to PR_TRUE; remove GetBytesPix
This commit is contained in:
parent
dbc46c529c
commit
61b887f85d
@ -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()
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user