mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-27 12:50:09 +00:00

AutoPlaceHolderBatch can take EditorBase class and its inherited class, AutoEditBatch, can be removed if we implement other constructor which doesn't take transaction name. Additionally, nsIEditor::(Begin|End)PlaceHolderTransaction() are referred only by AutoPlaceHolderBatch. Therefore, they can be non-public methods and removed from nsIEditor interface. Note that this patch also repalces "PlaceHolder" with "Placeholder" since it's a word. MozReview-Commit-ID: 5dw3kcX3bOx --HG-- extra : rebase_source : e926cc1c2ebea70eb08e43778a8b52912b559b7b