From fe3728c2d38ff7231efc465c16fdc201483c9d45 Mon Sep 17 00:00:00 2001 From: "mozilla%weilbacher.org" Date: Fri, 16 Nov 2007 20:50:06 +0000 Subject: [PATCH] [OS/2] fix build bustage following bug 403589 --- gfx/thebes/src/gfxOS2Fonts.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gfx/thebes/src/gfxOS2Fonts.cpp b/gfx/thebes/src/gfxOS2Fonts.cpp index 56c09a85e10..2a138b9d2d8 100644 --- a/gfx/thebes/src/gfxOS2Fonts.cpp +++ b/gfx/thebes/src/gfxOS2Fonts.cpp @@ -431,7 +431,7 @@ static PRInt32 AppendDirectionalIndicatorUTF8(PRBool aIsRTL, nsACString& aString gfxTextRun *gfxOS2FontGroup::MakeTextRun(const PRUnichar* aString, PRUint32 aLength, 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) return nsnull; @@ -464,7 +464,7 @@ gfxTextRun *gfxOS2FontGroup::MakeTextRun(const PRUint8* aString, PRUint32 aLengt (unsigned)this, NS_LossyConvertUTF16toASCII(us).get(), aLength, (unsigned)aParams, aFlags); #endif 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) return nsnull;