[OS/2] fix build bustage following bug 403589

This commit is contained in:
mozilla%weilbacher.org 2007-11-16 20:50:06 +00:00
Родитель bf5082c3ac
Коммит fe3728c2d3
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -431,7 +431,7 @@ static PRInt32 AppendDirectionalIndicatorUTF8(PRBool aIsRTL, nsACString& aString
gfxTextRun *gfxOS2FontGroup::MakeTextRun(const PRUnichar* aString, PRUint32 aLength, gfxTextRun *gfxOS2FontGroup::MakeTextRun(const PRUnichar* aString, PRUint32 aLength,
const Parameters* aParams, PRUint32 aFlags) const Parameters* aParams, PRUint32 aFlags)
{ {
gfxTextRun *textRun = new gfxTextRun(aParams, aString, aLength, this, aFlags); gfxTextRun *textRun = gfxTextRun::Create(aParams, aString, aLength, this, aFlags);
if (!textRun) if (!textRun)
return nsnull; return nsnull;
@ -464,7 +464,7 @@ gfxTextRun *gfxOS2FontGroup::MakeTextRun(const PRUint8* aString, PRUint32 aLengt
(unsigned)this, NS_LossyConvertUTF16toASCII(us).get(), aLength, (unsigned)aParams, aFlags); (unsigned)this, NS_LossyConvertUTF16toASCII(us).get(), aLength, (unsigned)aParams, aFlags);
#endif #endif
NS_ASSERTION(aFlags & TEXT_IS_8BIT, "8bit should have been set"); NS_ASSERTION(aFlags & TEXT_IS_8BIT, "8bit should have been set");
gfxTextRun *textRun = new gfxTextRun(aParams, aString, aLength, this, aFlags); gfxTextRun *textRun = gfxTextRun::Create(aParams, aString, aLength, this, aFlags);
if (!textRun) if (!textRun)
return nsnull; return nsnull;