summaryrefslogtreecommitdiffstats
path: root/dom/html/nsHTMLDocument.h
diff options
context:
space:
mode:
authorGaming4JC <g4jc@hyperbola.info>2020-01-01 14:56:19 -0500
committerGaming4JC <g4jc@hyperbola.info>2020-01-26 15:49:16 -0500
commita2b56b295b8bd089b74c5d93148edafe7e6da912 (patch)
treeb982cd6ea8477203d0081c64224f9955bd376d84 /dom/html/nsHTMLDocument.h
parenta1cce3b2b00bbd9f4983013ddd8934a7bccb9e99 (diff)
downloadUXP-a2b56b295b8bd089b74c5d93148edafe7e6da912.tar
UXP-a2b56b295b8bd089b74c5d93148edafe7e6da912.tar.gz
UXP-a2b56b295b8bd089b74c5d93148edafe7e6da912.tar.lz
UXP-a2b56b295b8bd089b74c5d93148edafe7e6da912.tar.xz
UXP-a2b56b295b8bd089b74c5d93148edafe7e6da912.zip
Bug 1276438 part 1. Move the implementation of the .body getter from nsHTMLDocument to nsIDocument.
Tag UXP Issue #1344 Tag UXP Issue #252
Diffstat (limited to 'dom/html/nsHTMLDocument.h')
-rw-r--r--dom/html/nsHTMLDocument.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/dom/html/nsHTMLDocument.h b/dom/html/nsHTMLDocument.h
index 1fa81f6cd..02fc22d42 100644
--- a/dom/html/nsHTMLDocument.h
+++ b/dom/html/nsHTMLDocument.h
@@ -175,7 +175,7 @@ public:
JS::MutableHandle<JSObject*> aRetval,
mozilla::ErrorResult& rv);
void GetSupportedNames(nsTArray<nsString>& aNames);
- nsGenericHTMLElement *GetBody();
+ using nsIDocument::GetBody;
void SetBody(nsGenericHTMLElement* aBody, mozilla::ErrorResult& rv);
mozilla::dom::HTMLSharedElement *GetHead() {
return static_cast<mozilla::dom::HTMLSharedElement*>(GetHeadElement());