mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-28 05:10:49 +00:00

nsIEditActionListner::DidSplitNode() takes 4 arguments, the right node, old offset in the old right node before splitting, the new left node and nsresult. Computing offset for this doesn't make sense because it's always same as the length of the left node. Additionally, nobody currently use nsersult. So, we can get rid of it now. Fortunately, nobody including comm-central and BlueGriffon implements WillSplitNode(). So, we can get rid of it. However, removing interface method should be done in a follow up bug. So, we can remove offset computation in EditorBase::SplitNode() completely in the future. MozReview-Commit-ID: JWj34SjBNJh --HG-- extra : rebase_source : f0e1ed0e466dc8217c1a0ab1722790883a7efd1f