forked from mirrors/gecko-dev
Bug 196078 - Part 1: Remove duplicate gXMLTypes check from nsContentDLF, r=smaug
This was a typo introduced in bug 1209658. Previously the code would be checking `gXULTypes`. Support for XUL documents has since been removed from Gecko, so the code is no longer necessary. Differential Revision: https://phabricator.services.mozilla.com/D212077
This commit is contained in:
parent
9306cb7c3e
commit
c613d7241c
1 changed files with 1 additions and 2 deletions
|
|
@ -101,8 +101,7 @@ nsContentDLF::CreateInstance(const char* aCommand, nsIChannel* aChannel,
|
|||
IsTypeInList(type, gHTMLTypes)) ||
|
||||
nsContentUtils::IsPlainTextType(type) ||
|
||||
IsTypeInList(type, gXMLTypes) ||
|
||||
IsTypeInList(type, gSVGTypes) ||
|
||||
IsTypeInList(type, gXMLTypes);
|
||||
IsTypeInList(type, gSVGTypes);
|
||||
|
||||
if (knownType) {
|
||||
viewSourceChannel->SetContentType(type);
|
||||
|
|
|
|||
Loading…
Reference in a new issue