From 582bc2bcb0e4f85b713ebc8c42a0bfa21bb9feee Mon Sep 17 00:00:00 2001 From: klzgrad Date: Sat, 30 Nov 2019 22:39:06 +0800 Subject: [PATCH] debug: Fix obsolete max check --- src/base/debug/activity_tracker.cc | 1 - 1 file changed, 1 deletion(-) diff --git a/src/base/debug/activity_tracker.cc b/src/base/debug/activity_tracker.cc index 4cae652736..f29b50d7c2 100644 --- a/src/base/debug/activity_tracker.cc +++ b/src/base/debug/activity_tracker.cc @@ -1283,7 +1283,6 @@ bool GlobalActivityTracker::CreateWithFile(const FilePath& file_path, StringPiece name, int stack_depth) { DCHECK(!file_path.empty()); - DCHECK_GE(static_cast(std::numeric_limits::max()), size); // Create and map the file into memory and make it globally available. std::unique_ptr mapped_file(new MemoryMappedFile());