return DashMatchCompare(aValue, aAttrSelector->mValue, comparator);
return nsStyleUtil::DashMatchCompare(aValue, aAttrSelector->mValue, comparator);
static PRBool AttrMatchesValue(const nsAttrSelector* aAttrSelector,                               const nsString& aValue){  NS_PRECONDITION(aAttrSelector, "Must have an attribute selector");  const nsDefaultStringComparator defaultComparator;  const nsCaseInsensitiveStringComparator ciComparator;  const nsStringComparator& comparator = aAttrSelector->mCaseSensitive                ? NS_STATIC_CAST(const nsStringComparator&, defaultComparator)                : NS_STATIC_CAST(const nsStringComparator&, ciComparator);  switch (aAttrSelector->mFunction) {    case NS_ATTR_FUNC_EQUALS:       return aValue.Equals(aAttrSelector->mValue, comparator);    case NS_ATTR_FUNC_INCLUDES:       return ValueIncludes(aValue, aAttrSelector->mValue, comparator);    case NS_ATTR_FUNC_DASHMATCH:       return DashMatchCompare(aValue, aAttrSelector->mValue, comparator);    case NS_ATTR_FUNC_ENDSMATCH:      return StringEndsWith(aValue, aAttrSelector->mValue, comparator);    case NS_ATTR_FUNC_BEGINSMATCH:      return StringBeginsWith(aValue, aAttrSelector->mValue, comparator);    case NS_ATTR_FUNC_CONTAINSMATCH:      return FindInReadable(aAttrSelector->mValue, aValue, comparator);    default:      NS_NOTREACHED("Shouldn't be ending up here");      return PR_FALSE;  }}