Bug 1252237 - Remove the TextureHost shmem mapping failed assert. r=milan
authorJerryShih <hshih@mozilla.com>
Mon, 11 Apr 2016 10:23:00 -0400
changeset 292698 aa80c4c2ed4faa382a6fe9214e3a63f9351fd992
parent 292697 ef6f7eda31ff661574b9dcef63a0224cbc19e3fc
child 292699 1b485082e80329acf241d88e1392c8850005a333
push id74955
push userryanvm@gmail.com
push dateTue, 12 Apr 2016 03:08:36 +0000
treeherdermozilla-inbound@1e856020a8d2 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmilan
bugs1252237
milestone48.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1252237 - Remove the TextureHost shmem mapping failed assert. r=milan
gfx/layers/composite/TextureHost.cpp
--- a/gfx/layers/composite/TextureHost.cpp
+++ b/gfx/layers/composite/TextureHost.cpp
@@ -779,17 +779,18 @@ ShmemTextureHost::ShmemTextureHost(const
   if (aShmem.IsReadable()) {
     mShmem = MakeUnique<ipc::Shmem>(aShmem);
   } else {
     // This can happen if we failed to map the shmem on this process, perhaps
     // because it was big and we didn't have enough contiguous address space
     // available, even though we did on the child process.
     // As a result this texture will be in an invalid state and Lock will
     // always fail.
-    gfxCriticalError() << "Failed to create a valid ShmemTextureHost";
+
+    gfxCriticalNote << "Failed to create a valid ShmemTextureHost";
   }
 
   MOZ_COUNT_CTOR(ShmemTextureHost);
 }
 
 ShmemTextureHost::~ShmemTextureHost()
 {
   MOZ_ASSERT(!mShmem || (mFlags & TextureFlags::DEALLOCATE_CLIENT),