summaryrefslogtreecommitdiffstats
path: root/dom/base/DirectionalityUtils.h
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 01:13:27 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 01:13:27 +0000
commit40a355a42d4a9444dc753c04c6608dade2f06a23 (patch)
tree871fc667d2de662f171103ce5ec067014ef85e61 /dom/base/DirectionalityUtils.h
parentAdding upstream version 124.0.1. (diff)
downloadfirefox-adbda400be353e676059e335c3c0aaf99e719475.tar.xz
firefox-adbda400be353e676059e335c3c0aaf99e719475.zip
Adding upstream version 125.0.1.upstream/125.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'dom/base/DirectionalityUtils.h')
-rw-r--r--dom/base/DirectionalityUtils.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/dom/base/DirectionalityUtils.h b/dom/base/DirectionalityUtils.h
index 17cec80485..0012a1d4be 100644
--- a/dom/base/DirectionalityUtils.h
+++ b/dom/base/DirectionalityUtils.h
@@ -18,6 +18,7 @@ class nsTextNode;
namespace mozilla::dom {
class Element;
class HTMLSlotElement;
+struct UnbindContext;
} // namespace mozilla::dom
namespace mozilla {
@@ -133,10 +134,8 @@ void SetDirectionFromNewTextNode(nsTextNode* aTextNode);
/**
* When a text node is removed from a document, find any ancestors whose
* directionality it determined and redetermine their directionality
- *
- * @param aTextNode the text node
*/
-void ResetDirectionSetByTextNode(nsTextNode* aTextNode);
+void ResetDirectionSetByTextNode(nsTextNode*, dom::UnbindContext&);
/**
* Set the directionality of an element according to the directionality of the