summaryrefslogtreecommitdiffstats
path: root/dom/xul/XULDocument.h
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2020-06-14 10:01:06 +0000
committerGitHub <noreply@github.com>2020-06-14 10:01:06 +0000
commit7cc007d9bf8927fc4ce1d5ea80a843d6edfc17dd (patch)
tree7b3ba52faca3704faf53d8248cbe130a32481b21 /dom/xul/XULDocument.h
parent59a5adc93415f6d6e8ce4352ba0cd2d34d5e7888 (diff)
parentbbd59105da97200947ae62b2dc949a1130a40d75 (diff)
downloadUXP-7cc007d9bf8927fc4ce1d5ea80a843d6edfc17dd.tar
UXP-7cc007d9bf8927fc4ce1d5ea80a843d6edfc17dd.tar.gz
UXP-7cc007d9bf8927fc4ce1d5ea80a843d6edfc17dd.tar.lz
UXP-7cc007d9bf8927fc4ce1d5ea80a843d6edfc17dd.tar.xz
UXP-7cc007d9bf8927fc4ce1d5ea80a843d6edfc17dd.zip
Merge pull request #1591 from MoonchildProductions/sr.activeElement-work
Implement ShadowRoot.activeElement
Diffstat (limited to 'dom/xul/XULDocument.h')
-rw-r--r--dom/xul/XULDocument.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/dom/xul/XULDocument.h b/dom/xul/XULDocument.h
index 06abb797f..a5ed49704 100644
--- a/dom/xul/XULDocument.h
+++ b/dom/xul/XULDocument.h
@@ -148,6 +148,7 @@ public:
using nsDocument::CreateElementNS;
NS_FORWARD_NSIDOMDOCUMENT(XMLDocument::)
// And explicitly import the things from nsDocument that we just shadowed
+ using mozilla::dom::DocumentOrShadowRoot::GetElementById;
using nsDocument::GetImplementation;
using nsDocument::GetTitle;
using nsDocument::SetTitle;
@@ -156,8 +157,8 @@ public:
using nsDocument::GetMozFullScreenElement;
using nsIDocument::GetLocation;
- // nsDocument interface overrides
- virtual Element* GetElementById(const nsAString & elementId) override;
+ // Helper for StyleScope::GetElementById.
+ Element* GetRefById(const nsAString & elementId);
// nsIDOMXULDocument interface
NS_DECL_NSIDOMXULDOCUMENT