зеркало из https://github.com/mozilla/gecko-dev.git
bug 75066; author=simon@softel.co.il; r=jst; sr=erik; this change addresses
a comment made during review of 75066 (nsBidiOptions -> PRUint32)
This commit is contained in:
Родитель
911c409db2
Коммит
3a3f55f136
|
@ -1499,7 +1499,7 @@ nsPresContext::GetBidiUtils(nsBidiPresUtils** aBidiUtils)
|
|||
return rv;
|
||||
}
|
||||
|
||||
NS_IMETHODIMP nsPresContext::SetBidi(nsBidiOptions aSource, PRBool aForceReflow)
|
||||
NS_IMETHODIMP nsPresContext::SetBidi(PRUint32 aSource, PRBool aForceReflow)
|
||||
{
|
||||
mBidi = aSource;
|
||||
if (IBMBIDI_TEXTDIRECTION_RTL == GET_BIDI_OPTION_DIRECTION(mBidi)
|
||||
|
@ -1520,7 +1520,7 @@ NS_IMETHODIMP nsPresContext::SetBidi(nsBidiOptions aSource, PRBool aForceReflo
|
|||
}
|
||||
return NS_OK;
|
||||
}
|
||||
NS_IMETHODIMP nsPresContext::GetBidi(nsBidiOptions * aDest)
|
||||
NS_IMETHODIMP nsPresContext::GetBidi(PRUint32* aDest)
|
||||
{
|
||||
if (aDest)
|
||||
*aDest = mBidi;
|
||||
|
|
|
@ -1499,7 +1499,7 @@ nsPresContext::GetBidiUtils(nsBidiPresUtils** aBidiUtils)
|
|||
return rv;
|
||||
}
|
||||
|
||||
NS_IMETHODIMP nsPresContext::SetBidi(nsBidiOptions aSource, PRBool aForceReflow)
|
||||
NS_IMETHODIMP nsPresContext::SetBidi(PRUint32 aSource, PRBool aForceReflow)
|
||||
{
|
||||
mBidi = aSource;
|
||||
if (IBMBIDI_TEXTDIRECTION_RTL == GET_BIDI_OPTION_DIRECTION(mBidi)
|
||||
|
@ -1520,7 +1520,7 @@ NS_IMETHODIMP nsPresContext::SetBidi(nsBidiOptions aSource, PRBool aForceReflo
|
|||
}
|
||||
return NS_OK;
|
||||
}
|
||||
NS_IMETHODIMP nsPresContext::GetBidi(nsBidiOptions * aDest)
|
||||
NS_IMETHODIMP nsPresContext::GetBidi(PRUint32* aDest)
|
||||
{
|
||||
if (aDest)
|
||||
*aDest = mBidi;
|
||||
|
|
Загрузка…
Ссылка в новой задаче