mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 950467, part 3 - Remove the unused aFrame param from nsFontFaceList::AddFontsFromTextRun. r=roc
This commit is contained in:
parent
60fdccfb9c
commit
8b36172edd
@ -5198,10 +5198,7 @@ nsLayoutUtils::GetFontFacesForText(nsIFrame* aFrame,
|
||||
|
||||
uint32_t skipStart = iter.ConvertOriginalToSkipped(fstart);
|
||||
uint32_t skipEnd = iter.ConvertOriginalToSkipped(fend);
|
||||
aFontFaceList->AddFontsFromTextRun(textRun,
|
||||
skipStart,
|
||||
skipEnd - skipStart,
|
||||
curr);
|
||||
aFontFaceList->AddFontsFromTextRun(textRun, skipStart, skipEnd - skipStart);
|
||||
curr = next;
|
||||
} while (aFollowContinuations && curr);
|
||||
|
||||
|
@ -71,8 +71,7 @@ nsFontFaceList::GetLength(uint32_t *aLength)
|
||||
|
||||
nsresult
|
||||
nsFontFaceList::AddFontsFromTextRun(gfxTextRun* aTextRun,
|
||||
uint32_t aOffset, uint32_t aLength,
|
||||
nsIFrame* aFrame)
|
||||
uint32_t aOffset, uint32_t aLength)
|
||||
{
|
||||
gfxTextRun::GlyphRunIterator iter(aTextRun, aOffset, aLength);
|
||||
while (iter.NextRun()) {
|
||||
|
@ -13,7 +13,6 @@
|
||||
|
||||
class gfxFontEntry;
|
||||
class gfxTextRun;
|
||||
class nsIFrame;
|
||||
|
||||
class nsFontFaceList : public nsIDOMFontFaceList
|
||||
{
|
||||
@ -25,8 +24,7 @@ public:
|
||||
virtual ~nsFontFaceList();
|
||||
|
||||
nsresult AddFontsFromTextRun(gfxTextRun* aTextRun,
|
||||
uint32_t aOffset, uint32_t aLength,
|
||||
nsIFrame* aFrame);
|
||||
uint32_t aOffset, uint32_t aLength);
|
||||
|
||||
protected:
|
||||
nsInterfaceHashtable<nsPtrHashKey<gfxFontEntry>,nsIDOMFontFace> mFontFaces;
|
||||
|
Loading…
Reference in New Issue
Block a user