зеркало из https://github.com/mozilla/pjs.git
[OS/2] fix build bustage following bug 403589
This commit is contained in:
Родитель
bf5082c3ac
Коммит
fe3728c2d3
|
@ -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;
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче