Bug 1532257 - Remove frequently-failing assertion. r=mattwoodrow, a=NPOTB
authorKartikaya Gupta <kgupta@mozilla.com>
Wed, 03 Apr 2019 13:42:56 +0000
changeset 525942 146e15a24ea12ce80060d2fac13aad0f19dbfde0
parent 525941 dc1994aefb3dfc3e974604f1bef424d7067ad24b
child 525943 6bc836b1a8589b0048c13dc7abeee7388fd07835
push id2032
push userffxbld-merge
push dateMon, 13 May 2019 09:36:57 +0000
treeherdermozilla-release@455c1065dcbe [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmattwoodrow, NPOTB
bugs1532257
milestone67.0
Bug 1532257 - Remove frequently-failing assertion. r=mattwoodrow, a=NPOTB We're gonna delete all this code imminently anyway. Differential Revision: https://phabricator.services.mozilla.com/D25932
gfx/layers/mlgpu/LayerManagerMLGPU.cpp
--- a/gfx/layers/mlgpu/LayerManagerMLGPU.cpp
+++ b/gfx/layers/mlgpu/LayerManagerMLGPU.cpp
@@ -156,17 +156,16 @@ TextureFactoryIdentifier LayerManagerMLG
 
 LayersBackend LayerManagerMLGPU::GetBackendType() {
   return mDevice ? mDevice->GetLayersBackend() : LayersBackend::LAYERS_NONE;
 }
 
 void LayerManagerMLGPU::SetRoot(Layer* aLayer) { mRoot = aLayer; }
 
 bool LayerManagerMLGPU::BeginTransaction(const nsCString& aURL) {
-  MOZ_ASSERT(!mTarget);
   return true;
 }
 
 void LayerManagerMLGPU::BeginTransactionWithDrawTarget(
     gfx::DrawTarget* aTarget, const gfx::IntRect& aRect) {
   MOZ_ASSERT(!mTarget);
 
   mTarget = aTarget;