author | Andrea Marchesini <amarchesini@mozilla.com> |
Wed, 17 Jun 2015 17:00:37 +0100 | |
changeset 249369 | b55daa813afdbb540fc45fefc387f358085477e8 |
parent 249368 | 545afafa3df47596d17b0cbcf25e708f79df3f14 |
child 249370 | 099d6cd6725e6973421edb9f8fb04d8ddd93bbc5 |
push id | 28923 |
push user | ryanvm@gmail.com |
push date | Wed, 17 Jun 2015 18:57:11 +0000 |
treeherder | mozilla-central@099d6cd6725e [default view] [failures only] |
perfherder | [talos] [build metrics] [platform microbench] (compared to previous push) |
reviewers | ehsan |
bugs | 1170274 |
milestone | 41.0a1 |
first release with | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
last release without | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
--- a/dom/html/nsGenericHTMLElement.cpp +++ b/dom/html/nsGenericHTMLElement.cpp @@ -1734,27 +1734,27 @@ nsGenericHTMLElement::GetURIListAttr(nsI nsString::const_iterator end; value.EndReading(end); nsAString::const_iterator iter; value.BeginReading(iter); while (iter != end) { - while (nsCRT::IsAsciiSpace(*iter) && iter != end) { + while (*iter == ' ' && iter != end) { ++iter; } if (iter == end) { break; } nsAString::const_iterator start = iter; - while (iter != end && !nsCRT::IsAsciiSpace(*iter)) { + while (iter != end && *iter != ' ') { ++iter; } if (!aResult.IsEmpty()) { aResult.Append(NS_LITERAL_STRING(" ")); } const nsSubstring& uriPart = Substring(start, iter);