From bea6b36ad07d15273c64b2053cc3f9c4511a9f9e 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());