Bug 1117227 part 5 - Render ellipsis in correct orientation.

This commit is contained in:
Xidorn Quan
2017-04-03 12:39:51 +02:00
committed by roytam1
parent 07f4430218
commit b8ea09a221
5 changed files with 30 additions and 20 deletions
+3 -1
View File
@@ -49,7 +49,9 @@ GetEllipsisTextRun(nsIFrame* aFrame)
nsLayoutUtils::FontSizeInflationFor(aFrame));
LazyReferenceRenderingContextGetterFromFrame lazyRefContextGetter(aFrame);
return fm->GetThebesFontGroup()->GetEllipsisTextRun(
aFrame->PresContext()->AppUnitsPerDevPixel(), lazyRefContextGetter);
aFrame->PresContext()->AppUnitsPerDevPixel(),
nsLayoutUtils::GetTextRunOrientFlagsForStyle(aFrame->StyleContext()),
lazyRefContextGetter);
}
static nsIFrame*