diff --git a/gfx/layers/composite/CompositableHost.h b/gfx/layers/composite/CompositableHost.h index e9b64b9142b2..781f49b322ac 100644 --- a/gfx/layers/composite/CompositableHost.h +++ b/gfx/layers/composite/CompositableHost.h @@ -265,7 +265,6 @@ public: aLayer == mLayer || aFlags & FORCE_DETACH) { SetLayer(nullptr); - SetCompositor(nullptr); mAttached = false; mKeepAttached = false; if (mBackendData) {