mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-06 00:31:27 +00:00

`HTMLEditRules::OnModifyDocument()` is same as just calling `EditorBase::EnsureNoPaddingBRElementForEmptyEditor()` and `EditorBase::MaybeCreatePaddingBRElementForEmptyEditor()` so that this patch gets rid of the method, then, creates `HTMLEditor::OnModifyDocumentInternal()` and makes it do same thing. Differential Revision: https://phabricator.services.mozilla.com/D41161 --HG-- extra : moz-landing-system : lando