mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-12-01 01:36:09 +03:00
debug: Fix obsolete max check
This commit is contained in:
parent
03d833aa27
commit
2538a87e5e
@ -1279,7 +1279,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());
|
||||||
|
Loading…
Reference in New Issue
Block a user