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

Unified Diff: base/process/process_metrics_mac.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 | « base/json/json_parser.cc ('k') | base/third_party/dmg_fp/dtoa_wrapper.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/process/process_metrics_mac.cc
diff --git a/base/process/process_metrics_mac.cc b/base/process/process_metrics_mac.cc
index 048735ed36b6a068f35f249e111e9917c585911d..8e96661f8a14eb6c6f8f15ea8fdabb0281386562 100644
--- a/base/process/process_metrics_mac.cc
+++ b/base/process/process_metrics_mac.cc
@@ -166,7 +166,7 @@ bool ProcessMetrics::GetMemoryBytes(size_t* private_bytes,
break;
case SM_COW:
private_pages_count += info.private_pages_resident;
- // Fall through
+ FALLTHROUGH_INTENDED;
case SM_SHARED:
if (seen_objects.count(info.obj_id) == 0) {
// Only count the first reference to this region.
« no previous file with comments | « base/json/json_parser.cc ('k') | base/third_party/dmg_fp/dtoa_wrapper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698