Bug 1378712 - Remove all trailing whitespaces r=Ehsan

MozReview-Commit-ID: Kdz2xtTF9EG
This commit is contained in:
Sylvestre Ledru
2017-07-06 14:00:35 +02:00
parent 529c5d5237
commit 9d4a84d778
1222 changed files with 16800 additions and 16800 deletions

View File

@@ -117,7 +117,7 @@ nsDOMStringMap::NamedDeleter(const nsAString& aProp, bool& found)
found = false;
return;
}
nsAutoString attr;
if (!DataPropToAttr(aProp, attr)) {
found = false;
@@ -229,7 +229,7 @@ bool nsDOMStringMap::AttrToDataProp(const nsAString& aAttr,
// Otherwise append character to property name.
for (; cur < end; ++cur) {
const char16_t* next = cur + 1;
if (char16_t('-') == *cur && next < end &&
if (char16_t('-') == *cur && next < end &&
char16_t('a') <= *next && *next <= char16_t('z')) {
// Upper case the lower case letters that follow a "-".
aResult.Append(*next - 'a' + 'A');