Bug 1378712 - Remove all trailing whitespaces r=Ehsan
MozReview-Commit-ID: Kdz2xtTF9EG
This commit is contained in:
@@ -70,7 +70,7 @@ HTMLOptionsCollection::GetOptionIndex(Element* aOption,
|
||||
if (index == -1) {
|
||||
return NS_ERROR_FAILURE;
|
||||
}
|
||||
|
||||
|
||||
*aIndex = index;
|
||||
return NS_OK;
|
||||
}
|
||||
@@ -162,7 +162,7 @@ HTMLOptionsCollection::IndexedSetter(uint32_t aIndex,
|
||||
}
|
||||
|
||||
NS_ASSERTION(aIndex <= mElements.Length(), "SetLength lied");
|
||||
|
||||
|
||||
if (aIndex == mElements.Length()) {
|
||||
mSelect->AppendChild(*aOption, aError);
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user