From f477f3f8a542a6b74c03979e4642574d8014eaa9 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 8595e56b53..8c23d2e462 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());