From 910fcc50f601e361d599fda40ea885d1c23203f6 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 d47b40501d..3183488a06 100644 --- a/src/base/debug/activity_tracker.cc +++ b/src/base/debug/activity_tracker.cc @@ -1282,7 +1282,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());