mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-23 21:01:08 +00:00
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
2ae6781b16
commit
205b94f6af
@ -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 New Issue
Block a user