diff options
author | wolfbeast <mcwerewolf@wolfbeast.com> | 2019-12-06 14:54:57 +0100 |
---|---|---|
committer | wolfbeast <mcwerewolf@wolfbeast.com> | 2019-12-06 14:54:57 +0100 |
commit | e287979b3eedb2c67a3c6da2991fdb56a4d35742 (patch) | |
tree | 34c94349f2099892901235e110403d29b9431c47 /dom/base/nsPlainTextSerializer.h | |
parent | 5d4c82e0923e63077738ba4b63ab290810537f11 (diff) | |
download | UXP-e287979b3eedb2c67a3c6da2991fdb56a4d35742.tar UXP-e287979b3eedb2c67a3c6da2991fdb56a4d35742.tar.gz UXP-e287979b3eedb2c67a3c6da2991fdb56a4d35742.tar.lz UXP-e287979b3eedb2c67a3c6da2991fdb56a4d35742.tar.xz UXP-e287979b3eedb2c67a3c6da2991fdb56a4d35742.zip |
Fix incorrect values for saving ordered lists as text.
Diffstat (limited to 'dom/base/nsPlainTextSerializer.h')
-rw-r--r-- | dom/base/nsPlainTextSerializer.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dom/base/nsPlainTextSerializer.h b/dom/base/nsPlainTextSerializer.h index 5055c75a0..650a8e3e7 100644 --- a/dom/base/nsPlainTextSerializer.h +++ b/dom/base/nsPlainTextSerializer.h @@ -81,6 +81,7 @@ private: void Write(const nsAString& aString); bool IsInPre(); bool IsInOL(); + bool IsInOLOrUL() const; bool IsCurrentNodeConverted(); bool MustSuppressLeaf(); @@ -218,8 +219,7 @@ private: uint32_t mIgnoreAboveIndex; // The stack for ordered lists - int32_t *mOLStack; - uint32_t mOLStackIndex; + AutoTArray<int32_t, 100> mOLStack; uint32_t mULCount; |