From 6d692bc59283368e99114f08f1f601503025e170 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 77e45f515a..fdccd5b439 100644 --- a/src/base/debug/activity_tracker.cc +++ b/src/base/debug/activity_tracker.cc @@ -1278,7 +1278,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());