Bug 1909019 - Use ParamTraits_TiedFields/_IsEnumCase in WebRenderMessageUtils instead of PlainOldDataSerializer. (partial) r=gw,mccr8,ahale

Differential Revision: https://phabricator.services.mozilla.com/D217508
This commit is contained in:
Kelsey Gilbert
2024-07-26 16:54:46 +00:00
parent 3fe92fb428
commit d455fa2c18
9 changed files with 174 additions and 67 deletions

View File

@@ -5860,7 +5860,7 @@ void ClientWebGLContext::ProvokingVertex(const GLenum rawMode) const {
const FuncScope funcScope(*this, "provokingVertex");
if (IsContextLost()) return;
const auto mode = webgl::AsEnumCase<webgl::ProvokingVertex>(rawMode);
const auto mode = AsEnumCase<webgl::ProvokingVertex>(rawMode);
if (!mode) {
EnqueueError_ArgEnum("mode", rawMode);
return;