summaryrefslogtreecommitdiff
path: root/image
diff options
context:
space:
mode:
Diffstat (limited to 'image')
-rw-r--r--image/decoders/nsJPEGDecoder.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/image/decoders/nsJPEGDecoder.cpp b/image/decoders/nsJPEGDecoder.cpp
index 1ac25fc6e2..2fd38fc10b 100644
--- a/image/decoders/nsJPEGDecoder.cpp
+++ b/image/decoders/nsJPEGDecoder.cpp
@@ -412,7 +412,7 @@ nsJPEGDecoder::ReadJPEGData(const char* aData, size_t aLength)
mInfo.output_width, mInfo.output_height));
mState = JPEG_START_DECOMPRESS;
- MOZ_FALLTHROUGH; // to start decompressing.
+ [[fallthrough]]; // to start decompressing.
}
case JPEG_START_DECOMPRESS: {
@@ -439,7 +439,7 @@ nsJPEGDecoder::ReadJPEGData(const char* aData, size_t aLength)
// If this is a progressive JPEG ...
mState = mInfo.buffered_image ?
JPEG_DECOMPRESS_PROGRESSIVE : JPEG_DECOMPRESS_SEQUENTIAL;
- MOZ_FALLTHROUGH; // to decompress sequential JPEG.
+ [[fallthrough]]; // to decompress sequential JPEG.
}
case JPEG_DECOMPRESS_SEQUENTIAL: {
@@ -461,7 +461,7 @@ nsJPEGDecoder::ReadJPEGData(const char* aData, size_t aLength)
"We didn't process all of the data!");
mState = JPEG_DONE;
}
- MOZ_FALLTHROUGH; // to decompress progressive JPEG.
+ [[fallthrough]]; // to decompress progressive JPEG.
}
case JPEG_DECOMPRESS_PROGRESSIVE: {
@@ -534,7 +534,7 @@ nsJPEGDecoder::ReadJPEGData(const char* aData, size_t aLength)
mState = JPEG_DONE;
}
- MOZ_FALLTHROUGH; // to finish decompressing.
+ [[fallthrough]]; // to finish decompressing.
}
case JPEG_DONE: {