Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1543)

Unified Diff: content/common/gpu/client/gl_helper_scaling.cc

Issue 12310041: experiment with -Wimplicit-fallthrough Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: rebase Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/common/gpu/client/gl_helper_scaling.cc
diff --git a/content/common/gpu/client/gl_helper_scaling.cc b/content/common/gpu/client/gl_helper_scaling.cc
index ff6a6b7c8558d6c16d0f87ffff94bcc3a2a6cdc3..e45a926afe344ea4351efe0a777c681de435b4d6 100644
--- a/content/common/gpu/client/gl_helper_scaling.cc
+++ b/content/common/gpu/client/gl_helper_scaling.cc
@@ -367,6 +367,7 @@ void GLHelperScaling::ConvertScalerOpsToScalerStages(
switch (x_ops->size()) {
case 0:
NOTREACHED();
+ FALLTHROUGH_INTENDED;
case 1:
if (x_ops->front().scale_factor == 3) {
current_shader = SHADER_BILINEAR3;

Powered by Google App Engine
This is Rietveld 408576698