Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(514)

Unified Diff: third_party/WebKit/Source/wtf/PartitionAllocator.h

Issue 1845923005: CL for perf tryjob on android Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/Source/wtf/PartitionAlloc.cpp ('k') | third_party/WebKit/Source/wtf/Partitions.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/wtf/PartitionAllocator.h
diff --git a/third_party/WebKit/Source/wtf/PartitionAllocator.h b/third_party/WebKit/Source/wtf/PartitionAllocator.h
index 37cad840b94172e95a19b2eb9399b4aea5f50482..e3b57e5e77e4392920865c5418ecfe60aa80f3a5 100644
--- a/third_party/WebKit/Source/wtf/PartitionAllocator.h
+++ b/third_party/WebKit/Source/wtf/PartitionAllocator.h
@@ -54,7 +54,7 @@ public:
template<typename T>
static size_t quantizedSize(size_t count)
{
- CHECK_LE(count, kGenericMaxDirectMapped / sizeof(T));
+ RELEASE_ASSERT(count <= kGenericMaxDirectMapped / sizeof(T));
return partitionAllocActualSize(Partitions::bufferPartition(), count * sizeof(T));
}
template <typename T>
« no previous file with comments | « third_party/WebKit/Source/wtf/PartitionAlloc.cpp ('k') | third_party/WebKit/Source/wtf/Partitions.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698