summaryrefslogtreecommitdiffstats
path: root/dom/base/StaticRange.h
diff options
context:
space:
mode:
Diffstat (limited to 'dom/base/StaticRange.h')
-rw-r--r--dom/base/StaticRange.h12
1 files changed, 1 insertions, 11 deletions
diff --git a/dom/base/StaticRange.h b/dom/base/StaticRange.h
index af7054f843..249c938b2f 100644
--- a/dom/base/StaticRange.h
+++ b/dom/base/StaticRange.h
@@ -19,7 +19,7 @@ class ErrorResult;
namespace dom {
-class StaticRange final : public AbstractRange {
+class StaticRange : public AbstractRange {
public:
StaticRange() = delete;
explicit StaticRange(const StaticRange& aOther) = delete;
@@ -71,16 +71,6 @@ class StaticRange final : public AbstractRange {
*/
bool IsValid() const;
- void NotifyNodeBecomesShadowHost(nsINode* aNode) {
- if (aNode == mStart.Container()) {
- mStart.NotifyParentBecomesShadowHost();
- }
-
- if (aNode == mEnd.Container()) {
- mEnd.NotifyParentBecomesShadowHost();
- }
- }
-
private:
// Whether the start and end points are in the same tree.
// They could be in different trees, i.e, cross shadow boundaries.