Bug 1267246 - Remove bogus assertion. r=nical a=ritu
authorKartikaya Gupta <kgupta@mozilla.com>
Tue, 26 Apr 2016 10:34:11 -0400
changeset 332685 bbb254427173b0f778f61cef31fbcad18b36d4bf
parent 332684 02263fffb04dc6622cff52768fba5ae8adce4c47
child 332686 073d760767b48085128d6c82eba60d2f80657aaa
push id6048
push userkmoir@mozilla.com
push dateMon, 06 Jun 2016 19:02:08 +0000
treeherdermozilla-beta@46d72a56c57d [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersnical, ritu
bugs1267246
milestone48.0a2
Bug 1267246 - Remove bogus assertion. r=nical a=ritu MozReview-Commit-ID: 9RZ2Yx0iu14
gfx/layers/ipc/ShadowLayers.cpp
--- a/gfx/layers/ipc/ShadowLayers.cpp
+++ b/gfx/layers/ipc/ShadowLayers.cpp
@@ -212,18 +212,16 @@ FixedSizeSmallShmemSectionAllocator::Fix
 : mShmProvider(aShmProvider)
 {
   MOZ_ASSERT(mShmProvider);
 }
 
 FixedSizeSmallShmemSectionAllocator::~FixedSizeSmallShmemSectionAllocator()
 {
   ShrinkShmemSectionHeap();
-  // Check if we're not leaking..
-  MOZ_ASSERT(mUsedShmems.empty());
 }
 
 bool
 FixedSizeSmallShmemSectionAllocator::AllocShmemSection(uint32_t aSize, ShmemSection* aShmemSection)
 {
   // For now we only support sizes of 4. If we want to support different sizes
   // some more complicated bookkeeping should be added.
   MOZ_ASSERT(aSize == sSupportedBlockSize);