Chromium Code Reviews

Unified Diff: base/trace_event/process_memory_maps_dump_provider.cc

Issue 1001833005: Update from https://crrev.com/320343 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Supress Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: base/trace_event/process_memory_maps_dump_provider.cc
diff --git a/base/trace_event/process_memory_maps_dump_provider.cc b/base/trace_event/process_memory_maps_dump_provider.cc
index 93feded9e80fe2ba6495d5526abbaf6cd743d719..fbe0eb1e8c32db46bffdd08cfaba96c32eb3087c 100644
--- a/base/trace_event/process_memory_maps_dump_provider.cc
+++ b/base/trace_event/process_memory_maps_dump_provider.cc
@@ -47,7 +47,7 @@ bool ParseSmapsHeader(std::istream* smaps,
region->protection_flags = 0;
*smaps >> protection_flags;
- CHECK(4UL == protection_flags.size());
+ CHECK_EQ(4UL, protection_flags.size());
if (protection_flags[0] == 'r') {
region->protection_flags |=
ProcessMemoryMaps::VMRegion::kProtectionFlagsRead;
« no previous file with comments | « base/trace_event/memory_dump_manager_unittest.cc ('k') | base/trace_event/process_memory_totals_dump_provider_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine