summaryrefslogtreecommitdiff
path: root/testing/image_diff/image_diff_png.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'testing/image_diff/image_diff_png.cpp')
-rw-r--r--testing/image_diff/image_diff_png.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/testing/image_diff/image_diff_png.cpp b/testing/image_diff/image_diff_png.cpp
index 48b5ae17b4..47c1fe4c24 100644
--- a/testing/image_diff/image_diff_png.cpp
+++ b/testing/image_diff/image_diff_png.cpp
@@ -16,6 +16,7 @@
#include <string>
+#include "core/fxcrt/fx_fallthrough.h"
#include "third_party/base/logging.h"
#include "third_party/zlib/zlib.h"
@@ -581,6 +582,7 @@ bool EncodeWithCompressionLevel(const unsigned char* input,
switch (format) {
case FORMAT_BGR:
converter = ConvertBGRtoRGB;
+ FX_FALLTHROUGH;
case FORMAT_RGB:
input_color_components = 3;