summaryrefslogtreecommitdiffstats
path: root/editor/libeditor/nsIAbsorbingTransaction.h
diff options
context:
space:
mode:
authorMatt A. Tobin <email@mattatobin.com>2020-04-17 05:45:53 -0400
committerMatt A. Tobin <email@mattatobin.com>2020-04-17 05:45:53 -0400
commitea3a2ce279f92457bfd6168f97b106be193ea740 (patch)
treee16a1be460feee615ade9b680fd00a171c8b90cd /editor/libeditor/nsIAbsorbingTransaction.h
parent5a379a4b15b4da55f5fda0be56c43a85e0162f05 (diff)
downloadUXP-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.h4
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,