Bug 1276438 part 2. Move the implementation of the .body setter from nsHTMLDocument to nsIDocument.

Tag UXP Issue #1344
Tag UXP Issue #252
This commit is contained in:
Gaming4JC 2020-01-01 15:04:58 -05:00 committed by Roy Tam
commit c939244e89
4 changed files with 28 additions and 26 deletions

View file

@ -176,7 +176,7 @@ public:
mozilla::ErrorResult& rv);
void GetSupportedNames(nsTArray<nsString>& aNames);
using nsIDocument::GetBody;
void SetBody(nsGenericHTMLElement* aBody, mozilla::ErrorResult& rv);
using nsIDocument::SetBody;
mozilla::dom::HTMLSharedElement *GetHead() {
return static_cast<mozilla::dom::HTMLSharedElement*>(GetHeadElement());
}