mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-28 11:28:38 +00:00
Attempt to fix startup bustage
This commit is contained in:
parent
0212d59280
commit
32e600a440
@ -3406,7 +3406,7 @@ nsHTMLDocument::GetBodyContent()
|
|||||||
// Loop backwards because any non-elements, such as doctypes and PIs
|
// Loop backwards because any non-elements, such as doctypes and PIs
|
||||||
// are likly to appear before the root element.
|
// are likly to appear before the root element.
|
||||||
nsIContent* html = GetRootContent();
|
nsIContent* html = GetRootContent();
|
||||||
if (html->Tag() == nsHTMLAtoms::html &&
|
if (html && html->Tag() == nsHTMLAtoms::html &&
|
||||||
html->IsContentOfType(nsIContent::eHTML)) {
|
html->IsContentOfType(nsIContent::eHTML)) {
|
||||||
|
|
||||||
// Look for body inside html
|
// Look for body inside html
|
||||||
|
Loading…
Reference in New Issue
Block a user