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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user