Bug 1623413 - Part 2: Rename Collapse() to CollapseInLimiter() r=masayuki
Depends on D88702 Differential Revision: https://phabricator.services.mozilla.com/D88920
This commit is contained in:
@@ -112,8 +112,9 @@ NS_IMETHODIMP SplitNodeTransaction::DoTransaction() {
|
||||
return NS_ERROR_FAILURE;
|
||||
}
|
||||
EditorRawDOMPoint atEndOfLeftNode(EditorRawDOMPoint::AtEndOf(newLeftContent));
|
||||
selection->Collapse(atEndOfLeftNode, error);
|
||||
NS_WARNING_ASSERTION(!error.Failed(), "Selection::Collapse() failed");
|
||||
selection->CollapseInLimiter(atEndOfLeftNode, error);
|
||||
NS_WARNING_ASSERTION(!error.Failed(),
|
||||
"Selection::CollapseInLimiter() failed");
|
||||
return error.StealNSResult();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user