Bug 1771374 - Use {bool, T} instead of Maybe<T> for now. r=gfx-reviewers,lsalzman
commit05864ec82315a7b801aab6a01c9420305753f112
authorKelsey Gilbert <kelsey.gilbert@mozilla.com>
Tue, 12 Jul 2022 23:55:51 +0000 (12 23:55 +0000)
committerKelsey Gilbert <kelsey.gilbert@mozilla.com>
Tue, 12 Jul 2022 23:55:51 +0000 (12 23:55 +0000)
tree2aa4b407c06699cd4975a111889bb2384a216d25
parentf35027d82536fbf12eb11a9a287c88c0b32adeb7
Bug 1771374 - Use {bool, T} instead of Maybe<T> for now. r=gfx-reviewers,lsalzman

`Maybe` isn't is_trivially_copyable, and std::optional isn't either on
the old libstdc++ we use from gcc7 still.

I'm working on more robust approach to serialization but that's beyond
the scope of this bug.

Differential Revision: https://phabricator.services.mozilla.com/D151421
dom/canvas/ClientWebGLContext.cpp
dom/canvas/WebGLContext.cpp
dom/canvas/WebGLIpdl.h
dom/canvas/WebGLTypes.h