Index: third_party/WebKit/Source/wtf/allocator/PartitionAlloc.h |
diff --git a/third_party/WebKit/Source/wtf/allocator/PartitionAlloc.h b/third_party/WebKit/Source/wtf/allocator/PartitionAlloc.h |
index 544ec59e5dc88e3df4d1825f55216a849302928b..67f93aa379065c55d3c21ac86752c4f7aa17d582 100644 |
--- a/third_party/WebKit/Source/wtf/allocator/PartitionAlloc.h |
+++ b/third_party/WebKit/Source/wtf/allocator/PartitionAlloc.h |
@@ -829,15 +829,6 @@ ALWAYS_INLINE void* partitionAllocGenericFlags(PartitionRootGeneric* root, |
void* ret = nullptr; |
{ |
SpinLock::Guard guard(root->lock); |
-// TODO(bashi): Remove following RELEAE_ASSERT()s once we find the cause of |
-// http://crbug.com/514141 |
-#if OS(ANDROID) |
- RELEASE_ASSERT(bucket >= &root->buckets[0] || |
- bucket == &PartitionRootGeneric::gPagedBucket); |
- RELEASE_ASSERT(bucket <= &root->buckets[kGenericNumBuckets - 1] || |
- bucket == &PartitionRootGeneric::gPagedBucket); |
- RELEASE_ASSERT(root->initialized); |
-#endif |
ret = partitionBucketAlloc(root, flags, size, bucket); |
} |
PartitionAllocHooks::allocationHookIfEnabled(ret, requestedSize, typeName); |