diff options
author | Gaming4JC <g4jc@hyperbola.info> | 2020-05-22 11:48:40 -0400 |
---|---|---|
committer | Gaming4JC <g4jc@hyperbola.info> | 2020-06-14 15:24:46 -0400 |
commit | 3dde51910e1722c91dc4d712878402257384e39c (patch) | |
tree | 3521ddbcb478a3e79a8739ae93895334a6317242 /dom/media/MediaTrack.h | |
parent | 9f2a6d370342f8ec6f7e92bbb891e31d91a08d19 (diff) | |
download | UXP-3dde51910e1722c91dc4d712878402257384e39c.tar UXP-3dde51910e1722c91dc4d712878402257384e39c.tar.gz UXP-3dde51910e1722c91dc4d712878402257384e39c.tar.lz UXP-3dde51910e1722c91dc4d712878402257384e39c.tar.xz UXP-3dde51910e1722c91dc4d712878402257384e39c.zip |
Bug 1316302 - Part 3: Create EditActionResult class for making the methods which return nsresult, handled and canceled with out params
In a lot of places, edit action handlers and their helper methods return nsresult and aHandled and aCanceled with out params. However, the out params cause the code complicated since:
* it's not unclear if the method will overwrite aHandled and aCanceled value.
* callers need to create temporary variable event if some of them are not necessary.
This patch rewrites the helper methods of HTMLEditRules::WillDeleteSelection() with it.
Tag #1563
Diffstat (limited to 'dom/media/MediaTrack.h')
0 files changed, 0 insertions, 0 deletions