Bug 1091986 (part 1) - Remove an over-zealous assertion in Vector.h.

This commit is contained in:
Nicholas Nethercote 2014-10-30 19:48:10 -07:00
parent 6b6641ff65
commit 3b6982b11b

View File

@ -724,8 +724,6 @@ MOZ_NEVER_INLINE bool
VectorBase<T, N, AP, TV>::growStorageBy(size_t aIncr)
{
MOZ_ASSERT(mLength + aIncr > mCapacity);
MOZ_ASSERT_IF(!usingInlineStorage(),
!detail::CapacityHasExcessSpace<T>(mCapacity));
/*
* When choosing a new capacity, its size should is as close to 2**N bytes