summaryrefslogtreecommitdiff
path: root/core/fpdfapi
diff options
context:
space:
mode:
authorHenrique Nakashima <hnakashima@chromium.org>2018-02-16 19:32:10 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-02-16 19:32:10 +0000
commit081da6b880f2a47bd7f3cf578315aaf598b34978 (patch)
treec1feb95c2e41f50538b92c5b2b7ddf98ed06c6e5 /core/fpdfapi
parent1087ebcd9a2b59c540b80f8a1f3275ae1ff6bcc9 (diff)
downloadpdfium-081da6b880f2a47bd7f3cf578315aaf598b34978.tar.xz
Fix more fallthroughs before reenabling -Wimplicit-fallthrough.
Change-Id: Ic1d5a250fc00d6767cee7eee1b2d74d5e1caa2bb Reviewed-on: https://pdfium-review.googlesource.com/27050 Reviewed-by: Tom Sepez <tsepez@chromium.org> Reviewed-by: Ryan Harrison <rharrison@chromium.org> Commit-Queue: Henrique Nakashima <hnakashima@chromium.org>
Diffstat (limited to 'core/fpdfapi')
-rw-r--r--core/fpdfapi/render/cpdf_renderstatus.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/fpdfapi/render/cpdf_renderstatus.cpp b/core/fpdfapi/render/cpdf_renderstatus.cpp
index 6525164547..0a01ae0ccf 100644
--- a/core/fpdfapi/render/cpdf_renderstatus.cpp
+++ b/core/fpdfapi/render/cpdf_renderstatus.cpp
@@ -1766,7 +1766,7 @@ bool CPDF_RenderStatus::ProcessText(CPDF_TextObject* textobj,
// Already handled above, but the compiler is not smart enough to
// realize it. Fall through.
NOTREACHED();
- FX_FALLTHROUGH;
+ return true;
case TextRenderingMode::MODE_CLIP:
return true;
}