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

Unified Diff: net/base/gzip_filter.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
« no previous file with comments | « media/filters/gpu_video_decoder.cc ('k') | net/base/gzip_header.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/gzip_filter.cc
diff --git a/net/base/gzip_filter.cc b/net/base/gzip_filter.cc
index 2d02bce7a01e448b16bcdd820f204b9e534525cf..a7c48d9518c2084633080b2b7bbf2191ae57d3b8 100644
--- a/net/base/gzip_filter.cc
+++ b/net/base/gzip_filter.cc
@@ -46,6 +46,7 @@ bool GZipFilter::InitDecoding(Filter::FilterType filter_type) {
case Filter::FILTER_TYPE_GZIP_HELPING_SDCH:
possible_sdch_pass_through_ = true; // Needed to optionally help sdch.
// Fall through to GZIP case.
+ FALLTHROUGH_INTENDED;
case Filter::FILTER_TYPE_GZIP: {
gzip_header_.reset(new GZipHeader());
if (!gzip_header_.get())
« no previous file with comments | « media/filters/gpu_video_decoder.cc ('k') | net/base/gzip_header.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698