summaryrefslogtreecommitdiff
path: root/layout/tables/SpanningCellSorter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'layout/tables/SpanningCellSorter.cpp')
-rw-r--r--layout/tables/SpanningCellSorter.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/layout/tables/SpanningCellSorter.cpp b/layout/tables/SpanningCellSorter.cpp
index 9ca577cde2..13aa61f939 100644
--- a/layout/tables/SpanningCellSorter.cpp
+++ b/layout/tables/SpanningCellSorter.cpp
@@ -108,7 +108,7 @@ SpanningCellSorter::GetNext(int32_t *aColSpan)
/* prepare to enumerate the array */
mState = ENUMERATING_ARRAY;
mEnumerationIndex = 0;
- MOZ_FALLTHROUGH;
+ [[fallthrough]];
case ENUMERATING_ARRAY:
while (mEnumerationIndex < ARRAY_SIZE && !mArray[mEnumerationIndex])
++mEnumerationIndex;
@@ -138,7 +138,7 @@ SpanningCellSorter::GetNext(int32_t *aColSpan)
SortArray, nullptr);
mSortedHashTable = sh;
}
- MOZ_FALLTHROUGH;
+ [[fallthrough]];
case ENUMERATING_HASH:
if (mEnumerationIndex < mHashTable.EntryCount()) {
Item *result = mSortedHashTable[mEnumerationIndex]->mItems;
@@ -153,7 +153,7 @@ SpanningCellSorter::GetNext(int32_t *aColSpan)
return result;
}
mState = DONE;
- MOZ_FALLTHROUGH;
+ [[fallthrough]];
case DONE:
;
}