mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 21:31:04 +00:00
Bug 530360 - Replace PR_MIN/PR_MAX with NS_MIN/NS_MAX in /accessible, r=marco.zehe
This commit is contained in:
parent
245e62181e
commit
b25fc47555
@ -285,7 +285,7 @@ nsIntRect nsHyperTextAccessible::GetBoundsForString(nsIFrame *aFrame, PRUint32 a
|
||||
frame->GetOffsets(startFrameTextOffset, endFrameTextOffset);
|
||||
PRInt32 frameTotalTextLength = endFrameTextOffset - startFrameTextOffset;
|
||||
PRInt32 seekLength = endContentOffset - startContentOffset;
|
||||
PRInt32 frameSubStringLength = PR_MIN(frameTotalTextLength - startContentOffsetInFrame, seekLength);
|
||||
PRInt32 frameSubStringLength = NS_MIN(frameTotalTextLength - startContentOffsetInFrame, seekLength);
|
||||
|
||||
// Add the point where the string starts to the frameScreenRect
|
||||
nsPoint frameTextStartPoint;
|
||||
|
Loading…
Reference in New Issue
Block a user