mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-09 05:14:24 +00:00
fixing build bustage
This commit is contained in:
parent
3782549a8d
commit
5074c2009b
@ -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) {
|
||||
|
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user