Bug 1591546 Part 2 - Add WritingMode::IsPhysicalRTL(). r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D50772
This commit is contained in:
@@ -1398,7 +1398,7 @@ ImgDrawResult nsImageFrame::DisplayAltFeedback(gfxContext& aRenderingContext,
|
||||
}
|
||||
|
||||
WritingMode wm = GetWritingMode();
|
||||
bool flushRight = !wm.IsPhysicalLTR();
|
||||
bool flushRight = wm.IsPhysicalRTL();
|
||||
|
||||
// If the icon in question is loaded, draw it.
|
||||
uint32_t imageStatus = 0;
|
||||
@@ -1580,7 +1580,7 @@ ImgDrawResult nsImageFrame::DisplayAltFeedbackWithoutLayer(
|
||||
}
|
||||
|
||||
WritingMode wm = GetWritingMode();
|
||||
const bool flushRight = !wm.IsPhysicalLTR();
|
||||
const bool flushRight = wm.IsPhysicalRTL();
|
||||
|
||||
// If the icon in question is loaded, draw it.
|
||||
uint32_t imageStatus = 0;
|
||||
|
||||
Reference in New Issue
Block a user