debug: Fix obsolete max check

This commit is contained in:
klzgrad 2019-11-30 22:39:06 +08:00
parent b82d5e7b3c
commit 43b1963cc2

View File

@ -1282,7 +1282,6 @@ bool GlobalActivityTracker::CreateWithFile(const FilePath& file_path,
StringPiece name, StringPiece name,
int stack_depth) { int stack_depth) {
DCHECK(!file_path.empty()); DCHECK(!file_path.empty());
DCHECK_GE(static_cast<uint64_t>(std::numeric_limits<int64_t>::max()), size);
// Create and map the file into memory and make it globally available. // Create and map the file into memory and make it globally available.
std::unique_ptr<MemoryMappedFile> mapped_file(new MemoryMappedFile()); std::unique_ptr<MemoryMappedFile> mapped_file(new MemoryMappedFile());