if (linkTypes.IndexOf(NS_LITERAL_STRING("next")) != -1) { ProcessNextLink(aHref);
if (linkTypes.IndexOf(NS_LITERAL_STRING("next")) != -1 || linkTypes.IndexOf(NS_LITERAL_STRING("prefetch")) != -1) { PrefetchHref(aHref);
HTMLContentSink::ProcessLink(nsIHTMLContent* aElement,                             const nsString& aHref, const nsString& aRel,                             const nsString& aTitle, const nsString& aType,                             const nsString& aMedia){  nsresult result = NS_OK;  // XXX seems overkill to generate this string array  nsStringArray linkTypes;  nsStyleLinkElement::ParseLinkTypes(aRel, linkTypes);  // is it a next link?  if (linkTypes.IndexOf(NS_LITERAL_STRING("next")) != -1) {    ProcessNextLink(aHref);  }  // is it a stylesheet link?  if (linkTypes.IndexOf(NS_LITERAL_STRING("stylesheet")) != -1) {    result = ProcessStyleLink(aElement, aHref, linkTypes, aTitle, aType,                              aMedia);  }  return result;}