зеркало из https://github.com/mozilla/gecko-dev.git
don't know how I omitted this last night, particularly since mscott tested. must shift the bit in the mask to get a new position. This should fix the string hang
This commit is contained in:
Родитель
e0f4c1d6d0
Коммит
387fffdcbc
|
@ -1284,7 +1284,7 @@ inline
|
|||
nsPromiseConcatenation<CharT>
|
||||
operator+( const nsPromiseConcatenation<CharT>& lhs, const basic_nsAReadableString<CharT>& rhs )
|
||||
{
|
||||
return nsPromiseConcatenation<CharT>(lhs, rhs, lhs.GetFragmentIdentifierMask());
|
||||
return nsPromiseConcatenation<CharT>(lhs, rhs, lhs.GetFragmentIdentifierMask()<<1);
|
||||
}
|
||||
|
||||
template <class CharT>
|
||||
|
|
|
@ -1284,7 +1284,7 @@ inline
|
|||
nsPromiseConcatenation<CharT>
|
||||
operator+( const nsPromiseConcatenation<CharT>& lhs, const basic_nsAReadableString<CharT>& rhs )
|
||||
{
|
||||
return nsPromiseConcatenation<CharT>(lhs, rhs, lhs.GetFragmentIdentifierMask());
|
||||
return nsPromiseConcatenation<CharT>(lhs, rhs, lhs.GetFragmentIdentifierMask()<<1);
|
||||
}
|
||||
|
||||
template <class CharT>
|
||||
|
|
|
@ -1284,7 +1284,7 @@ inline
|
|||
nsPromiseConcatenation<CharT>
|
||||
operator+( const nsPromiseConcatenation<CharT>& lhs, const basic_nsAReadableString<CharT>& rhs )
|
||||
{
|
||||
return nsPromiseConcatenation<CharT>(lhs, rhs, lhs.GetFragmentIdentifierMask());
|
||||
return nsPromiseConcatenation<CharT>(lhs, rhs, lhs.GetFragmentIdentifierMask()<<1);
|
||||
}
|
||||
|
||||
template <class CharT>
|
||||
|
|
Загрузка…
Ссылка в новой задаче