fixing build bustage

This commit is contained in:
pavlov%pavlov.net 2006-08-09 21:13:40 +00:00
parent 3782549a8d
commit 5074c2009b
2 changed files with 2 additions and 8 deletions

View File

@ -73,7 +73,7 @@ public:
virtual gfxTextRun *MakeTextRun(const nsAString& aString);
virtual gfxTextRun *MakeTextRun(const nsACString& aCString) {
return MakeTextRun(NS_ConvertASCIItoUTF16(aCString));
return MakeTextRun(*NS_ConvertASCIItoUTF16(aCString));
}
gfxPangoFont *GetFontAt(PRInt32 i) {

View File

@ -168,13 +168,7 @@ gfxPangoFontGroup::~gfxPangoFontGroup()
gfxTextRun*
gfxPangoFontGroup::MakeTextRun(const nsAString& aString)
{
return new gfxPangoTextRun(&aString, this);
}
gfxTextRun*
gfxPangoFontGroup::MakeTextRun(const nsACString& aString)
{
return new gfxPangoTextRun(&aString, this);
return new gfxPangoTextRun(*aString, this);
}
/**