summaryrefslogtreecommitdiffstats
path: root/dom/html
diff options
context:
space:
mode:
authorMatt A. Tobin <email@mattatobin.com>2020-06-13 08:21:48 -0400
committerMatt A. Tobin <email@mattatobin.com>2020-06-13 08:21:48 -0400
commit43725c7264ca3f63de348d1d1596ce1fe9e64d2d (patch)
treee1ff1b11cc54e63b665aab1aa3776a62ee56250d /dom/html
parent35754dd1af72abcae49edd2eeb76855d999a4e6d (diff)
downloadUXP-43725c7264ca3f63de348d1d1596ce1fe9e64d2d.tar
UXP-43725c7264ca3f63de348d1d1596ce1fe9e64d2d.tar.gz
UXP-43725c7264ca3f63de348d1d1596ce1fe9e64d2d.tar.lz
UXP-43725c7264ca3f63de348d1d1596ce1fe9e64d2d.tar.xz
UXP-43725c7264ca3f63de348d1d1596ce1fe9e64d2d.zip
Bug 1426494 - Share more code between nsIDocument and ShadowRoot
Tag #1375
Diffstat (limited to 'dom/html')
-rw-r--r--dom/html/nsHTMLDocument.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/dom/html/nsHTMLDocument.h b/dom/html/nsHTMLDocument.h
index c9e46b3fa..4f44befbb 100644
--- a/dom/html/nsHTMLDocument.h
+++ b/dom/html/nsHTMLDocument.h
@@ -155,10 +155,7 @@ public:
virtual void RemovedFromDocShell() override;
- virtual mozilla::dom::Element *GetElementById(const nsAString& aElementId) override
- {
- return nsDocument::GetElementById(aElementId);
- }
+ using mozilla::dom::DocumentOrShadowRoot::GetElementById;
virtual void DocAddSizeOfExcludingThis(nsWindowSizes* aWindowSizes) const override;
// DocAddSizeOfIncludingThis is inherited from nsIDocument.