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:
@@ -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()");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user