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

Unified Diff: webkit/browser/fileapi/sandbox_origin_database.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 | « webkit/browser/fileapi/sandbox_directory_database.cc ('k') | webkit/common/fileapi/file_system_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/browser/fileapi/sandbox_origin_database.cc
diff --git a/webkit/browser/fileapi/sandbox_origin_database.cc b/webkit/browser/fileapi/sandbox_origin_database.cc
index ee01d22791484d7db8d1e5880445f981ad5500e1..d8e1e97074686accc7ce58d54e7dbedbe1ab4559 100644
--- a/webkit/browser/fileapi/sandbox_origin_database.cc
+++ b/webkit/browser/fileapi/sandbox_origin_database.cc
@@ -107,7 +107,7 @@ bool SandboxOriginDatabase::Init(InitOption init_option,
}
UMA_HISTOGRAM_ENUMERATION(kDatabaseRepairHistogramLabel,
DB_REPAIR_FAILED, DB_REPAIR_MAX);
- // fall through
+ FALLTHROUGH_INTENDED;
case DELETE_ON_CORRUPTION:
if (!base::DeleteFile(file_system_directory_, true))
return false;
« no previous file with comments | « webkit/browser/fileapi/sandbox_directory_database.cc ('k') | webkit/common/fileapi/file_system_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698