Bug 1396976 - Flush IME document changes when entering nested Document Update, r=masayuki

This commit is contained in:
Michael Layzell 2017-09-12 15:55:01 -04:00
parent 6e8114439a
commit 44f1d8fa25

View File

@ -1376,7 +1376,10 @@ IMEContentObserver::BeginDocumentUpdate()
"HasAddedNodesDuringDocumentChange()=%s",
this, ToChar(HasAddedNodesDuringDocumentChange())));
MOZ_ASSERT(!HasAddedNodesDuringDocumentChange());
// If we're not in a nested document update, this will return early,
// otherwise, it will handle flusing any changes currently pending before
// entering a nested document update.
MaybeNotifyIMEOfAddedTextDuringDocumentChange();
}
void