diff options
author | Matt A. Tobin <email@mattatobin.com> | 2020-04-17 05:45:53 -0400 |
---|---|---|
committer | Matt A. Tobin <email@mattatobin.com> | 2020-04-17 05:45:53 -0400 |
commit | ea3a2ce279f92457bfd6168f97b106be193ea740 (patch) | |
tree | e16a1be460feee615ade9b680fd00a171c8b90cd /editor/libeditor/nsIAbsorbingTransaction.h | |
parent | 5a379a4b15b4da55f5fda0be56c43a85e0162f05 (diff) | |
download | UXP-ea3a2ce279f92457bfd6168f97b106be193ea740.tar UXP-ea3a2ce279f92457bfd6168f97b106be193ea740.tar.gz UXP-ea3a2ce279f92457bfd6168f97b106be193ea740.tar.lz UXP-ea3a2ce279f92457bfd6168f97b106be193ea740.tar.xz UXP-ea3a2ce279f92457bfd6168f97b106be193ea740.zip |
Bug 1372829 - Part 1: Make mozilla::PlaceholderTransaction inherit mozilla::SupportsWeakPtr instead of nsSupportsWeakReference
Tag #1375
Diffstat (limited to 'editor/libeditor/nsIAbsorbingTransaction.h')
-rw-r--r-- | editor/libeditor/nsIAbsorbingTransaction.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/editor/libeditor/nsIAbsorbingTransaction.h b/editor/libeditor/nsIAbsorbingTransaction.h index b2d7b2c79..06329f3d4 100644 --- a/editor/libeditor/nsIAbsorbingTransaction.h +++ b/editor/libeditor/nsIAbsorbingTransaction.h @@ -23,6 +23,7 @@ class nsIAtom; namespace mozilla { class EditorBase; +class PlaceholderTransaction; class SelectionState; } // namespace mozilla @@ -45,6 +46,9 @@ public: NS_IMETHOD ForwardEndBatchTo(nsIAbsorbingTransaction *aForwardingAddress)=0; NS_IMETHOD Commit()=0; + + NS_IMETHOD_(mozilla::PlaceholderTransaction*) + AsPlaceholderTransaction() = 0; }; NS_DEFINE_STATIC_IID_ACCESSOR(nsIAbsorbingTransaction, |