diff --git a/mozilla/content/html/document/src/nsHTMLContentSink.cpp b/mozilla/content/html/document/src/nsHTMLContentSink.cpp index 1b0ddd65533..ce1c64e69d3 100644 --- a/mozilla/content/html/document/src/nsHTMLContentSink.cpp +++ b/mozilla/content/html/document/src/nsHTMLContentSink.cpp @@ -4986,7 +4986,7 @@ HTMLContentSink::ProcessLINKTag(const nsIParserNode& aNode) nsStringArray linkTypes; nsStyleLinkElement::ParseLinkTypes(relVal, linkTypes); if (linkTypes.IndexOf(NS_LITERAL_STRING("next")) != -1 || - linkTypes.IndexOf(NS_LITERAL_STRING("prefetch")) != 1) { + linkTypes.IndexOf(NS_LITERAL_STRING("prefetch")) != -1) { nsAutoString hrefVal; element->GetAttr(kNameSpaceID_None, nsHTMLAtoms::href, hrefVal); if (!hrefVal.IsEmpty()) {