Bug 1046841 - Fix more style violations in previously touched .cpp files in xpcom/. r=froydnj

This commit is contained in:
Birunthan Mohanathas
2014-08-25 12:17:15 -07:00
parent 644ec64d07
commit 6e9ec233ed
48 changed files with 396 additions and 306 deletions

View File

@@ -76,17 +76,18 @@ nsTSubstringTuple_CharT::WriteTo(char_type* aBuf, uint32_t aBufLen) const
*/
bool
nsTSubstringTuple_CharT::IsDependentOn(const char_type* start, const char_type* end) const
nsTSubstringTuple_CharT::IsDependentOn(const char_type* aStart,
const char_type* aEnd) const
{
// we start with the right-most fragment since it is faster to check.
// we aStart with the right-most fragment since it is faster to check.
if (TO_SUBSTRING(mFragB).IsDependentOn(start, end)) {
if (TO_SUBSTRING(mFragB).IsDependentOn(aStart, aEnd)) {
return true;
}
if (mHead) {
return mHead->IsDependentOn(start, end);
return mHead->IsDependentOn(aStart, aEnd);
}
return TO_SUBSTRING(mFragA).IsDependentOn(start, end);
return TO_SUBSTRING(mFragA).IsDependentOn(aStart, aEnd);
}