Bug 1634153 - Rename and devirtualize nsITextControlFrame::ScrollSelectionIntoView. r=masayuki

To make clear it happens async.

Depends on D73181

Differential Revision: https://phabricator.services.mozilla.com/D73185
This commit is contained in:
Emilio Cobos Álvarez
2020-04-30 04:04:40 +00:00
parent b7df86683d
commit a286b45794
4 changed files with 13 additions and 15 deletions

View File

@@ -2081,7 +2081,7 @@ void TextControlState::SetSelectionRange(
return;
}
if (mBoundFrame) {
rv = mBoundFrame->ScrollSelectionIntoView();
mBoundFrame->ScrollSelectionIntoViewAsync();
}
// Press on to firing the event even if that failed, like our old code did.
// But is that really what we want? Firing the event _and_ throwing from