Attempt to fix startup bustage
git-svn-id: svn://10.0.0.236/trunk@192054 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -3406,7 +3406,7 @@ nsHTMLDocument::GetBodyContent()
|
||||
// Loop backwards because any non-elements, such as doctypes and PIs
|
||||
// are likly to appear before the root element.
|
||||
nsIContent* html = GetRootContent();
|
||||
if (html->Tag() == nsHTMLAtoms::html &&
|
||||
if (html && html->Tag() == nsHTMLAtoms::html &&
|
||||
html->IsContentOfType(nsIContent::eHTML)) {
|
||||
|
||||
// Look for body inside html
|
||||
|
||||
Reference in New Issue
Block a user