summaryrefslogtreecommitdiffstats
path: root/dom/base/nsPlainTextSerializer.cpp
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@wolfbeast.com>2019-08-28 14:39:17 +0200
committerwolfbeast <mcwerewolf@wolfbeast.com>2019-08-28 14:39:17 +0200
commitb58a8779c02e8d4abdaae49e1fcc11efeb407bee (patch)
treedc251f391fe9657bc08341dc4cbcfd0ca431b636 /dom/base/nsPlainTextSerializer.cpp
parent31def0da05280ab834c3585c37ec1b5cde29c89c (diff)
downloadUXP-b58a8779c02e8d4abdaae49e1fcc11efeb407bee.tar
UXP-b58a8779c02e8d4abdaae49e1fcc11efeb407bee.tar.gz
UXP-b58a8779c02e8d4abdaae49e1fcc11efeb407bee.tar.lz
UXP-b58a8779c02e8d4abdaae49e1fcc11efeb407bee.tar.xz
UXP-b58a8779c02e8d4abdaae49e1fcc11efeb407bee.zip
Issue #1221: Pass the original element into
nsXMLContentSerializer::CheckElementEnd so that we can properly determine whether it has children. This resolves #1221
Diffstat (limited to 'dom/base/nsPlainTextSerializer.cpp')
-rw-r--r--dom/base/nsPlainTextSerializer.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/dom/base/nsPlainTextSerializer.cpp b/dom/base/nsPlainTextSerializer.cpp
index ef6bdcac7..8097c4ec8 100644
--- a/dom/base/nsPlainTextSerializer.cpp
+++ b/dom/base/nsPlainTextSerializer.cpp
@@ -390,6 +390,7 @@ nsPlainTextSerializer::AppendElementStart(Element* aElement,
NS_IMETHODIMP
nsPlainTextSerializer::AppendElementEnd(Element* aElement,
+ Element* aOriginalElement /* unused */,
nsAString& aStr)
{
NS_ENSURE_ARG(aElement);