зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1635709: part 18) Correct assignment to `aDidAddRange` in `Selection::MaybeAddTableCellRange`. r=masayuki
Differential Revision: https://phabricator.services.mozilla.com/D75100
This commit is contained in:
Родитель
91fe215251
Коммит
cb9ee320b9
|
@ -487,9 +487,11 @@ nsresult Selection::MaybeAddTableCellRange(nsRange& aRange, bool* aDidAddRange,
|
|||
mFrameSelection->mTableSelection.mMode = tableMode;
|
||||
}
|
||||
|
||||
*aDidAddRange = true;
|
||||
return AddRangesForSelectableNodes(&aRange, aOutIndex,
|
||||
DispatchSelectstartEvent::Maybe);
|
||||
result = AddRangesForSelectableNodes(&aRange, aOutIndex,
|
||||
DispatchSelectstartEvent::Maybe);
|
||||
|
||||
*aDidAddRange = *aOutIndex != -1;
|
||||
return result;
|
||||
}
|
||||
|
||||
Selection::Selection(SelectionType aSelectionType,
|
||||
|
|
Загрузка…
Ссылка в новой задаче