Bug 1782242 - Remove assert for CanvasManagerChild::Get that we handle gracefully anyways. r=gfx-reviewers,bradwerth

Differential Revision: https://phabricator.services.mozilla.com/D153290
This commit is contained in:
Andrew Osmond
2022-07-30 00:12:36 +00:00
parent 93c97da63c
commit ca0f070326

View File

@@ -747,8 +747,7 @@ bool ClientWebGLContext::CreateHostContext(const uvec2& requestedSize) {
ScopedGfxFeatureReporter reporter("IpcWebGL");
auto* const cm = gfx::CanvasManagerChild::Get();
MOZ_ASSERT(cm);
if (!cm) {
if (NS_WARN_IF(!cm)) {
return Err("!CanvasManagerChild::Get()");
}