mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 697210 - Part b: Remove unnecessary IsHTML() check in nsDocument::CreateElement; r=bz
This commit is contained in:
parent
a505598085
commit
e169ba623f
@ -4380,9 +4380,7 @@ nsDocument::CreateElement(const nsAString& aTagName,
|
||||
}
|
||||
|
||||
rv = CreateElem(needsLowercase ? lcTagName : aTagName,
|
||||
nsnull,
|
||||
IsHTML() ? kNameSpaceID_XHTML : GetDefaultNamespaceID(),
|
||||
true, aReturn);
|
||||
nsnull, mDefaultElementType, false, aReturn);
|
||||
return rv;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user