LCOV - code coverage report
Current view: top level - obj-x86_64-pc-linux-gnu/ipc/ipdl - PImageBridgeParent.cpp (source / functions) Hit Total Coverage
Test: output.info Lines: 6 1959 0.3 %
Date: 2017-07-14 16:53:18 Functions: 2 124 1.6 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : //
       2             : // Automatically generated by ipdlc.
       3             : // Edit at your own risk
       4             : //
       5             : 
       6             : 
       7             : #include "mozilla/layers/PImageBridgeParent.h"
       8             : #include "mozilla/layers/CompositorTypes.h"
       9             : #ifdef MOZ_CRASHREPORTER
      10             : #  include "nsXULAppAPI.h"
      11             : #endif
      12             : 
      13             : #include "mozilla/layers/PTextureParent.h"
      14             : #include "mozilla/media/PMediaSystemResourceManagerParent.h"
      15             : 
      16             : #include "nsIFile.h"
      17             : #include "GeckoProfiler.h"
      18             : 
      19             : namespace mozilla {
      20             : namespace layers {
      21             : 
      22             : 
      23           0 : auto PImageBridgeParent::RecvPTextureConstructor(
      24             :         PTextureParent* actor,
      25             :         const SurfaceDescriptor& aSharedData,
      26             :         const LayersBackend& aBackend,
      27             :         const TextureFlags& aTextureFlags,
      28             :         const uint64_t& aSerial,
      29             :         const MaybeExternalImageId& aExternalImageId) -> mozilla::ipc::IPCResult
      30             : {
      31           0 :     return IPC_OK();
      32             : }
      33             : 
      34           0 : auto PImageBridgeParent::RecvPMediaSystemResourceManagerConstructor(PMediaSystemResourceManagerParent* actor) -> mozilla::ipc::IPCResult
      35             : {
      36           0 :     return IPC_OK();
      37             : }
      38             : 
      39             : 
      40           0 : auto PImageBridgeParent::ProcessingError(
      41             :         Result aCode,
      42             :         const char* aReason) -> void
      43             : {
      44           0 : }
      45             : 
      46           0 : auto PImageBridgeParent::ShouldContinueFromReplyTimeout() -> bool
      47             : {
      48           0 :     return true;
      49             : }
      50             : 
      51           0 : auto PImageBridgeParent::EnteredCxxStack() -> void
      52             : {
      53           0 : }
      54             : 
      55           0 : auto PImageBridgeParent::ExitedCxxStack() -> void
      56             : {
      57           0 : }
      58             : 
      59           0 : auto PImageBridgeParent::EnteredCall() -> void
      60             : {
      61           0 : }
      62             : 
      63           0 : auto PImageBridgeParent::ExitedCall() -> void
      64             : {
      65           0 : }
      66             : 
      67           3 : MOZ_IMPLICIT PImageBridgeParent::PImageBridgeParent() :
      68             :     mozilla::ipc::IToplevelProtocol(PImageBridgeMsgStart, mozilla::ipc::ParentSide),
      69             :     mChannel("PImageBridgeParent", ALLOW_THIS_IN_INITIALIZER_LIST(this)),
      70           3 :     mState(PImageBridge::__Start)
      71             : {
      72           3 :     MOZ_COUNT_CTOR(PImageBridgeParent);
      73           3 : }
      74             : 
      75           0 : PImageBridgeParent::~PImageBridgeParent()
      76             : {
      77           0 :     MOZ_COUNT_DTOR(PImageBridgeParent);
      78           0 : }
      79             : 
      80           0 : auto PImageBridgeParent::ManagedPTextureParent(nsTArray<PTextureParent*>& aArr) const -> void
      81             : {
      82           0 :     (mManagedPTextureParent).ToArray(aArr);
      83           0 : }
      84             : 
      85           0 : auto PImageBridgeParent::ManagedPTextureParent() const -> const ManagedContainer<PTextureParent>&
      86             : {
      87           0 :     return mManagedPTextureParent;
      88             : }
      89             : 
      90           0 : auto PImageBridgeParent::ManagedPMediaSystemResourceManagerParent(nsTArray<PMediaSystemResourceManagerParent*>& aArr) const -> void
      91             : {
      92           0 :     (mManagedPMediaSystemResourceManagerParent).ToArray(aArr);
      93           0 : }
      94             : 
      95           0 : auto PImageBridgeParent::ManagedPMediaSystemResourceManagerParent() const -> const ManagedContainer<PMediaSystemResourceManagerParent>&
      96             : {
      97           0 :     return mManagedPMediaSystemResourceManagerParent;
      98             : }
      99             : 
     100           0 : auto PImageBridgeParent::SendParentAsyncMessages(const nsTArray<AsyncParentMessageData>& aMessages) -> bool
     101             : {
     102           0 :     IPC::Message* msg__ = PImageBridge::Msg_ParentAsyncMessages(MSG_ROUTING_CONTROL);
     103             : 
     104           0 :     Write(aMessages, msg__);
     105             :     // Sentinel = 'aMessages'
     106           0 :     (msg__)->WriteSentinel(1923086976);
     107             : 
     108             : 
     109             : 
     110             : 
     111           0 :     if (mozilla::ipc::LoggingEnabledFor("PImageBridgeParent")) {
     112           0 :         mozilla::ipc::LogMessageForProtocol("PImageBridgeParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
     113             :     }
     114           0 :     AUTO_PROFILER_LABEL("PImageBridge::Msg_ParentAsyncMessages", OTHER);
     115           0 :     PImageBridge::Transition(PImageBridge::Msg_ParentAsyncMessages__ID, (&(mState)));
     116             : 
     117           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
     118           0 :     return sendok__;
     119             : }
     120             : 
     121           0 : auto PImageBridgeParent::SendDidComposite(const nsTArray<ImageCompositeNotification>& aNotifications) -> bool
     122             : {
     123           0 :     IPC::Message* msg__ = PImageBridge::Msg_DidComposite(MSG_ROUTING_CONTROL);
     124             : 
     125           0 :     Write(aNotifications, msg__);
     126             :     // Sentinel = 'aNotifications'
     127           0 :     (msg__)->WriteSentinel(3779889553);
     128             : 
     129             : 
     130             : 
     131             : 
     132           0 :     if (mozilla::ipc::LoggingEnabledFor("PImageBridgeParent")) {
     133           0 :         mozilla::ipc::LogMessageForProtocol("PImageBridgeParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
     134             :     }
     135           0 :     AUTO_PROFILER_LABEL("PImageBridge::Msg_DidComposite", OTHER);
     136           0 :     PImageBridge::Transition(PImageBridge::Msg_DidComposite__ID, (&(mState)));
     137             : 
     138           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
     139           0 :     return sendok__;
     140             : }
     141             : 
     142           3 : auto PImageBridgeParent::GetIPCChannel() -> MessageChannel*
     143             : {
     144           3 :     return (&(mChannel));
     145             : }
     146             : 
     147           0 : auto PImageBridgeParent::GetIPCChannel() const -> const MessageChannel*
     148             : {
     149           0 :     return (&(mChannel));
     150             : }
     151             : 
     152           0 : auto PImageBridgeParent::RemoveManagee(
     153             :         int32_t aProtocolId,
     154             :         ProtocolBase* aListener) -> void
     155             : {
     156           0 :     switch (aProtocolId) {
     157             :     case PTextureMsgStart:
     158             :         {
     159           0 :             PTextureParent* actor = static_cast<PTextureParent*>(aListener);
     160           0 :             auto& container = mManagedPTextureParent;
     161           0 :             MOZ_RELEASE_ASSERT((container).Contains(actor), "actor not managed by this!");
     162             : 
     163           0 :             (container).RemoveEntry(actor);
     164           0 :             DeallocPTextureParent(actor);
     165           0 :             return;
     166             :         }
     167             :     case PMediaSystemResourceManagerMsgStart:
     168             :         {
     169           0 :             PMediaSystemResourceManagerParent* actor = static_cast<PMediaSystemResourceManagerParent*>(aListener);
     170           0 :             auto& container = mManagedPMediaSystemResourceManagerParent;
     171           0 :             MOZ_RELEASE_ASSERT((container).Contains(actor), "actor not managed by this!");
     172             : 
     173           0 :             (container).RemoveEntry(actor);
     174           0 :             DeallocPMediaSystemResourceManagerParent(actor);
     175           0 :             return;
     176             :         }
     177             :     default:
     178             :         {
     179           0 :             FatalError("unreached");
     180           0 :             return;
     181             :         }
     182             :     }
     183             : }
     184             : 
     185           0 : auto PImageBridgeParent::OnMessageReceived(const Message& msg__) -> PImageBridgeParent::Result
     186             : {
     187           0 :     int32_t route__ = (msg__).routing_id();
     188           0 :     if ((MSG_ROUTING_CONTROL) != (route__)) {
     189           0 :         ChannelListener* routed__ = Lookup(route__);
     190           0 :         if ((!(routed__))) {
     191           0 :             return MsgRouteError;
     192             :         }
     193           0 :         return (routed__)->OnMessageReceived(msg__);
     194             :     }
     195             : 
     196           0 :     switch ((msg__).type()) {
     197             :     case PImageBridge::Msg_ImageBridgeThreadId__ID:
     198             :         {
     199           0 :             if (mozilla::ipc::LoggingEnabledFor("PImageBridgeParent")) {
     200           0 :                 mozilla::ipc::LogMessageForProtocol("PImageBridgeParent", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
     201             :             }
     202           0 :             AUTO_PROFILER_LABEL("PImageBridge::Msg_ImageBridgeThreadId", OTHER);
     203             : 
     204           0 :             PickleIterator iter__(msg__);
     205             :             PlatformThreadId aTreahdId;
     206             : 
     207           0 :             if ((!(Read((&(aTreahdId)), (&(msg__)), (&(iter__)))))) {
     208           0 :                 FatalError("Error deserializing 'PlatformThreadId'");
     209           0 :                 return MsgValueError;
     210             :             }
     211             :             // Sentinel = 'aTreahdId'
     212           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 3120967711)))) {
     213           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'PlatformThreadId'");
     214           0 :                 return MsgValueError;
     215             :             }
     216           0 :             (msg__).EndRead(iter__, (msg__).type());
     217           0 :             PImageBridge::Transition(PImageBridge::Msg_ImageBridgeThreadId__ID, (&(mState)));
     218           0 :             if ((!(RecvImageBridgeThreadId(mozilla::Move(aTreahdId))))) {
     219           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
     220             :                 // Error handled in mozilla::ipc::IPCResult
     221           0 :                 return MsgProcessingError;
     222             :             }
     223             : 
     224           0 :             return MsgProcessed;
     225             :         }
     226             :     case PImageBridge::Msg_InitReadLocks__ID:
     227             :         {
     228           0 :             if (mozilla::ipc::LoggingEnabledFor("PImageBridgeParent")) {
     229           0 :                 mozilla::ipc::LogMessageForProtocol("PImageBridgeParent", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
     230             :             }
     231           0 :             AUTO_PROFILER_LABEL("PImageBridge::Msg_InitReadLocks", OTHER);
     232             : 
     233           0 :             PickleIterator iter__(msg__);
     234           0 :             nsTArray<ReadLockInit> locks;
     235             : 
     236           0 :             if ((!(Read((&(locks)), (&(msg__)), (&(iter__)))))) {
     237           0 :                 FatalError("Error deserializing 'nsTArray'");
     238           0 :                 return MsgValueError;
     239             :             }
     240             :             // Sentinel = 'locks'
     241           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 4169533841)))) {
     242           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'nsTArray'");
     243           0 :                 return MsgValueError;
     244             :             }
     245           0 :             (msg__).EndRead(iter__, (msg__).type());
     246           0 :             PImageBridge::Transition(PImageBridge::Msg_InitReadLocks__ID, (&(mState)));
     247           0 :             if ((!(RecvInitReadLocks(mozilla::Move(locks))))) {
     248           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
     249             :                 // Error handled in mozilla::ipc::IPCResult
     250           0 :                 return MsgProcessingError;
     251             :             }
     252             : 
     253           0 :             return MsgProcessed;
     254             :         }
     255             :     case PImageBridge::Msg_Update__ID:
     256             :         {
     257           0 :             if (mozilla::ipc::LoggingEnabledFor("PImageBridgeParent")) {
     258           0 :                 mozilla::ipc::LogMessageForProtocol("PImageBridgeParent", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
     259             :             }
     260           0 :             AUTO_PROFILER_LABEL("PImageBridge::Msg_Update", OTHER);
     261             : 
     262           0 :             PickleIterator iter__(msg__);
     263           0 :             nsTArray<CompositableOperation> ops;
     264           0 :             nsTArray<OpDestroy> toDestroy;
     265             :             uint64_t fwdTransactionId;
     266             : 
     267           0 :             if ((!(Read((&(ops)), (&(msg__)), (&(iter__)))))) {
     268           0 :                 FatalError("Error deserializing 'nsTArray'");
     269           0 :                 return MsgValueError;
     270             :             }
     271             :             // Sentinel = 'ops'
     272           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 4059743815)))) {
     273           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'nsTArray'");
     274           0 :                 return MsgValueError;
     275             :             }
     276           0 :             if ((!(Read((&(toDestroy)), (&(msg__)), (&(iter__)))))) {
     277           0 :                 FatalError("Error deserializing 'nsTArray'");
     278           0 :                 return MsgValueError;
     279             :             }
     280             :             // Sentinel = 'toDestroy'
     281           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 4183172130)))) {
     282           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'nsTArray'");
     283           0 :                 return MsgValueError;
     284             :             }
     285           0 :             if ((!(Read((&(fwdTransactionId)), (&(msg__)), (&(iter__)))))) {
     286           0 :                 FatalError("Error deserializing 'uint64_t'");
     287           0 :                 return MsgValueError;
     288             :             }
     289             :             // Sentinel = 'fwdTransactionId'
     290           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2023976742)))) {
     291           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'");
     292           0 :                 return MsgValueError;
     293             :             }
     294           0 :             (msg__).EndRead(iter__, (msg__).type());
     295           0 :             PImageBridge::Transition(PImageBridge::Msg_Update__ID, (&(mState)));
     296           0 :             if ((!(RecvUpdate(mozilla::Move(ops), mozilla::Move(toDestroy), mozilla::Move(fwdTransactionId))))) {
     297           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
     298             :                 // Error handled in mozilla::ipc::IPCResult
     299           0 :                 return MsgProcessingError;
     300             :             }
     301             : 
     302           0 :             return MsgProcessed;
     303             :         }
     304             :     case PImageBridge::Msg_PTextureConstructor__ID:
     305             :         {
     306           0 :             if (mozilla::ipc::LoggingEnabledFor("PImageBridgeParent")) {
     307           0 :                 mozilla::ipc::LogMessageForProtocol("PImageBridgeParent", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
     308             :             }
     309           0 :             AUTO_PROFILER_LABEL("PImageBridge::Msg_PTextureConstructor", OTHER);
     310             : 
     311           0 :             PickleIterator iter__(msg__);
     312             :             ActorHandle handle__;
     313             :             PTextureParent* actor;
     314           0 :             SurfaceDescriptor aSharedData;
     315             :             LayersBackend aBackend;
     316             :             TextureFlags aTextureFlags;
     317             :             uint64_t aSerial;
     318           0 :             MaybeExternalImageId aExternalImageId;
     319             : 
     320           0 :             if ((!(Read((&(handle__)), (&(msg__)), (&(iter__)))))) {
     321           0 :                 FatalError("Error deserializing 'ActorHandle'");
     322           0 :                 return MsgValueError;
     323             :             }
     324             :             // Sentinel = 'actor'
     325           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 875202478)))) {
     326           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'ActorHandle'");
     327           0 :                 return MsgValueError;
     328             :             }
     329           0 :             if ((!(Read((&(aSharedData)), (&(msg__)), (&(iter__)))))) {
     330           0 :                 FatalError("Error deserializing 'SurfaceDescriptor'");
     331           0 :                 return MsgValueError;
     332             :             }
     333             :             // Sentinel = 'aSharedData'
     334           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 3013593029)))) {
     335           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'SurfaceDescriptor'");
     336           0 :                 return MsgValueError;
     337             :             }
     338           0 :             if ((!(Read((&(aBackend)), (&(msg__)), (&(iter__)))))) {
     339           0 :                 FatalError("Error deserializing 'LayersBackend'");
     340           0 :                 return MsgValueError;
     341             :             }
     342             :             // Sentinel = 'aBackend'
     343           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2878499283)))) {
     344           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'LayersBackend'");
     345           0 :                 return MsgValueError;
     346             :             }
     347           0 :             if ((!(Read((&(aTextureFlags)), (&(msg__)), (&(iter__)))))) {
     348           0 :                 FatalError("Error deserializing 'TextureFlags'");
     349           0 :                 return MsgValueError;
     350             :             }
     351             :             // Sentinel = 'aTextureFlags'
     352           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 3005687826)))) {
     353           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'TextureFlags'");
     354           0 :                 return MsgValueError;
     355             :             }
     356           0 :             if ((!(Read((&(aSerial)), (&(msg__)), (&(iter__)))))) {
     357           0 :                 FatalError("Error deserializing 'uint64_t'");
     358           0 :                 return MsgValueError;
     359             :             }
     360             :             // Sentinel = 'aSerial'
     361           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 1247987114)))) {
     362           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'");
     363           0 :                 return MsgValueError;
     364             :             }
     365           0 :             if ((!(Read((&(aExternalImageId)), (&(msg__)), (&(iter__)))))) {
     366           0 :                 FatalError("Error deserializing 'MaybeExternalImageId'");
     367           0 :                 return MsgValueError;
     368             :             }
     369             :             // Sentinel = 'aExternalImageId'
     370           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2889998824)))) {
     371           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'MaybeExternalImageId'");
     372           0 :                 return MsgValueError;
     373             :             }
     374           0 :             (msg__).EndRead(iter__, (msg__).type());
     375           0 :             PImageBridge::Transition(PImageBridge::Msg_PTextureConstructor__ID, (&(mState)));
     376           0 :             actor = AllocPTextureParent(aSharedData, aBackend, aTextureFlags, aSerial, aExternalImageId);
     377           0 :             if ((!(actor))) {
     378           0 :                 NS_WARNING("Error constructing actor PTextureParent");
     379           0 :                 return MsgValueError;
     380             :             }
     381           0 :             (actor)->SetManager(this);
     382           0 :             RegisterID(actor, (handle__).mId);
     383           0 :             (actor)->SetIPCChannel(GetIPCChannel());
     384           0 :             (mManagedPTextureParent).PutEntry(actor);
     385           0 :             (actor)->mState = mozilla::layers::PTexture::__Start;
     386             : 
     387           0 :             if ((!(RecvPTextureConstructor(mozilla::Move(actor), mozilla::Move(aSharedData), mozilla::Move(aBackend), mozilla::Move(aTextureFlags), mozilla::Move(aSerial), mozilla::Move(aExternalImageId))))) {
     388           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
     389             :                 // Error handled in mozilla::ipc::IPCResult
     390           0 :                 return MsgProcessingError;
     391             :             }
     392             : 
     393           0 :             return MsgProcessed;
     394             :         }
     395             :     case PImageBridge::Msg_PMediaSystemResourceManagerConstructor__ID:
     396             :         {
     397           0 :             if (mozilla::ipc::LoggingEnabledFor("PImageBridgeParent")) {
     398           0 :                 mozilla::ipc::LogMessageForProtocol("PImageBridgeParent", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
     399             :             }
     400           0 :             AUTO_PROFILER_LABEL("PImageBridge::Msg_PMediaSystemResourceManagerConstructor", OTHER);
     401             : 
     402           0 :             PickleIterator iter__(msg__);
     403             :             ActorHandle handle__;
     404             :             PMediaSystemResourceManagerParent* actor;
     405             : 
     406           0 :             if ((!(Read((&(handle__)), (&(msg__)), (&(iter__)))))) {
     407           0 :                 FatalError("Error deserializing 'ActorHandle'");
     408           0 :                 return MsgValueError;
     409             :             }
     410             :             // Sentinel = 'actor'
     411           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 875202478)))) {
     412           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'ActorHandle'");
     413           0 :                 return MsgValueError;
     414             :             }
     415           0 :             (msg__).EndRead(iter__, (msg__).type());
     416           0 :             PImageBridge::Transition(PImageBridge::Msg_PMediaSystemResourceManagerConstructor__ID, (&(mState)));
     417           0 :             actor = AllocPMediaSystemResourceManagerParent();
     418           0 :             if ((!(actor))) {
     419           0 :                 NS_WARNING("Error constructing actor PMediaSystemResourceManagerParent");
     420           0 :                 return MsgValueError;
     421             :             }
     422           0 :             (actor)->SetManager(this);
     423           0 :             RegisterID(actor, (handle__).mId);
     424           0 :             (actor)->SetIPCChannel(GetIPCChannel());
     425           0 :             (mManagedPMediaSystemResourceManagerParent).PutEntry(actor);
     426           0 :             (actor)->mState = mozilla::media::PMediaSystemResourceManager::__Start;
     427             : 
     428           0 :             if ((!(RecvPMediaSystemResourceManagerConstructor(mozilla::Move(actor))))) {
     429           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
     430             :                 // Error handled in mozilla::ipc::IPCResult
     431           0 :                 return MsgProcessingError;
     432             :             }
     433             : 
     434           0 :             return MsgProcessed;
     435             :         }
     436             :     case PImageBridge::Msg_ReleaseCompositable__ID:
     437             :         {
     438           0 :             if (mozilla::ipc::LoggingEnabledFor("PImageBridgeParent")) {
     439           0 :                 mozilla::ipc::LogMessageForProtocol("PImageBridgeParent", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
     440             :             }
     441           0 :             AUTO_PROFILER_LABEL("PImageBridge::Msg_ReleaseCompositable", OTHER);
     442             : 
     443           0 :             PickleIterator iter__(msg__);
     444           0 :             CompositableHandle aHandle;
     445             : 
     446           0 :             if ((!(Read((&(aHandle)), (&(msg__)), (&(iter__)))))) {
     447           0 :                 FatalError("Error deserializing 'CompositableHandle'");
     448           0 :                 return MsgValueError;
     449             :             }
     450             :             // Sentinel = 'aHandle'
     451           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2892339440)))) {
     452           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'CompositableHandle'");
     453           0 :                 return MsgValueError;
     454             :             }
     455           0 :             (msg__).EndRead(iter__, (msg__).type());
     456           0 :             PImageBridge::Transition(PImageBridge::Msg_ReleaseCompositable__ID, (&(mState)));
     457           0 :             if ((!(RecvReleaseCompositable(mozilla::Move(aHandle))))) {
     458           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
     459             :                 // Error handled in mozilla::ipc::IPCResult
     460           0 :                 return MsgProcessingError;
     461             :             }
     462             : 
     463           0 :             return MsgProcessed;
     464             :         }
     465             :     default:
     466             :         {
     467           0 :             return MsgNotKnown;
     468             :         }
     469             :     case SHMEM_CREATED_MESSAGE_TYPE:
     470             :         {
     471           0 :             if ((!(ShmemCreated(msg__)))) {
     472           0 :                 return MsgPayloadError;
     473             :             }
     474           0 :             return MsgProcessed;
     475             :         }
     476             :     case SHMEM_DESTROYED_MESSAGE_TYPE:
     477             :         {
     478           0 :             if ((!(ShmemDestroyed(msg__)))) {
     479           0 :                 return MsgPayloadError;
     480             :             }
     481           0 :             return MsgProcessed;
     482             :         }
     483             :     }
     484             : }
     485             : 
     486           0 : auto PImageBridgeParent::OnMessageReceived(
     487             :         const Message& msg__,
     488             :         Message*& reply__) -> PImageBridgeParent::Result
     489             : {
     490           0 :     int32_t route__ = (msg__).routing_id();
     491           0 :     if ((MSG_ROUTING_CONTROL) != (route__)) {
     492           0 :         ChannelListener* routed__ = Lookup(route__);
     493           0 :         if ((!(routed__))) {
     494           0 :             return MsgRouteError;
     495             :         }
     496           0 :         return (routed__)->OnMessageReceived(msg__, reply__);
     497             :     }
     498             : 
     499           0 :     switch ((msg__).type()) {
     500             :     case PImageBridge::Msg_WillClose__ID:
     501             :         {
     502           0 :             if (mozilla::ipc::LoggingEnabledFor("PImageBridgeParent")) {
     503           0 :                 mozilla::ipc::LogMessageForProtocol("PImageBridgeParent", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
     504             :             }
     505           0 :             AUTO_PROFILER_LABEL("PImageBridge::Msg_WillClose", OTHER);
     506             : 
     507           0 :             PImageBridge::Transition(PImageBridge::Msg_WillClose__ID, (&(mState)));
     508           0 :             int32_t id__ = MSG_ROUTING_CONTROL;
     509           0 :             if ((!(RecvWillClose()))) {
     510           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
     511             :                 // Error handled in mozilla::ipc::IPCResult
     512           0 :                 return MsgProcessingError;
     513             :             }
     514             : 
     515           0 :             reply__ = PImageBridge::Reply_WillClose(id__);
     516             : 
     517           0 :             (reply__)->set_sync();
     518           0 :             (reply__)->set_reply();
     519             : 
     520           0 :             if (mozilla::ipc::LoggingEnabledFor("PImageBridgeParent")) {
     521           0 :                 mozilla::ipc::LogMessageForProtocol("PImageBridgeParent", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending);
     522             :             }
     523           0 :             return MsgProcessed;
     524             :         }
     525             :     case PImageBridge::Msg_NewCompositable__ID:
     526             :         {
     527           0 :             if (mozilla::ipc::LoggingEnabledFor("PImageBridgeParent")) {
     528           0 :                 mozilla::ipc::LogMessageForProtocol("PImageBridgeParent", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
     529             :             }
     530           0 :             AUTO_PROFILER_LABEL("PImageBridge::Msg_NewCompositable", OTHER);
     531             : 
     532           0 :             PickleIterator iter__(msg__);
     533           0 :             CompositableHandle aHandle;
     534           0 :             TextureInfo aInfo;
     535             : 
     536           0 :             if ((!(Read((&(aHandle)), (&(msg__)), (&(iter__)))))) {
     537           0 :                 FatalError("Error deserializing 'CompositableHandle'");
     538           0 :                 return MsgValueError;
     539             :             }
     540             :             // Sentinel = 'aHandle'
     541           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2892339440)))) {
     542           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'CompositableHandle'");
     543           0 :                 return MsgValueError;
     544             :             }
     545           0 :             if ((!(Read((&(aInfo)), (&(msg__)), (&(iter__)))))) {
     546           0 :                 FatalError("Error deserializing 'TextureInfo'");
     547           0 :                 return MsgValueError;
     548             :             }
     549             :             // Sentinel = 'aInfo'
     550           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 3826123752)))) {
     551           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'TextureInfo'");
     552           0 :                 return MsgValueError;
     553             :             }
     554           0 :             (msg__).EndRead(iter__, (msg__).type());
     555           0 :             PImageBridge::Transition(PImageBridge::Msg_NewCompositable__ID, (&(mState)));
     556           0 :             int32_t id__ = MSG_ROUTING_CONTROL;
     557           0 :             if ((!(RecvNewCompositable(mozilla::Move(aHandle), mozilla::Move(aInfo))))) {
     558           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
     559             :                 // Error handled in mozilla::ipc::IPCResult
     560           0 :                 return MsgProcessingError;
     561             :             }
     562             : 
     563           0 :             reply__ = PImageBridge::Reply_NewCompositable(id__);
     564             : 
     565           0 :             (reply__)->set_sync();
     566           0 :             (reply__)->set_reply();
     567             : 
     568           0 :             if (mozilla::ipc::LoggingEnabledFor("PImageBridgeParent")) {
     569           0 :                 mozilla::ipc::LogMessageForProtocol("PImageBridgeParent", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending);
     570             :             }
     571           0 :             return MsgProcessed;
     572             :         }
     573             :     default:
     574             :         {
     575           0 :             return MsgNotKnown;
     576             :         }
     577             :     }
     578             : }
     579             : 
     580           0 : auto PImageBridgeParent::OnCallReceived(
     581             :         const Message& msg__,
     582             :         Message*& reply__) -> PImageBridgeParent::Result
     583             : {
     584           0 :     MOZ_ASSERT_UNREACHABLE("message protocol not supported");
     585             :     return MsgNotKnown;
     586             : }
     587             : 
     588           0 : auto PImageBridgeParent::GetProtocolTypeId() -> int32_t
     589             : {
     590           0 :     return PImageBridgeMsgStart;
     591             : }
     592             : 
     593           0 : auto PImageBridgeParent::OnChannelClose() -> void
     594             : {
     595           0 :     DestroySubtree(NormalShutdown);
     596           0 :     DeallocSubtree();
     597           0 :     DeallocShmems();
     598           0 :     DeallocPImageBridgeParent();
     599           0 : }
     600             : 
     601           0 : auto PImageBridgeParent::OnChannelError() -> void
     602             : {
     603           0 :     DestroySubtree(AbnormalShutdown);
     604           0 :     DeallocSubtree();
     605           0 :     DeallocShmems();
     606           0 :     DeallocPImageBridgeParent();
     607           0 : }
     608             : 
     609           0 : auto PImageBridgeParent::ProtocolName() const -> const char*
     610             : {
     611           0 :     return "PImageBridgeParent";
     612             : }
     613             : 
     614           0 : auto PImageBridgeParent::DestroySubtree(ActorDestroyReason why) -> void
     615             : {
     616           0 :     ActorDestroyReason subtreewhy = (((why) == (Deletion)) || ((why) == (FailedConstructor)) ? AncestorDeletion : why);
     617             : 
     618             :     {
     619             :         // Recursively shutting down PTexture kids
     620           0 :         nsTArray<PTextureParent*> kids;
     621             :         // Accumulate kids into a stable structure to iterate over
     622           0 :         ManagedPTextureParent(kids);
     623           0 :         for (auto& kid : kids) {
     624             :             // Guarding against a child removing a sibling from the list during the iteration.
     625           0 :             if ((mManagedPTextureParent).Contains(kid)) {
     626           0 :                 (kid)->DestroySubtree(subtreewhy);
     627             :             }
     628             :         }
     629             :     }
     630             :     {
     631             :         // Recursively shutting down PMediaSystemResourceManager kids
     632           0 :         nsTArray<PMediaSystemResourceManagerParent*> kids;
     633             :         // Accumulate kids into a stable structure to iterate over
     634           0 :         ManagedPMediaSystemResourceManagerParent(kids);
     635           0 :         for (auto& kid : kids) {
     636             :             // Guarding against a child removing a sibling from the list during the iteration.
     637           0 :             if ((mManagedPMediaSystemResourceManagerParent).Contains(kid)) {
     638           0 :                 (kid)->DestroySubtree(subtreewhy);
     639             :             }
     640             :         }
     641             :     }
     642             : 
     643             :     // Reject owning pending promises.
     644           0 :     (GetIPCChannel())->RejectPendingPromisesForActor(this);
     645             : 
     646             :     // Finally, destroy "us".
     647           0 :     ActorDestroy(why);
     648           0 : }
     649             : 
     650           0 : auto PImageBridgeParent::DeallocSubtree() -> void
     651             : {
     652             :     {
     653             :         // Recursively deleting PTexture kids
     654           0 :         for (auto iter = (mManagedPTextureParent).Iter(); (!((iter).Done())); (iter).Next()) {
     655           0 :             (((iter).Get())->GetKey())->DeallocSubtree();
     656             :         }
     657             : 
     658           0 :         for (auto iter = (mManagedPTextureParent).Iter(); (!((iter).Done())); (iter).Next()) {
     659           0 :             DeallocPTextureParent(((iter).Get())->GetKey());
     660             :         }
     661           0 :         (mManagedPTextureParent).Clear();
     662             :     }
     663             :     {
     664             :         // Recursively deleting PMediaSystemResourceManager kids
     665           0 :         for (auto iter = (mManagedPMediaSystemResourceManagerParent).Iter(); (!((iter).Done())); (iter).Next()) {
     666           0 :             (((iter).Get())->GetKey())->DeallocSubtree();
     667             :         }
     668             : 
     669           0 :         for (auto iter = (mManagedPMediaSystemResourceManagerParent).Iter(); (!((iter).Done())); (iter).Next()) {
     670           0 :             DeallocPMediaSystemResourceManagerParent(((iter).Get())->GetKey());
     671             :         }
     672           0 :         (mManagedPMediaSystemResourceManagerParent).Clear();
     673             :     }
     674           0 : }
     675             : 
     676           0 : auto PImageBridgeParent::DeallocPImageBridgeParent() -> void
     677             : {
     678           0 : }
     679             : 
     680           0 : auto PImageBridgeParent::Write(
     681             :         const SurfaceDescriptor& v__,
     682             :         Message* msg__) -> void
     683             : {
     684             :     typedef SurfaceDescriptor type__;
     685           0 :     Write(int((v__).type()), msg__);
     686             :     // Sentinel = 'SurfaceDescriptor'
     687           0 :     (msg__)->WriteSentinel(1058499359);
     688             : 
     689           0 :     switch ((v__).type()) {
     690             :     case type__::TSurfaceDescriptorBuffer:
     691             :         {
     692           0 :             Write((v__).get_SurfaceDescriptorBuffer(), msg__);
     693             :             // Sentinel = 'TSurfaceDescriptorBuffer'
     694           0 :             (msg__)->WriteSentinel(2202696360);
     695           0 :             return;
     696             :         }
     697             :     case type__::TSurfaceDescriptorDIB:
     698             :         {
     699           0 :             Write((v__).get_SurfaceDescriptorDIB(), msg__);
     700             :             // Sentinel = 'TSurfaceDescriptorDIB'
     701           0 :             (msg__)->WriteSentinel(998410538);
     702           0 :             return;
     703             :         }
     704             :     case type__::TSurfaceDescriptorD3D10:
     705             :         {
     706           0 :             Write((v__).get_SurfaceDescriptorD3D10(), msg__);
     707             :             // Sentinel = 'TSurfaceDescriptorD3D10'
     708           0 :             (msg__)->WriteSentinel(2753564567);
     709           0 :             return;
     710             :         }
     711             :     case type__::TSurfaceDescriptorFileMapping:
     712             :         {
     713           0 :             Write((v__).get_SurfaceDescriptorFileMapping(), msg__);
     714             :             // Sentinel = 'TSurfaceDescriptorFileMapping'
     715           0 :             (msg__)->WriteSentinel(722196935);
     716           0 :             return;
     717             :         }
     718             :     case type__::TSurfaceDescriptorDXGIYCbCr:
     719             :         {
     720           0 :             Write((v__).get_SurfaceDescriptorDXGIYCbCr(), msg__);
     721             :             // Sentinel = 'TSurfaceDescriptorDXGIYCbCr'
     722           0 :             (msg__)->WriteSentinel(3061212892);
     723           0 :             return;
     724             :         }
     725             :     case type__::TSurfaceDescriptorX11:
     726             :         {
     727           0 :             Write((v__).get_SurfaceDescriptorX11(), msg__);
     728             :             // Sentinel = 'TSurfaceDescriptorX11'
     729           0 :             (msg__)->WriteSentinel(3923930613);
     730           0 :             return;
     731             :         }
     732             :     case type__::TSurfaceTextureDescriptor:
     733             :         {
     734           0 :             Write((v__).get_SurfaceTextureDescriptor(), msg__);
     735             :             // Sentinel = 'TSurfaceTextureDescriptor'
     736           0 :             (msg__)->WriteSentinel(2253946800);
     737           0 :             return;
     738             :         }
     739             :     case type__::TEGLImageDescriptor:
     740             :         {
     741           0 :             Write((v__).get_EGLImageDescriptor(), msg__);
     742             :             // Sentinel = 'TEGLImageDescriptor'
     743           0 :             (msg__)->WriteSentinel(2680446099);
     744           0 :             return;
     745             :         }
     746             :     case type__::TSurfaceDescriptorMacIOSurface:
     747             :         {
     748           0 :             Write((v__).get_SurfaceDescriptorMacIOSurface(), msg__);
     749             :             // Sentinel = 'TSurfaceDescriptorMacIOSurface'
     750           0 :             (msg__)->WriteSentinel(4267688786);
     751           0 :             return;
     752             :         }
     753             :     case type__::TSurfaceDescriptorSharedGLTexture:
     754             :         {
     755           0 :             Write((v__).get_SurfaceDescriptorSharedGLTexture(), msg__);
     756             :             // Sentinel = 'TSurfaceDescriptorSharedGLTexture'
     757           0 :             (msg__)->WriteSentinel(4169514976);
     758           0 :             return;
     759             :         }
     760             :     case type__::TSurfaceDescriptorGPUVideo:
     761             :         {
     762           0 :             Write((v__).get_SurfaceDescriptorGPUVideo(), msg__);
     763             :             // Sentinel = 'TSurfaceDescriptorGPUVideo'
     764           0 :             (msg__)->WriteSentinel(2406892431);
     765           0 :             return;
     766             :         }
     767             :     case type__::Tnull_t:
     768             :         {
     769           0 :             Write((v__).get_null_t(), msg__);
     770             :             // Sentinel = 'Tnull_t'
     771           0 :             (msg__)->WriteSentinel(3731137201);
     772           0 :             return;
     773             :         }
     774             :     default:
     775             :         {
     776           0 :             FatalError("unknown union type");
     777           0 :             return;
     778             :         }
     779             :     }
     780             : }
     781             : 
     782           0 : auto PImageBridgeParent::Read(
     783             :         SurfaceDescriptor* v__,
     784             :         const Message* msg__,
     785             :         PickleIterator* iter__) -> bool
     786             : {
     787             :     typedef SurfaceDescriptor type__;
     788             :     int type;
     789           0 :     if ((!(Read((&(type)), msg__, iter__)))) {
     790           0 :         mozilla::ipc::UnionTypeReadError("SurfaceDescriptor");
     791           0 :         return false;
     792             :     }
     793             :     // Sentinel = 'SurfaceDescriptor'
     794           0 :     if ((!((msg__)->ReadSentinel(iter__, 1058499359)))) {
     795           0 :         mozilla::ipc::SentinelReadError("SurfaceDescriptor");
     796           0 :         return false;
     797             :     }
     798             : 
     799           0 :     switch (type) {
     800             :     case type__::TSurfaceDescriptorBuffer:
     801             :         {
     802           0 :             SurfaceDescriptorBuffer tmp = SurfaceDescriptorBuffer();
     803           0 :             (*(v__)) = tmp;
     804           0 :             if ((!(Read((&((v__)->get_SurfaceDescriptorBuffer())), msg__, iter__)))) {
     805           0 :                 FatalError("Error deserializing Union type");
     806           0 :                 return false;
     807             :             }
     808             :             // Sentinel = 'TSurfaceDescriptorBuffer'
     809           0 :             if ((!((msg__)->ReadSentinel(iter__, 2202696360)))) {
     810           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
     811           0 :                 return false;
     812             :             }
     813           0 :             return true;
     814             :         }
     815             :     case type__::TSurfaceDescriptorDIB:
     816             :         {
     817           0 :             SurfaceDescriptorDIB tmp = SurfaceDescriptorDIB();
     818           0 :             (*(v__)) = tmp;
     819           0 :             if ((!(Read((&((v__)->get_SurfaceDescriptorDIB())), msg__, iter__)))) {
     820           0 :                 FatalError("Error deserializing Union type");
     821           0 :                 return false;
     822             :             }
     823             :             // Sentinel = 'TSurfaceDescriptorDIB'
     824           0 :             if ((!((msg__)->ReadSentinel(iter__, 998410538)))) {
     825           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
     826           0 :                 return false;
     827             :             }
     828           0 :             return true;
     829             :         }
     830             :     case type__::TSurfaceDescriptorD3D10:
     831             :         {
     832           0 :             SurfaceDescriptorD3D10 tmp = SurfaceDescriptorD3D10();
     833           0 :             (*(v__)) = tmp;
     834           0 :             if ((!(Read((&((v__)->get_SurfaceDescriptorD3D10())), msg__, iter__)))) {
     835           0 :                 FatalError("Error deserializing Union type");
     836           0 :                 return false;
     837             :             }
     838             :             // Sentinel = 'TSurfaceDescriptorD3D10'
     839           0 :             if ((!((msg__)->ReadSentinel(iter__, 2753564567)))) {
     840           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
     841           0 :                 return false;
     842             :             }
     843           0 :             return true;
     844             :         }
     845             :     case type__::TSurfaceDescriptorFileMapping:
     846             :         {
     847           0 :             SurfaceDescriptorFileMapping tmp = SurfaceDescriptorFileMapping();
     848           0 :             (*(v__)) = tmp;
     849           0 :             if ((!(Read((&((v__)->get_SurfaceDescriptorFileMapping())), msg__, iter__)))) {
     850           0 :                 FatalError("Error deserializing Union type");
     851           0 :                 return false;
     852             :             }
     853             :             // Sentinel = 'TSurfaceDescriptorFileMapping'
     854           0 :             if ((!((msg__)->ReadSentinel(iter__, 722196935)))) {
     855           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
     856           0 :                 return false;
     857             :             }
     858           0 :             return true;
     859             :         }
     860             :     case type__::TSurfaceDescriptorDXGIYCbCr:
     861             :         {
     862           0 :             SurfaceDescriptorDXGIYCbCr tmp = SurfaceDescriptorDXGIYCbCr();
     863           0 :             (*(v__)) = tmp;
     864           0 :             if ((!(Read((&((v__)->get_SurfaceDescriptorDXGIYCbCr())), msg__, iter__)))) {
     865           0 :                 FatalError("Error deserializing Union type");
     866           0 :                 return false;
     867             :             }
     868             :             // Sentinel = 'TSurfaceDescriptorDXGIYCbCr'
     869           0 :             if ((!((msg__)->ReadSentinel(iter__, 3061212892)))) {
     870           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
     871           0 :                 return false;
     872             :             }
     873           0 :             return true;
     874             :         }
     875             :     case type__::TSurfaceDescriptorX11:
     876             :         {
     877           0 :             SurfaceDescriptorX11 tmp = SurfaceDescriptorX11();
     878           0 :             (*(v__)) = tmp;
     879           0 :             if ((!(Read((&((v__)->get_SurfaceDescriptorX11())), msg__, iter__)))) {
     880           0 :                 FatalError("Error deserializing Union type");
     881           0 :                 return false;
     882             :             }
     883             :             // Sentinel = 'TSurfaceDescriptorX11'
     884           0 :             if ((!((msg__)->ReadSentinel(iter__, 3923930613)))) {
     885           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
     886           0 :                 return false;
     887             :             }
     888           0 :             return true;
     889             :         }
     890             :     case type__::TSurfaceTextureDescriptor:
     891             :         {
     892           0 :             SurfaceTextureDescriptor tmp = SurfaceTextureDescriptor();
     893           0 :             (*(v__)) = tmp;
     894           0 :             if ((!(Read((&((v__)->get_SurfaceTextureDescriptor())), msg__, iter__)))) {
     895           0 :                 FatalError("Error deserializing Union type");
     896           0 :                 return false;
     897             :             }
     898             :             // Sentinel = 'TSurfaceTextureDescriptor'
     899           0 :             if ((!((msg__)->ReadSentinel(iter__, 2253946800)))) {
     900           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
     901           0 :                 return false;
     902             :             }
     903           0 :             return true;
     904             :         }
     905             :     case type__::TEGLImageDescriptor:
     906             :         {
     907           0 :             EGLImageDescriptor tmp = EGLImageDescriptor();
     908           0 :             (*(v__)) = tmp;
     909           0 :             if ((!(Read((&((v__)->get_EGLImageDescriptor())), msg__, iter__)))) {
     910           0 :                 FatalError("Error deserializing Union type");
     911           0 :                 return false;
     912             :             }
     913             :             // Sentinel = 'TEGLImageDescriptor'
     914           0 :             if ((!((msg__)->ReadSentinel(iter__, 2680446099)))) {
     915           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
     916           0 :                 return false;
     917             :             }
     918           0 :             return true;
     919             :         }
     920             :     case type__::TSurfaceDescriptorMacIOSurface:
     921             :         {
     922           0 :             SurfaceDescriptorMacIOSurface tmp = SurfaceDescriptorMacIOSurface();
     923           0 :             (*(v__)) = tmp;
     924           0 :             if ((!(Read((&((v__)->get_SurfaceDescriptorMacIOSurface())), msg__, iter__)))) {
     925           0 :                 FatalError("Error deserializing Union type");
     926           0 :                 return false;
     927             :             }
     928             :             // Sentinel = 'TSurfaceDescriptorMacIOSurface'
     929           0 :             if ((!((msg__)->ReadSentinel(iter__, 4267688786)))) {
     930           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
     931           0 :                 return false;
     932             :             }
     933           0 :             return true;
     934             :         }
     935             :     case type__::TSurfaceDescriptorSharedGLTexture:
     936             :         {
     937           0 :             SurfaceDescriptorSharedGLTexture tmp = SurfaceDescriptorSharedGLTexture();
     938           0 :             (*(v__)) = tmp;
     939           0 :             if ((!(Read((&((v__)->get_SurfaceDescriptorSharedGLTexture())), msg__, iter__)))) {
     940           0 :                 FatalError("Error deserializing Union type");
     941           0 :                 return false;
     942             :             }
     943             :             // Sentinel = 'TSurfaceDescriptorSharedGLTexture'
     944           0 :             if ((!((msg__)->ReadSentinel(iter__, 4169514976)))) {
     945           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
     946           0 :                 return false;
     947             :             }
     948           0 :             return true;
     949             :         }
     950             :     case type__::TSurfaceDescriptorGPUVideo:
     951             :         {
     952           0 :             SurfaceDescriptorGPUVideo tmp = SurfaceDescriptorGPUVideo();
     953           0 :             (*(v__)) = tmp;
     954           0 :             if ((!(Read((&((v__)->get_SurfaceDescriptorGPUVideo())), msg__, iter__)))) {
     955           0 :                 FatalError("Error deserializing Union type");
     956           0 :                 return false;
     957             :             }
     958             :             // Sentinel = 'TSurfaceDescriptorGPUVideo'
     959           0 :             if ((!((msg__)->ReadSentinel(iter__, 2406892431)))) {
     960           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
     961           0 :                 return false;
     962             :             }
     963           0 :             return true;
     964             :         }
     965             :     case type__::Tnull_t:
     966             :         {
     967             :             null_t tmp = null_t();
     968           0 :             (*(v__)) = tmp;
     969           0 :             if ((!(Read((&((v__)->get_null_t())), msg__, iter__)))) {
     970           0 :                 FatalError("Error deserializing Union type");
     971           0 :                 return false;
     972             :             }
     973             :             // Sentinel = 'Tnull_t'
     974           0 :             if ((!((msg__)->ReadSentinel(iter__, 3731137201)))) {
     975           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
     976           0 :                 return false;
     977             :             }
     978           0 :             return true;
     979             :         }
     980             :     default:
     981             :         {
     982           0 :             FatalError("unknown union type");
     983           0 :             return false;
     984             :         }
     985             :     }
     986             : }
     987             : 
     988           0 : auto PImageBridgeParent::Write(
     989             :         const OpPaintTextureRegion& v__,
     990             :         Message* msg__) -> void
     991             : {
     992           0 :     Write((v__).bufferData(), msg__);
     993             :     // Sentinel = 'bufferData'
     994           0 :     (msg__)->WriteSentinel(1624783476);
     995           0 :     Write((v__).updatedRegion(), msg__);
     996             :     // Sentinel = 'updatedRegion'
     997           0 :     (msg__)->WriteSentinel(2578696480);
     998           0 : }
     999             : 
    1000           0 : auto PImageBridgeParent::Read(
    1001             :         OpPaintTextureRegion* v__,
    1002             :         const Message* msg__,
    1003             :         PickleIterator* iter__) -> bool
    1004             : {
    1005           0 :     if ((!(Read((&((v__)->bufferData())), msg__, iter__)))) {
    1006           0 :         FatalError("Error deserializing 'bufferData' (ThebesBufferData) member of 'OpPaintTextureRegion'");
    1007           0 :         return false;
    1008             :     }
    1009             :     // Sentinel = 'bufferData'
    1010           0 :     if ((!((msg__)->ReadSentinel(iter__, 1624783476)))) {
    1011           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'bufferData' (ThebesBufferData) member of 'OpPaintTextureRegion'");
    1012           0 :         return false;
    1013             :     }
    1014           0 :     if ((!(Read((&((v__)->updatedRegion())), msg__, iter__)))) {
    1015           0 :         FatalError("Error deserializing 'updatedRegion' (nsIntRegion) member of 'OpPaintTextureRegion'");
    1016           0 :         return false;
    1017             :     }
    1018             :     // Sentinel = 'updatedRegion'
    1019           0 :     if ((!((msg__)->ReadSentinel(iter__, 2578696480)))) {
    1020           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'updatedRegion' (nsIntRegion) member of 'OpPaintTextureRegion'");
    1021           0 :         return false;
    1022             :     }
    1023           0 :     return true;
    1024             : }
    1025             : 
    1026           0 : auto PImageBridgeParent::Write(
    1027             :         const nsTArray<ReadLockInit>& v__,
    1028             :         Message* msg__) -> void
    1029             : {
    1030           0 :     uint32_t length = (v__).Length();
    1031           0 :     Write(length, msg__);
    1032             :     // Sentinel = ('length', 'ReadLockInit[]')
    1033           0 :     (msg__)->WriteSentinel(3010682310);
    1034             : 
    1035           0 :     for (auto& elem : v__) {
    1036           0 :         Write(elem, msg__);
    1037             :         // Sentinel = 'ReadLockInit[]'
    1038           0 :         (msg__)->WriteSentinel(1659602585);
    1039             :     }
    1040           0 : }
    1041             : 
    1042           0 : auto PImageBridgeParent::Read(
    1043             :         nsTArray<ReadLockInit>* v__,
    1044             :         const Message* msg__,
    1045             :         PickleIterator* iter__) -> bool
    1046             : {
    1047           0 :     nsTArray<ReadLockInit> fa;
    1048             :     uint32_t length;
    1049           0 :     if ((!(Read((&(length)), msg__, iter__)))) {
    1050           0 :         mozilla::ipc::ArrayLengthReadError("ReadLockInit[]");
    1051           0 :         return false;
    1052             :     }
    1053             :     // Sentinel = ('length', 'ReadLockInit[]')
    1054           0 :     if ((!((msg__)->ReadSentinel(iter__, 3010682310)))) {
    1055           0 :         mozilla::ipc::SentinelReadError("ReadLockInit[]");
    1056           0 :         return false;
    1057             :     }
    1058             : 
    1059           0 :     ReadLockInit* elems = (fa).AppendElements(length);
    1060           0 :     for (uint32_t i = 0; (i) < (length); (++(i))) {
    1061           0 :         if ((!(Read((&(elems[i])), msg__, iter__)))) {
    1062           0 :             FatalError("Error deserializing 'ReadLockInit[i]'");
    1063           0 :             return false;
    1064             :         }
    1065             :         // Sentinel = 'ReadLockInit[]'
    1066           0 :         if ((!((msg__)->ReadSentinel(iter__, 1659602585)))) {
    1067           0 :             mozilla::ipc::SentinelReadError("Error deserializing 'ReadLockInit[i]'");
    1068           0 :             return false;
    1069             :         }
    1070             :     }
    1071           0 :     (v__)->SwapElements(fa);
    1072           0 :     return true;
    1073             : }
    1074             : 
    1075           0 : auto PImageBridgeParent::Write(
    1076             :         const OpDestroy& v__,
    1077             :         Message* msg__) -> void
    1078             : {
    1079             :     typedef OpDestroy type__;
    1080           0 :     Write(int((v__).type()), msg__);
    1081             :     // Sentinel = 'OpDestroy'
    1082           0 :     (msg__)->WriteSentinel(3796861956);
    1083             : 
    1084           0 :     switch ((v__).type()) {
    1085             :     case type__::TPTextureParent:
    1086             :         {
    1087           0 :             Write((v__).get_PTextureParent(), msg__, false);
    1088             :             // Sentinel = 'TPTextureParent'
    1089           0 :             (msg__)->WriteSentinel(896696938);
    1090           0 :             return;
    1091             :         }
    1092             :     case type__::TPTextureChild:
    1093             :         {
    1094           0 :             FatalError("wrong side!");
    1095           0 :             return;
    1096             :         }
    1097             :     case type__::TCompositableHandle:
    1098             :         {
    1099           0 :             Write((v__).get_CompositableHandle(), msg__);
    1100             :             // Sentinel = 'TCompositableHandle'
    1101           0 :             (msg__)->WriteSentinel(4258010777);
    1102           0 :             return;
    1103             :         }
    1104             :     default:
    1105             :         {
    1106           0 :             FatalError("unknown union type");
    1107           0 :             return;
    1108             :         }
    1109             :     }
    1110             : }
    1111             : 
    1112           0 : auto PImageBridgeParent::Read(
    1113             :         OpDestroy* v__,
    1114             :         const Message* msg__,
    1115             :         PickleIterator* iter__) -> bool
    1116             : {
    1117             :     typedef OpDestroy type__;
    1118             :     int type;
    1119           0 :     if ((!(Read((&(type)), msg__, iter__)))) {
    1120           0 :         mozilla::ipc::UnionTypeReadError("OpDestroy");
    1121           0 :         return false;
    1122             :     }
    1123             :     // Sentinel = 'OpDestroy'
    1124           0 :     if ((!((msg__)->ReadSentinel(iter__, 3796861956)))) {
    1125           0 :         mozilla::ipc::SentinelReadError("OpDestroy");
    1126           0 :         return false;
    1127             :     }
    1128             : 
    1129           0 :     switch (type) {
    1130             :     case type__::TPTextureParent:
    1131             :         {
    1132           0 :             return false;
    1133             :         }
    1134             :     case type__::TPTextureChild:
    1135             :         {
    1136           0 :             PTextureParent* tmp = nullptr;
    1137           0 :             (*(v__)) = tmp;
    1138           0 :             if ((!(Read((&((v__)->get_PTextureParent())), msg__, iter__, false)))) {
    1139           0 :                 FatalError("Error deserializing Union type");
    1140           0 :                 return false;
    1141             :             }
    1142             :             // Sentinel = 'TPTextureChild'
    1143           0 :             if ((!((msg__)->ReadSentinel(iter__, 3251900187)))) {
    1144           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    1145           0 :                 return false;
    1146             :             }
    1147           0 :             return true;
    1148             :         }
    1149             :     case type__::TCompositableHandle:
    1150             :         {
    1151           0 :             CompositableHandle tmp = CompositableHandle();
    1152           0 :             (*(v__)) = tmp;
    1153           0 :             if ((!(Read((&((v__)->get_CompositableHandle())), msg__, iter__)))) {
    1154           0 :                 FatalError("Error deserializing Union type");
    1155           0 :                 return false;
    1156             :             }
    1157             :             // Sentinel = 'TCompositableHandle'
    1158           0 :             if ((!((msg__)->ReadSentinel(iter__, 4258010777)))) {
    1159           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    1160           0 :                 return false;
    1161             :             }
    1162           0 :             return true;
    1163             :         }
    1164             :     default:
    1165             :         {
    1166           0 :             FatalError("unknown union type");
    1167           0 :             return false;
    1168             :         }
    1169             :     }
    1170             : }
    1171             : 
    1172           0 : auto PImageBridgeParent::Write(
    1173             :         const nsTArray<ImageCompositeNotification>& v__,
    1174             :         Message* msg__) -> void
    1175             : {
    1176           0 :     uint32_t length = (v__).Length();
    1177           0 :     Write(length, msg__);
    1178             :     // Sentinel = ('length', 'ImageCompositeNotification[]')
    1179           0 :     (msg__)->WriteSentinel(1825170902);
    1180             : 
    1181           0 :     for (auto& elem : v__) {
    1182           0 :         Write(elem, msg__);
    1183             :         // Sentinel = 'ImageCompositeNotification[]'
    1184           0 :         (msg__)->WriteSentinel(2165555657);
    1185             :     }
    1186           0 : }
    1187             : 
    1188           0 : auto PImageBridgeParent::Read(
    1189             :         nsTArray<ImageCompositeNotification>* v__,
    1190             :         const Message* msg__,
    1191             :         PickleIterator* iter__) -> bool
    1192             : {
    1193           0 :     nsTArray<ImageCompositeNotification> fa;
    1194             :     uint32_t length;
    1195           0 :     if ((!(Read((&(length)), msg__, iter__)))) {
    1196           0 :         mozilla::ipc::ArrayLengthReadError("ImageCompositeNotification[]");
    1197           0 :         return false;
    1198             :     }
    1199             :     // Sentinel = ('length', 'ImageCompositeNotification[]')
    1200           0 :     if ((!((msg__)->ReadSentinel(iter__, 1825170902)))) {
    1201           0 :         mozilla::ipc::SentinelReadError("ImageCompositeNotification[]");
    1202           0 :         return false;
    1203             :     }
    1204             : 
    1205           0 :     ImageCompositeNotification* elems = (fa).AppendElements(length);
    1206           0 :     for (uint32_t i = 0; (i) < (length); (++(i))) {
    1207           0 :         if ((!(Read((&(elems[i])), msg__, iter__)))) {
    1208           0 :             FatalError("Error deserializing 'ImageCompositeNotification[i]'");
    1209           0 :             return false;
    1210             :         }
    1211             :         // Sentinel = 'ImageCompositeNotification[]'
    1212           0 :         if ((!((msg__)->ReadSentinel(iter__, 2165555657)))) {
    1213           0 :             mozilla::ipc::SentinelReadError("Error deserializing 'ImageCompositeNotification[i]'");
    1214           0 :             return false;
    1215             :         }
    1216             :     }
    1217           0 :     (v__)->SwapElements(fa);
    1218           0 :     return true;
    1219             : }
    1220             : 
    1221           0 : auto PImageBridgeParent::Write(
    1222             :         const TileDescriptor& v__,
    1223             :         Message* msg__) -> void
    1224             : {
    1225             :     typedef TileDescriptor type__;
    1226           0 :     Write(int((v__).type()), msg__);
    1227             :     // Sentinel = 'TileDescriptor'
    1228           0 :     (msg__)->WriteSentinel(1522454921);
    1229             : 
    1230           0 :     switch ((v__).type()) {
    1231             :     case type__::TTexturedTileDescriptor:
    1232             :         {
    1233           0 :             Write((v__).get_TexturedTileDescriptor(), msg__);
    1234             :             // Sentinel = 'TTexturedTileDescriptor'
    1235           0 :             (msg__)->WriteSentinel(2237132903);
    1236           0 :             return;
    1237             :         }
    1238             :     case type__::TPlaceholderTileDescriptor:
    1239             :         {
    1240           0 :             Write((v__).get_PlaceholderTileDescriptor(), msg__);
    1241             :             // Sentinel = 'TPlaceholderTileDescriptor'
    1242           0 :             (msg__)->WriteSentinel(1643451770);
    1243           0 :             return;
    1244             :         }
    1245             :     default:
    1246             :         {
    1247           0 :             FatalError("unknown union type");
    1248           0 :             return;
    1249             :         }
    1250             :     }
    1251             : }
    1252             : 
    1253           0 : auto PImageBridgeParent::Read(
    1254             :         TileDescriptor* v__,
    1255             :         const Message* msg__,
    1256             :         PickleIterator* iter__) -> bool
    1257             : {
    1258             :     typedef TileDescriptor type__;
    1259             :     int type;
    1260           0 :     if ((!(Read((&(type)), msg__, iter__)))) {
    1261           0 :         mozilla::ipc::UnionTypeReadError("TileDescriptor");
    1262           0 :         return false;
    1263             :     }
    1264             :     // Sentinel = 'TileDescriptor'
    1265           0 :     if ((!((msg__)->ReadSentinel(iter__, 1522454921)))) {
    1266           0 :         mozilla::ipc::SentinelReadError("TileDescriptor");
    1267           0 :         return false;
    1268             :     }
    1269             : 
    1270           0 :     switch (type) {
    1271             :     case type__::TTexturedTileDescriptor:
    1272             :         {
    1273           0 :             TexturedTileDescriptor tmp = TexturedTileDescriptor();
    1274           0 :             (*(v__)) = tmp;
    1275           0 :             if ((!(Read((&((v__)->get_TexturedTileDescriptor())), msg__, iter__)))) {
    1276           0 :                 FatalError("Error deserializing Union type");
    1277           0 :                 return false;
    1278             :             }
    1279             :             // Sentinel = 'TTexturedTileDescriptor'
    1280           0 :             if ((!((msg__)->ReadSentinel(iter__, 2237132903)))) {
    1281           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    1282           0 :                 return false;
    1283             :             }
    1284           0 :             return true;
    1285             :         }
    1286             :     case type__::TPlaceholderTileDescriptor:
    1287             :         {
    1288           0 :             PlaceholderTileDescriptor tmp = PlaceholderTileDescriptor();
    1289           0 :             (*(v__)) = tmp;
    1290           0 :             if ((!(Read((&((v__)->get_PlaceholderTileDescriptor())), msg__, iter__)))) {
    1291           0 :                 FatalError("Error deserializing Union type");
    1292           0 :                 return false;
    1293             :             }
    1294             :             // Sentinel = 'TPlaceholderTileDescriptor'
    1295           0 :             if ((!((msg__)->ReadSentinel(iter__, 1643451770)))) {
    1296           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    1297           0 :                 return false;
    1298             :             }
    1299           0 :             return true;
    1300             :         }
    1301             :     default:
    1302             :         {
    1303           0 :             FatalError("unknown union type");
    1304           0 :             return false;
    1305             :         }
    1306             :     }
    1307             : }
    1308             : 
    1309           0 : auto PImageBridgeParent::Write(
    1310             :         const ThebesBufferData& v__,
    1311             :         Message* msg__) -> void
    1312             : {
    1313           0 :     Write((v__).rect(), msg__);
    1314             :     // Sentinel = 'rect'
    1315           0 :     (msg__)->WriteSentinel(438776542);
    1316           0 :     Write((v__).rotation(), msg__);
    1317             :     // Sentinel = 'rotation'
    1318           0 :     (msg__)->WriteSentinel(289872474);
    1319           0 : }
    1320             : 
    1321           0 : auto PImageBridgeParent::Read(
    1322             :         ThebesBufferData* v__,
    1323             :         const Message* msg__,
    1324             :         PickleIterator* iter__) -> bool
    1325             : {
    1326           0 :     if ((!(Read((&((v__)->rect())), msg__, iter__)))) {
    1327           0 :         FatalError("Error deserializing 'rect' (IntRect) member of 'ThebesBufferData'");
    1328           0 :         return false;
    1329             :     }
    1330             :     // Sentinel = 'rect'
    1331           0 :     if ((!((msg__)->ReadSentinel(iter__, 438776542)))) {
    1332           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'rect' (IntRect) member of 'ThebesBufferData'");
    1333           0 :         return false;
    1334             :     }
    1335           0 :     if ((!(Read((&((v__)->rotation())), msg__, iter__)))) {
    1336           0 :         FatalError("Error deserializing 'rotation' (IntPoint) member of 'ThebesBufferData'");
    1337           0 :         return false;
    1338             :     }
    1339             :     // Sentinel = 'rotation'
    1340           0 :     if ((!((msg__)->ReadSentinel(iter__, 289872474)))) {
    1341           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'rotation' (IntPoint) member of 'ThebesBufferData'");
    1342           0 :         return false;
    1343             :     }
    1344           0 :     return true;
    1345             : }
    1346             : 
    1347           0 : auto PImageBridgeParent::Write(
    1348             :         const SurfaceTextureDescriptor& v__,
    1349             :         Message* msg__) -> void
    1350             : {
    1351           0 :     Write((v__).handle(), msg__);
    1352             :     // Sentinel = 'handle'
    1353           0 :     (msg__)->WriteSentinel(453975108);
    1354           0 :     Write((v__).size(), msg__);
    1355             :     // Sentinel = 'size'
    1356           0 :     (msg__)->WriteSentinel(931048223);
    1357           0 :     Write((v__).continuous(), msg__);
    1358             :     // Sentinel = 'continuous'
    1359           0 :     (msg__)->WriteSentinel(2103626571);
    1360           0 : }
    1361             : 
    1362           0 : auto PImageBridgeParent::Read(
    1363             :         SurfaceTextureDescriptor* v__,
    1364             :         const Message* msg__,
    1365             :         PickleIterator* iter__) -> bool
    1366             : {
    1367           0 :     if ((!(Read((&((v__)->handle())), msg__, iter__)))) {
    1368           0 :         FatalError("Error deserializing 'handle' (uint64_t) member of 'SurfaceTextureDescriptor'");
    1369           0 :         return false;
    1370             :     }
    1371             :     // Sentinel = 'handle'
    1372           0 :     if ((!((msg__)->ReadSentinel(iter__, 453975108)))) {
    1373           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'handle' (uint64_t) member of 'SurfaceTextureDescriptor'");
    1374           0 :         return false;
    1375             :     }
    1376           0 :     if ((!(Read((&((v__)->size())), msg__, iter__)))) {
    1377           0 :         FatalError("Error deserializing 'size' (IntSize) member of 'SurfaceTextureDescriptor'");
    1378           0 :         return false;
    1379             :     }
    1380             :     // Sentinel = 'size'
    1381           0 :     if ((!((msg__)->ReadSentinel(iter__, 931048223)))) {
    1382           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'size' (IntSize) member of 'SurfaceTextureDescriptor'");
    1383           0 :         return false;
    1384             :     }
    1385           0 :     if ((!(Read((&((v__)->continuous())), msg__, iter__)))) {
    1386           0 :         FatalError("Error deserializing 'continuous' (bool) member of 'SurfaceTextureDescriptor'");
    1387           0 :         return false;
    1388             :     }
    1389             :     // Sentinel = 'continuous'
    1390           0 :     if ((!((msg__)->ReadSentinel(iter__, 2103626571)))) {
    1391           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'continuous' (bool) member of 'SurfaceTextureDescriptor'");
    1392           0 :         return false;
    1393             :     }
    1394           0 :     return true;
    1395             : }
    1396             : 
    1397           0 : auto PImageBridgeParent::Write(
    1398             :         const ShmemSection& v__,
    1399             :         Message* msg__) -> void
    1400             : {
    1401           0 :     Write((v__).shmem(), msg__);
    1402             :     // Sentinel = 'shmem'
    1403           0 :     (msg__)->WriteSentinel(4252604405);
    1404           0 :     Write((v__).offset(), msg__);
    1405             :     // Sentinel = 'offset'
    1406           0 :     (msg__)->WriteSentinel(1369947863);
    1407           0 :     Write((v__).size(), msg__);
    1408             :     // Sentinel = 'size'
    1409           0 :     (msg__)->WriteSentinel(931048223);
    1410           0 : }
    1411             : 
    1412           0 : auto PImageBridgeParent::Read(
    1413             :         ShmemSection* v__,
    1414             :         const Message* msg__,
    1415             :         PickleIterator* iter__) -> bool
    1416             : {
    1417           0 :     if ((!(Read((&((v__)->shmem())), msg__, iter__)))) {
    1418           0 :         FatalError("Error deserializing 'shmem' (Shmem) member of 'ShmemSection'");
    1419           0 :         return false;
    1420             :     }
    1421             :     // Sentinel = 'shmem'
    1422           0 :     if ((!((msg__)->ReadSentinel(iter__, 4252604405)))) {
    1423           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'shmem' (Shmem) member of 'ShmemSection'");
    1424           0 :         return false;
    1425             :     }
    1426           0 :     if ((!(Read((&((v__)->offset())), msg__, iter__)))) {
    1427           0 :         FatalError("Error deserializing 'offset' (uint32_t) member of 'ShmemSection'");
    1428           0 :         return false;
    1429             :     }
    1430             :     // Sentinel = 'offset'
    1431           0 :     if ((!((msg__)->ReadSentinel(iter__, 1369947863)))) {
    1432           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'offset' (uint32_t) member of 'ShmemSection'");
    1433           0 :         return false;
    1434             :     }
    1435           0 :     if ((!(Read((&((v__)->size())), msg__, iter__)))) {
    1436           0 :         FatalError("Error deserializing 'size' (size_t) member of 'ShmemSection'");
    1437           0 :         return false;
    1438             :     }
    1439             :     // Sentinel = 'size'
    1440           0 :     if ((!((msg__)->ReadSentinel(iter__, 931048223)))) {
    1441           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'size' (size_t) member of 'ShmemSection'");
    1442           0 :         return false;
    1443             :     }
    1444           0 :     return true;
    1445             : }
    1446             : 
    1447           0 : auto PImageBridgeParent::Write(
    1448             :         const PlaceholderTileDescriptor& v__,
    1449             :         Message* msg__) -> void
    1450             : {
    1451           0 : }
    1452             : 
    1453           0 : auto PImageBridgeParent::Read(
    1454             :         PlaceholderTileDescriptor* v__,
    1455             :         const Message* msg__,
    1456             :         PickleIterator* iter__) -> bool
    1457             : {
    1458           0 :     return true;
    1459             : }
    1460             : 
    1461           0 : auto PImageBridgeParent::Write(
    1462             :         const YCbCrDescriptor& v__,
    1463             :         Message* msg__) -> void
    1464             : {
    1465           0 :     Write((v__).ySize(), msg__);
    1466             :     // Sentinel = 'ySize'
    1467           0 :     (msg__)->WriteSentinel(313512843);
    1468           0 :     Write((v__).cbCrSize(), msg__);
    1469             :     // Sentinel = 'cbCrSize'
    1470           0 :     (msg__)->WriteSentinel(2601117167);
    1471           0 :     Write((v__).yOffset(), msg__);
    1472             :     // Sentinel = 'yOffset'
    1473           0 :     (msg__)->WriteSentinel(983795183);
    1474           0 :     Write((v__).cbOffset(), msg__);
    1475             :     // Sentinel = 'cbOffset'
    1476           0 :     (msg__)->WriteSentinel(4197159602);
    1477           0 :     Write((v__).crOffset(), msg__);
    1478             :     // Sentinel = 'crOffset'
    1479           0 :     (msg__)->WriteSentinel(1739681986);
    1480           0 :     Write((v__).stereoMode(), msg__);
    1481             :     // Sentinel = 'stereoMode'
    1482           0 :     (msg__)->WriteSentinel(2234072623);
    1483           0 :     Write((v__).yUVColorSpace(), msg__);
    1484             :     // Sentinel = 'yUVColorSpace'
    1485           0 :     (msg__)->WriteSentinel(1051398544);
    1486           0 :     Write((v__).hasIntermediateBuffer(), msg__);
    1487             :     // Sentinel = 'hasIntermediateBuffer'
    1488           0 :     (msg__)->WriteSentinel(985857996);
    1489           0 : }
    1490             : 
    1491           0 : auto PImageBridgeParent::Read(
    1492             :         YCbCrDescriptor* v__,
    1493             :         const Message* msg__,
    1494             :         PickleIterator* iter__) -> bool
    1495             : {
    1496           0 :     if ((!(Read((&((v__)->ySize())), msg__, iter__)))) {
    1497           0 :         FatalError("Error deserializing 'ySize' (IntSize) member of 'YCbCrDescriptor'");
    1498           0 :         return false;
    1499             :     }
    1500             :     // Sentinel = 'ySize'
    1501           0 :     if ((!((msg__)->ReadSentinel(iter__, 313512843)))) {
    1502           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'ySize' (IntSize) member of 'YCbCrDescriptor'");
    1503           0 :         return false;
    1504             :     }
    1505           0 :     if ((!(Read((&((v__)->cbCrSize())), msg__, iter__)))) {
    1506           0 :         FatalError("Error deserializing 'cbCrSize' (IntSize) member of 'YCbCrDescriptor'");
    1507           0 :         return false;
    1508             :     }
    1509             :     // Sentinel = 'cbCrSize'
    1510           0 :     if ((!((msg__)->ReadSentinel(iter__, 2601117167)))) {
    1511           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'cbCrSize' (IntSize) member of 'YCbCrDescriptor'");
    1512           0 :         return false;
    1513             :     }
    1514           0 :     if ((!(Read((&((v__)->yOffset())), msg__, iter__)))) {
    1515           0 :         FatalError("Error deserializing 'yOffset' (uint32_t) member of 'YCbCrDescriptor'");
    1516           0 :         return false;
    1517             :     }
    1518             :     // Sentinel = 'yOffset'
    1519           0 :     if ((!((msg__)->ReadSentinel(iter__, 983795183)))) {
    1520           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'yOffset' (uint32_t) member of 'YCbCrDescriptor'");
    1521           0 :         return false;
    1522             :     }
    1523           0 :     if ((!(Read((&((v__)->cbOffset())), msg__, iter__)))) {
    1524           0 :         FatalError("Error deserializing 'cbOffset' (uint32_t) member of 'YCbCrDescriptor'");
    1525           0 :         return false;
    1526             :     }
    1527             :     // Sentinel = 'cbOffset'
    1528           0 :     if ((!((msg__)->ReadSentinel(iter__, 4197159602)))) {
    1529           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'cbOffset' (uint32_t) member of 'YCbCrDescriptor'");
    1530           0 :         return false;
    1531             :     }
    1532           0 :     if ((!(Read((&((v__)->crOffset())), msg__, iter__)))) {
    1533           0 :         FatalError("Error deserializing 'crOffset' (uint32_t) member of 'YCbCrDescriptor'");
    1534           0 :         return false;
    1535             :     }
    1536             :     // Sentinel = 'crOffset'
    1537           0 :     if ((!((msg__)->ReadSentinel(iter__, 1739681986)))) {
    1538           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'crOffset' (uint32_t) member of 'YCbCrDescriptor'");
    1539           0 :         return false;
    1540             :     }
    1541           0 :     if ((!(Read((&((v__)->stereoMode())), msg__, iter__)))) {
    1542           0 :         FatalError("Error deserializing 'stereoMode' (StereoMode) member of 'YCbCrDescriptor'");
    1543           0 :         return false;
    1544             :     }
    1545             :     // Sentinel = 'stereoMode'
    1546           0 :     if ((!((msg__)->ReadSentinel(iter__, 2234072623)))) {
    1547           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'stereoMode' (StereoMode) member of 'YCbCrDescriptor'");
    1548           0 :         return false;
    1549             :     }
    1550           0 :     if ((!(Read((&((v__)->yUVColorSpace())), msg__, iter__)))) {
    1551           0 :         FatalError("Error deserializing 'yUVColorSpace' (YUVColorSpace) member of 'YCbCrDescriptor'");
    1552           0 :         return false;
    1553             :     }
    1554             :     // Sentinel = 'yUVColorSpace'
    1555           0 :     if ((!((msg__)->ReadSentinel(iter__, 1051398544)))) {
    1556           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'yUVColorSpace' (YUVColorSpace) member of 'YCbCrDescriptor'");
    1557           0 :         return false;
    1558             :     }
    1559           0 :     if ((!(Read((&((v__)->hasIntermediateBuffer())), msg__, iter__)))) {
    1560           0 :         FatalError("Error deserializing 'hasIntermediateBuffer' (bool) member of 'YCbCrDescriptor'");
    1561           0 :         return false;
    1562             :     }
    1563             :     // Sentinel = 'hasIntermediateBuffer'
    1564           0 :     if ((!((msg__)->ReadSentinel(iter__, 985857996)))) {
    1565           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'hasIntermediateBuffer' (bool) member of 'YCbCrDescriptor'");
    1566           0 :         return false;
    1567             :     }
    1568           0 :     return true;
    1569             : }
    1570             : 
    1571           0 : auto PImageBridgeParent::Write(
    1572             :         const SurfaceDescriptorFileMapping& v__,
    1573             :         Message* msg__) -> void
    1574             : {
    1575           0 :     Write((v__).handle(), msg__);
    1576             :     // Sentinel = 'handle'
    1577           0 :     (msg__)->WriteSentinel(453975108);
    1578           0 :     Write((v__).format(), msg__);
    1579             :     // Sentinel = 'format'
    1580           0 :     (msg__)->WriteSentinel(2052265543);
    1581           0 :     Write((v__).size(), msg__);
    1582             :     // Sentinel = 'size'
    1583           0 :     (msg__)->WriteSentinel(931048223);
    1584           0 : }
    1585             : 
    1586           0 : auto PImageBridgeParent::Read(
    1587             :         SurfaceDescriptorFileMapping* v__,
    1588             :         const Message* msg__,
    1589             :         PickleIterator* iter__) -> bool
    1590             : {
    1591           0 :     if ((!(Read((&((v__)->handle())), msg__, iter__)))) {
    1592           0 :         FatalError("Error deserializing 'handle' (WindowsHandle) member of 'SurfaceDescriptorFileMapping'");
    1593           0 :         return false;
    1594             :     }
    1595             :     // Sentinel = 'handle'
    1596           0 :     if ((!((msg__)->ReadSentinel(iter__, 453975108)))) {
    1597           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'handle' (WindowsHandle) member of 'SurfaceDescriptorFileMapping'");
    1598           0 :         return false;
    1599             :     }
    1600           0 :     if ((!(Read((&((v__)->format())), msg__, iter__)))) {
    1601           0 :         FatalError("Error deserializing 'format' (SurfaceFormat) member of 'SurfaceDescriptorFileMapping'");
    1602           0 :         return false;
    1603             :     }
    1604             :     // Sentinel = 'format'
    1605           0 :     if ((!((msg__)->ReadSentinel(iter__, 2052265543)))) {
    1606           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'format' (SurfaceFormat) member of 'SurfaceDescriptorFileMapping'");
    1607           0 :         return false;
    1608             :     }
    1609           0 :     if ((!(Read((&((v__)->size())), msg__, iter__)))) {
    1610           0 :         FatalError("Error deserializing 'size' (IntSize) member of 'SurfaceDescriptorFileMapping'");
    1611           0 :         return false;
    1612             :     }
    1613             :     // Sentinel = 'size'
    1614           0 :     if ((!((msg__)->ReadSentinel(iter__, 931048223)))) {
    1615           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'size' (IntSize) member of 'SurfaceDescriptorFileMapping'");
    1616           0 :         return false;
    1617             :     }
    1618           0 :     return true;
    1619             : }
    1620             : 
    1621           0 : auto PImageBridgeParent::Write(
    1622             :         const SurfaceDescriptorTiles& v__,
    1623             :         Message* msg__) -> void
    1624             : {
    1625           0 :     Write((v__).validRegion(), msg__);
    1626             :     // Sentinel = 'validRegion'
    1627           0 :     (msg__)->WriteSentinel(1063106721);
    1628           0 :     Write((v__).tiles(), msg__);
    1629             :     // Sentinel = 'tiles'
    1630           0 :     (msg__)->WriteSentinel(2787066946);
    1631           0 :     Write((v__).tileOrigin(), msg__);
    1632             :     // Sentinel = 'tileOrigin'
    1633           0 :     (msg__)->WriteSentinel(41129744);
    1634           0 :     Write((v__).tileSize(), msg__);
    1635             :     // Sentinel = 'tileSize'
    1636           0 :     (msg__)->WriteSentinel(2603105767);
    1637           0 :     Write((v__).firstTileX(), msg__);
    1638             :     // Sentinel = 'firstTileX'
    1639           0 :     (msg__)->WriteSentinel(1961114936);
    1640           0 :     Write((v__).firstTileY(), msg__);
    1641             :     // Sentinel = 'firstTileY'
    1642           0 :     (msg__)->WriteSentinel(1961114937);
    1643           0 :     Write((v__).retainedWidth(), msg__);
    1644             :     // Sentinel = 'retainedWidth'
    1645           0 :     (msg__)->WriteSentinel(2490297853);
    1646           0 :     Write((v__).retainedHeight(), msg__);
    1647             :     // Sentinel = 'retainedHeight'
    1648           0 :     (msg__)->WriteSentinel(3230772307);
    1649           0 :     Write((v__).resolution(), msg__);
    1650             :     // Sentinel = 'resolution'
    1651           0 :     (msg__)->WriteSentinel(4077768700);
    1652           0 :     Write((v__).frameXResolution(), msg__);
    1653             :     // Sentinel = 'frameXResolution'
    1654           0 :     (msg__)->WriteSentinel(876167199);
    1655           0 :     Write((v__).frameYResolution(), msg__);
    1656             :     // Sentinel = 'frameYResolution'
    1657           0 :     (msg__)->WriteSentinel(2856703858);
    1658           0 :     Write((v__).isProgressive(), msg__);
    1659             :     // Sentinel = 'isProgressive'
    1660           0 :     (msg__)->WriteSentinel(1291560808);
    1661           0 : }
    1662             : 
    1663           0 : auto PImageBridgeParent::Read(
    1664             :         SurfaceDescriptorTiles* v__,
    1665             :         const Message* msg__,
    1666             :         PickleIterator* iter__) -> bool
    1667             : {
    1668           0 :     if ((!(Read((&((v__)->validRegion())), msg__, iter__)))) {
    1669           0 :         FatalError("Error deserializing 'validRegion' (nsIntRegion) member of 'SurfaceDescriptorTiles'");
    1670           0 :         return false;
    1671             :     }
    1672             :     // Sentinel = 'validRegion'
    1673           0 :     if ((!((msg__)->ReadSentinel(iter__, 1063106721)))) {
    1674           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'validRegion' (nsIntRegion) member of 'SurfaceDescriptorTiles'");
    1675           0 :         return false;
    1676             :     }
    1677           0 :     if ((!(Read((&((v__)->tiles())), msg__, iter__)))) {
    1678           0 :         FatalError("Error deserializing 'tiles' (TileDescriptor[]) member of 'SurfaceDescriptorTiles'");
    1679           0 :         return false;
    1680             :     }
    1681             :     // Sentinel = 'tiles'
    1682           0 :     if ((!((msg__)->ReadSentinel(iter__, 2787066946)))) {
    1683           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'tiles' (TileDescriptor[]) member of 'SurfaceDescriptorTiles'");
    1684           0 :         return false;
    1685             :     }
    1686           0 :     if ((!(Read((&((v__)->tileOrigin())), msg__, iter__)))) {
    1687           0 :         FatalError("Error deserializing 'tileOrigin' (IntPoint) member of 'SurfaceDescriptorTiles'");
    1688           0 :         return false;
    1689             :     }
    1690             :     // Sentinel = 'tileOrigin'
    1691           0 :     if ((!((msg__)->ReadSentinel(iter__, 41129744)))) {
    1692           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'tileOrigin' (IntPoint) member of 'SurfaceDescriptorTiles'");
    1693           0 :         return false;
    1694             :     }
    1695           0 :     if ((!(Read((&((v__)->tileSize())), msg__, iter__)))) {
    1696           0 :         FatalError("Error deserializing 'tileSize' (IntSize) member of 'SurfaceDescriptorTiles'");
    1697           0 :         return false;
    1698             :     }
    1699             :     // Sentinel = 'tileSize'
    1700           0 :     if ((!((msg__)->ReadSentinel(iter__, 2603105767)))) {
    1701           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'tileSize' (IntSize) member of 'SurfaceDescriptorTiles'");
    1702           0 :         return false;
    1703             :     }
    1704           0 :     if ((!(Read((&((v__)->firstTileX())), msg__, iter__)))) {
    1705           0 :         FatalError("Error deserializing 'firstTileX' (int) member of 'SurfaceDescriptorTiles'");
    1706           0 :         return false;
    1707             :     }
    1708             :     // Sentinel = 'firstTileX'
    1709           0 :     if ((!((msg__)->ReadSentinel(iter__, 1961114936)))) {
    1710           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'firstTileX' (int) member of 'SurfaceDescriptorTiles'");
    1711           0 :         return false;
    1712             :     }
    1713           0 :     if ((!(Read((&((v__)->firstTileY())), msg__, iter__)))) {
    1714           0 :         FatalError("Error deserializing 'firstTileY' (int) member of 'SurfaceDescriptorTiles'");
    1715           0 :         return false;
    1716             :     }
    1717             :     // Sentinel = 'firstTileY'
    1718           0 :     if ((!((msg__)->ReadSentinel(iter__, 1961114937)))) {
    1719           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'firstTileY' (int) member of 'SurfaceDescriptorTiles'");
    1720           0 :         return false;
    1721             :     }
    1722           0 :     if ((!(Read((&((v__)->retainedWidth())), msg__, iter__)))) {
    1723           0 :         FatalError("Error deserializing 'retainedWidth' (int) member of 'SurfaceDescriptorTiles'");
    1724           0 :         return false;
    1725             :     }
    1726             :     // Sentinel = 'retainedWidth'
    1727           0 :     if ((!((msg__)->ReadSentinel(iter__, 2490297853)))) {
    1728           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'retainedWidth' (int) member of 'SurfaceDescriptorTiles'");
    1729           0 :         return false;
    1730             :     }
    1731           0 :     if ((!(Read((&((v__)->retainedHeight())), msg__, iter__)))) {
    1732           0 :         FatalError("Error deserializing 'retainedHeight' (int) member of 'SurfaceDescriptorTiles'");
    1733           0 :         return false;
    1734             :     }
    1735             :     // Sentinel = 'retainedHeight'
    1736           0 :     if ((!((msg__)->ReadSentinel(iter__, 3230772307)))) {
    1737           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'retainedHeight' (int) member of 'SurfaceDescriptorTiles'");
    1738           0 :         return false;
    1739             :     }
    1740           0 :     if ((!(Read((&((v__)->resolution())), msg__, iter__)))) {
    1741           0 :         FatalError("Error deserializing 'resolution' (float) member of 'SurfaceDescriptorTiles'");
    1742           0 :         return false;
    1743             :     }
    1744             :     // Sentinel = 'resolution'
    1745           0 :     if ((!((msg__)->ReadSentinel(iter__, 4077768700)))) {
    1746           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'resolution' (float) member of 'SurfaceDescriptorTiles'");
    1747           0 :         return false;
    1748             :     }
    1749           0 :     if ((!(Read((&((v__)->frameXResolution())), msg__, iter__)))) {
    1750           0 :         FatalError("Error deserializing 'frameXResolution' (float) member of 'SurfaceDescriptorTiles'");
    1751           0 :         return false;
    1752             :     }
    1753             :     // Sentinel = 'frameXResolution'
    1754           0 :     if ((!((msg__)->ReadSentinel(iter__, 876167199)))) {
    1755           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'frameXResolution' (float) member of 'SurfaceDescriptorTiles'");
    1756           0 :         return false;
    1757             :     }
    1758           0 :     if ((!(Read((&((v__)->frameYResolution())), msg__, iter__)))) {
    1759           0 :         FatalError("Error deserializing 'frameYResolution' (float) member of 'SurfaceDescriptorTiles'");
    1760           0 :         return false;
    1761             :     }
    1762             :     // Sentinel = 'frameYResolution'
    1763           0 :     if ((!((msg__)->ReadSentinel(iter__, 2856703858)))) {
    1764           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'frameYResolution' (float) member of 'SurfaceDescriptorTiles'");
    1765           0 :         return false;
    1766             :     }
    1767           0 :     if ((!(Read((&((v__)->isProgressive())), msg__, iter__)))) {
    1768           0 :         FatalError("Error deserializing 'isProgressive' (bool) member of 'SurfaceDescriptorTiles'");
    1769           0 :         return false;
    1770             :     }
    1771             :     // Sentinel = 'isProgressive'
    1772           0 :     if ((!((msg__)->ReadSentinel(iter__, 1291560808)))) {
    1773           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'isProgressive' (bool) member of 'SurfaceDescriptorTiles'");
    1774           0 :         return false;
    1775             :     }
    1776           0 :     return true;
    1777             : }
    1778             : 
    1779           0 : auto PImageBridgeParent::Write(
    1780             :         const AsyncParentMessageData& v__,
    1781             :         Message* msg__) -> void
    1782             : {
    1783             :     typedef AsyncParentMessageData type__;
    1784           0 :     Write(int((v__).type()), msg__);
    1785             :     // Sentinel = 'AsyncParentMessageData'
    1786           0 :     (msg__)->WriteSentinel(3809282103);
    1787             : 
    1788           0 :     switch ((v__).type()) {
    1789             :     case type__::TOpNotifyNotUsed:
    1790             :         {
    1791           0 :             Write((v__).get_OpNotifyNotUsed(), msg__);
    1792             :             // Sentinel = 'TOpNotifyNotUsed'
    1793           0 :             (msg__)->WriteSentinel(2920493638);
    1794           0 :             return;
    1795             :         }
    1796             :     default:
    1797             :         {
    1798           0 :             FatalError("unknown union type");
    1799           0 :             return;
    1800             :         }
    1801             :     }
    1802             : }
    1803             : 
    1804           0 : auto PImageBridgeParent::Read(
    1805             :         AsyncParentMessageData* v__,
    1806             :         const Message* msg__,
    1807             :         PickleIterator* iter__) -> bool
    1808             : {
    1809             :     typedef AsyncParentMessageData type__;
    1810             :     int type;
    1811           0 :     if ((!(Read((&(type)), msg__, iter__)))) {
    1812           0 :         mozilla::ipc::UnionTypeReadError("AsyncParentMessageData");
    1813           0 :         return false;
    1814             :     }
    1815             :     // Sentinel = 'AsyncParentMessageData'
    1816           0 :     if ((!((msg__)->ReadSentinel(iter__, 3809282103)))) {
    1817           0 :         mozilla::ipc::SentinelReadError("AsyncParentMessageData");
    1818           0 :         return false;
    1819             :     }
    1820             : 
    1821           0 :     switch (type) {
    1822             :     case type__::TOpNotifyNotUsed:
    1823             :         {
    1824           0 :             OpNotifyNotUsed tmp = OpNotifyNotUsed();
    1825           0 :             (*(v__)) = tmp;
    1826           0 :             if ((!(Read((&((v__)->get_OpNotifyNotUsed())), msg__, iter__)))) {
    1827           0 :                 FatalError("Error deserializing Union type");
    1828           0 :                 return false;
    1829             :             }
    1830             :             // Sentinel = 'TOpNotifyNotUsed'
    1831           0 :             if ((!((msg__)->ReadSentinel(iter__, 2920493638)))) {
    1832           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    1833           0 :                 return false;
    1834             :             }
    1835           0 :             return true;
    1836             :         }
    1837             :     default:
    1838             :         {
    1839           0 :             FatalError("unknown union type");
    1840           0 :             return false;
    1841             :         }
    1842             :     }
    1843             : }
    1844             : 
    1845           0 : auto PImageBridgeParent::Write(
    1846             :         const SurfaceDescriptorBuffer& v__,
    1847             :         Message* msg__) -> void
    1848             : {
    1849           0 :     Write((v__).desc(), msg__);
    1850             :     // Sentinel = 'desc'
    1851           0 :     (msg__)->WriteSentinel(3761872479);
    1852           0 :     Write((v__).data(), msg__);
    1853             :     // Sentinel = 'data'
    1854           0 :     (msg__)->WriteSentinel(843352540);
    1855           0 : }
    1856             : 
    1857           0 : auto PImageBridgeParent::Read(
    1858             :         SurfaceDescriptorBuffer* v__,
    1859             :         const Message* msg__,
    1860             :         PickleIterator* iter__) -> bool
    1861             : {
    1862           0 :     if ((!(Read((&((v__)->desc())), msg__, iter__)))) {
    1863           0 :         FatalError("Error deserializing 'desc' (BufferDescriptor) member of 'SurfaceDescriptorBuffer'");
    1864           0 :         return false;
    1865             :     }
    1866             :     // Sentinel = 'desc'
    1867           0 :     if ((!((msg__)->ReadSentinel(iter__, 3761872479)))) {
    1868           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'desc' (BufferDescriptor) member of 'SurfaceDescriptorBuffer'");
    1869           0 :         return false;
    1870             :     }
    1871           0 :     if ((!(Read((&((v__)->data())), msg__, iter__)))) {
    1872           0 :         FatalError("Error deserializing 'data' (MemoryOrShmem) member of 'SurfaceDescriptorBuffer'");
    1873           0 :         return false;
    1874             :     }
    1875             :     // Sentinel = 'data'
    1876           0 :     if ((!((msg__)->ReadSentinel(iter__, 843352540)))) {
    1877           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'data' (MemoryOrShmem) member of 'SurfaceDescriptorBuffer'");
    1878           0 :         return false;
    1879             :     }
    1880           0 :     return true;
    1881             : }
    1882             : 
    1883           0 : auto PImageBridgeParent::Write(
    1884             :         const OpUseTiledLayerBuffer& v__,
    1885             :         Message* msg__) -> void
    1886             : {
    1887           0 :     Write((v__).tileLayerDescriptor(), msg__);
    1888             :     // Sentinel = 'tileLayerDescriptor'
    1889           0 :     (msg__)->WriteSentinel(1059372119);
    1890           0 : }
    1891             : 
    1892           0 : auto PImageBridgeParent::Read(
    1893             :         OpUseTiledLayerBuffer* v__,
    1894             :         const Message* msg__,
    1895             :         PickleIterator* iter__) -> bool
    1896             : {
    1897           0 :     if ((!(Read((&((v__)->tileLayerDescriptor())), msg__, iter__)))) {
    1898           0 :         FatalError("Error deserializing 'tileLayerDescriptor' (SurfaceDescriptorTiles) member of 'OpUseTiledLayerBuffer'");
    1899           0 :         return false;
    1900             :     }
    1901             :     // Sentinel = 'tileLayerDescriptor'
    1902           0 :     if ((!((msg__)->ReadSentinel(iter__, 1059372119)))) {
    1903           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'tileLayerDescriptor' (SurfaceDescriptorTiles) member of 'OpUseTiledLayerBuffer'");
    1904           0 :         return false;
    1905             :     }
    1906           0 :     return true;
    1907             : }
    1908             : 
    1909           0 : auto PImageBridgeParent::Write(
    1910             :         const TimedTexture& v__,
    1911             :         Message* msg__) -> void
    1912             : {
    1913           0 :     Write((v__).textureParent(), msg__, false);
    1914             :     // Sentinel = 'texture'
    1915           0 :     (msg__)->WriteSentinel(3654462510);
    1916             :     // skipping actor field that's meaningless on this side
    1917           0 :     Write((v__).sharedLock(), msg__);
    1918             :     // Sentinel = 'sharedLock'
    1919           0 :     (msg__)->WriteSentinel(1249896484);
    1920           0 :     Write((v__).timeStamp(), msg__);
    1921             :     // Sentinel = 'timeStamp'
    1922           0 :     (msg__)->WriteSentinel(988250409);
    1923           0 :     Write((v__).picture(), msg__);
    1924             :     // Sentinel = 'picture'
    1925           0 :     (msg__)->WriteSentinel(3195561921);
    1926           0 :     Write((v__).frameID(), msg__);
    1927             :     // Sentinel = 'frameID'
    1928           0 :     (msg__)->WriteSentinel(3054835247);
    1929           0 :     Write((v__).producerID(), msg__);
    1930             :     // Sentinel = 'producerID'
    1931           0 :     (msg__)->WriteSentinel(1942472743);
    1932           0 : }
    1933             : 
    1934           0 : auto PImageBridgeParent::Read(
    1935             :         TimedTexture* v__,
    1936             :         const Message* msg__,
    1937             :         PickleIterator* iter__) -> bool
    1938             : {
    1939           0 :     if ((!(Read((&((v__)->textureParent())), msg__, iter__, false)))) {
    1940           0 :         FatalError("Error deserializing 'textureParent' (PTexture) member of 'TimedTexture'");
    1941           0 :         return false;
    1942             :     }
    1943             :     // Sentinel = 'texture'
    1944           0 :     if ((!((msg__)->ReadSentinel(iter__, 3654462510)))) {
    1945           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'textureParent' (PTexture) member of 'TimedTexture'");
    1946           0 :         return false;
    1947             :     }
    1948             :     // skipping actor field that's meaningless on this side
    1949           0 :     if ((!(Read((&((v__)->sharedLock())), msg__, iter__)))) {
    1950           0 :         FatalError("Error deserializing 'sharedLock' (ReadLockHandle) member of 'TimedTexture'");
    1951           0 :         return false;
    1952             :     }
    1953             :     // Sentinel = 'sharedLock'
    1954           0 :     if ((!((msg__)->ReadSentinel(iter__, 1249896484)))) {
    1955           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'sharedLock' (ReadLockHandle) member of 'TimedTexture'");
    1956           0 :         return false;
    1957             :     }
    1958           0 :     if ((!(Read((&((v__)->timeStamp())), msg__, iter__)))) {
    1959           0 :         FatalError("Error deserializing 'timeStamp' (TimeStamp) member of 'TimedTexture'");
    1960           0 :         return false;
    1961             :     }
    1962             :     // Sentinel = 'timeStamp'
    1963           0 :     if ((!((msg__)->ReadSentinel(iter__, 988250409)))) {
    1964           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'timeStamp' (TimeStamp) member of 'TimedTexture'");
    1965           0 :         return false;
    1966             :     }
    1967           0 :     if ((!(Read((&((v__)->picture())), msg__, iter__)))) {
    1968           0 :         FatalError("Error deserializing 'picture' (IntRect) member of 'TimedTexture'");
    1969           0 :         return false;
    1970             :     }
    1971             :     // Sentinel = 'picture'
    1972           0 :     if ((!((msg__)->ReadSentinel(iter__, 3195561921)))) {
    1973           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'picture' (IntRect) member of 'TimedTexture'");
    1974           0 :         return false;
    1975             :     }
    1976           0 :     if ((!(Read((&((v__)->frameID())), msg__, iter__)))) {
    1977           0 :         FatalError("Error deserializing 'frameID' (uint32_t) member of 'TimedTexture'");
    1978           0 :         return false;
    1979             :     }
    1980             :     // Sentinel = 'frameID'
    1981           0 :     if ((!((msg__)->ReadSentinel(iter__, 3054835247)))) {
    1982           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'frameID' (uint32_t) member of 'TimedTexture'");
    1983           0 :         return false;
    1984             :     }
    1985           0 :     if ((!(Read((&((v__)->producerID())), msg__, iter__)))) {
    1986           0 :         FatalError("Error deserializing 'producerID' (uint32_t) member of 'TimedTexture'");
    1987           0 :         return false;
    1988             :     }
    1989             :     // Sentinel = 'producerID'
    1990           0 :     if ((!((msg__)->ReadSentinel(iter__, 1942472743)))) {
    1991           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'producerID' (uint32_t) member of 'TimedTexture'");
    1992           0 :         return false;
    1993             :     }
    1994           0 :     return true;
    1995             : }
    1996             : 
    1997           0 : auto PImageBridgeParent::Write(
    1998             :         const MaybeTexture& v__,
    1999             :         Message* msg__) -> void
    2000             : {
    2001             :     typedef MaybeTexture type__;
    2002           0 :     Write(int((v__).type()), msg__);
    2003             :     // Sentinel = 'MaybeTexture'
    2004           0 :     (msg__)->WriteSentinel(264725529);
    2005             : 
    2006           0 :     switch ((v__).type()) {
    2007             :     case type__::TPTextureParent:
    2008             :         {
    2009           0 :             Write((v__).get_PTextureParent(), msg__, false);
    2010             :             // Sentinel = 'TPTextureParent'
    2011           0 :             (msg__)->WriteSentinel(896696938);
    2012           0 :             return;
    2013             :         }
    2014             :     case type__::TPTextureChild:
    2015             :         {
    2016           0 :             FatalError("wrong side!");
    2017           0 :             return;
    2018             :         }
    2019             :     case type__::Tnull_t:
    2020             :         {
    2021           0 :             Write((v__).get_null_t(), msg__);
    2022             :             // Sentinel = 'Tnull_t'
    2023           0 :             (msg__)->WriteSentinel(3731137201);
    2024           0 :             return;
    2025             :         }
    2026             :     default:
    2027             :         {
    2028           0 :             FatalError("unknown union type");
    2029           0 :             return;
    2030             :         }
    2031             :     }
    2032             : }
    2033             : 
    2034           0 : auto PImageBridgeParent::Read(
    2035             :         MaybeTexture* v__,
    2036             :         const Message* msg__,
    2037             :         PickleIterator* iter__) -> bool
    2038             : {
    2039             :     typedef MaybeTexture type__;
    2040             :     int type;
    2041           0 :     if ((!(Read((&(type)), msg__, iter__)))) {
    2042           0 :         mozilla::ipc::UnionTypeReadError("MaybeTexture");
    2043           0 :         return false;
    2044             :     }
    2045             :     // Sentinel = 'MaybeTexture'
    2046           0 :     if ((!((msg__)->ReadSentinel(iter__, 264725529)))) {
    2047           0 :         mozilla::ipc::SentinelReadError("MaybeTexture");
    2048           0 :         return false;
    2049             :     }
    2050             : 
    2051           0 :     switch (type) {
    2052             :     case type__::TPTextureParent:
    2053             :         {
    2054           0 :             return false;
    2055             :         }
    2056             :     case type__::TPTextureChild:
    2057             :         {
    2058           0 :             PTextureParent* tmp = nullptr;
    2059           0 :             (*(v__)) = tmp;
    2060           0 :             if ((!(Read((&((v__)->get_PTextureParent())), msg__, iter__, false)))) {
    2061           0 :                 FatalError("Error deserializing Union type");
    2062           0 :                 return false;
    2063             :             }
    2064             :             // Sentinel = 'TPTextureChild'
    2065           0 :             if ((!((msg__)->ReadSentinel(iter__, 3251900187)))) {
    2066           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    2067           0 :                 return false;
    2068             :             }
    2069           0 :             return true;
    2070             :         }
    2071             :     case type__::Tnull_t:
    2072             :         {
    2073             :             null_t tmp = null_t();
    2074           0 :             (*(v__)) = tmp;
    2075           0 :             if ((!(Read((&((v__)->get_null_t())), msg__, iter__)))) {
    2076           0 :                 FatalError("Error deserializing Union type");
    2077           0 :                 return false;
    2078             :             }
    2079             :             // Sentinel = 'Tnull_t'
    2080           0 :             if ((!((msg__)->ReadSentinel(iter__, 3731137201)))) {
    2081           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    2082           0 :                 return false;
    2083             :             }
    2084           0 :             return true;
    2085             :         }
    2086             :     default:
    2087             :         {
    2088           0 :             FatalError("unknown union type");
    2089           0 :             return false;
    2090             :         }
    2091             :     }
    2092             : }
    2093             : 
    2094           0 : auto PImageBridgeParent::Write(
    2095             :         const SurfaceDescriptorGPUVideo& v__,
    2096             :         Message* msg__) -> void
    2097             : {
    2098           0 :     Write((v__).handle(), msg__);
    2099             :     // Sentinel = 'handle'
    2100           0 :     (msg__)->WriteSentinel(453975108);
    2101           0 : }
    2102             : 
    2103           0 : auto PImageBridgeParent::Read(
    2104             :         SurfaceDescriptorGPUVideo* v__,
    2105             :         const Message* msg__,
    2106             :         PickleIterator* iter__) -> bool
    2107             : {
    2108           0 :     if ((!(Read((&((v__)->handle())), msg__, iter__)))) {
    2109           0 :         FatalError("Error deserializing 'handle' (uint64_t) member of 'SurfaceDescriptorGPUVideo'");
    2110           0 :         return false;
    2111             :     }
    2112             :     // Sentinel = 'handle'
    2113           0 :     if ((!((msg__)->ReadSentinel(iter__, 453975108)))) {
    2114           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'handle' (uint64_t) member of 'SurfaceDescriptorGPUVideo'");
    2115           0 :         return false;
    2116             :     }
    2117           0 :     return true;
    2118             : }
    2119             : 
    2120           0 : auto PImageBridgeParent::Write(
    2121             :         const SurfaceDescriptorD3D10& v__,
    2122             :         Message* msg__) -> void
    2123             : {
    2124           0 :     Write((v__).handle(), msg__);
    2125             :     // Sentinel = 'handle'
    2126           0 :     (msg__)->WriteSentinel(453975108);
    2127           0 :     Write((v__).format(), msg__);
    2128             :     // Sentinel = 'format'
    2129           0 :     (msg__)->WriteSentinel(2052265543);
    2130           0 :     Write((v__).size(), msg__);
    2131             :     // Sentinel = 'size'
    2132           0 :     (msg__)->WriteSentinel(931048223);
    2133           0 : }
    2134             : 
    2135           0 : auto PImageBridgeParent::Read(
    2136             :         SurfaceDescriptorD3D10* v__,
    2137             :         const Message* msg__,
    2138             :         PickleIterator* iter__) -> bool
    2139             : {
    2140           0 :     if ((!(Read((&((v__)->handle())), msg__, iter__)))) {
    2141           0 :         FatalError("Error deserializing 'handle' (WindowsHandle) member of 'SurfaceDescriptorD3D10'");
    2142           0 :         return false;
    2143             :     }
    2144             :     // Sentinel = 'handle'
    2145           0 :     if ((!((msg__)->ReadSentinel(iter__, 453975108)))) {
    2146           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'handle' (WindowsHandle) member of 'SurfaceDescriptorD3D10'");
    2147           0 :         return false;
    2148             :     }
    2149           0 :     if ((!(Read((&((v__)->format())), msg__, iter__)))) {
    2150           0 :         FatalError("Error deserializing 'format' (SurfaceFormat) member of 'SurfaceDescriptorD3D10'");
    2151           0 :         return false;
    2152             :     }
    2153             :     // Sentinel = 'format'
    2154           0 :     if ((!((msg__)->ReadSentinel(iter__, 2052265543)))) {
    2155           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'format' (SurfaceFormat) member of 'SurfaceDescriptorD3D10'");
    2156           0 :         return false;
    2157             :     }
    2158           0 :     if ((!(Read((&((v__)->size())), msg__, iter__)))) {
    2159           0 :         FatalError("Error deserializing 'size' (IntSize) member of 'SurfaceDescriptorD3D10'");
    2160           0 :         return false;
    2161             :     }
    2162             :     // Sentinel = 'size'
    2163           0 :     if ((!((msg__)->ReadSentinel(iter__, 931048223)))) {
    2164           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'size' (IntSize) member of 'SurfaceDescriptorD3D10'");
    2165           0 :         return false;
    2166             :     }
    2167           0 :     return true;
    2168             : }
    2169             : 
    2170           0 : auto PImageBridgeParent::Write(
    2171             :         const OpRemoveTexture& v__,
    2172             :         Message* msg__) -> void
    2173             : {
    2174           0 :     Write((v__).textureParent(), msg__, false);
    2175             :     // Sentinel = 'texture'
    2176           0 :     (msg__)->WriteSentinel(3654462510);
    2177             :     // skipping actor field that's meaningless on this side
    2178           0 : }
    2179             : 
    2180           0 : auto PImageBridgeParent::Read(
    2181             :         OpRemoveTexture* v__,
    2182             :         const Message* msg__,
    2183             :         PickleIterator* iter__) -> bool
    2184             : {
    2185           0 :     if ((!(Read((&((v__)->textureParent())), msg__, iter__, false)))) {
    2186           0 :         FatalError("Error deserializing 'textureParent' (PTexture) member of 'OpRemoveTexture'");
    2187           0 :         return false;
    2188             :     }
    2189             :     // Sentinel = 'texture'
    2190           0 :     if ((!((msg__)->ReadSentinel(iter__, 3654462510)))) {
    2191           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'textureParent' (PTexture) member of 'OpRemoveTexture'");
    2192           0 :         return false;
    2193             :     }
    2194             :     // skipping actor field that's meaningless on this side
    2195           0 :     return true;
    2196             : }
    2197             : 
    2198           0 : auto PImageBridgeParent::Write(
    2199             :         const nsTArray<AsyncParentMessageData>& v__,
    2200             :         Message* msg__) -> void
    2201             : {
    2202           0 :     uint32_t length = (v__).Length();
    2203           0 :     Write(length, msg__);
    2204             :     // Sentinel = ('length', 'AsyncParentMessageData[]')
    2205           0 :     (msg__)->WriteSentinel(3866187970);
    2206             : 
    2207           0 :     for (auto& elem : v__) {
    2208           0 :         Write(elem, msg__);
    2209             :         // Sentinel = 'AsyncParentMessageData[]'
    2210           0 :         (msg__)->WriteSentinel(4194735789);
    2211             :     }
    2212           0 : }
    2213             : 
    2214           0 : auto PImageBridgeParent::Read(
    2215             :         nsTArray<AsyncParentMessageData>* v__,
    2216             :         const Message* msg__,
    2217             :         PickleIterator* iter__) -> bool
    2218             : {
    2219           0 :     nsTArray<AsyncParentMessageData> fa;
    2220             :     uint32_t length;
    2221           0 :     if ((!(Read((&(length)), msg__, iter__)))) {
    2222           0 :         mozilla::ipc::ArrayLengthReadError("AsyncParentMessageData[]");
    2223           0 :         return false;
    2224             :     }
    2225             :     // Sentinel = ('length', 'AsyncParentMessageData[]')
    2226           0 :     if ((!((msg__)->ReadSentinel(iter__, 3866187970)))) {
    2227           0 :         mozilla::ipc::SentinelReadError("AsyncParentMessageData[]");
    2228           0 :         return false;
    2229             :     }
    2230             : 
    2231           0 :     AsyncParentMessageData* elems = (fa).AppendElements(length);
    2232           0 :     for (uint32_t i = 0; (i) < (length); (++(i))) {
    2233           0 :         if ((!(Read((&(elems[i])), msg__, iter__)))) {
    2234           0 :             FatalError("Error deserializing 'AsyncParentMessageData[i]'");
    2235           0 :             return false;
    2236             :         }
    2237             :         // Sentinel = 'AsyncParentMessageData[]'
    2238           0 :         if ((!((msg__)->ReadSentinel(iter__, 4194735789)))) {
    2239           0 :             mozilla::ipc::SentinelReadError("Error deserializing 'AsyncParentMessageData[i]'");
    2240           0 :             return false;
    2241             :         }
    2242             :     }
    2243           0 :     (v__)->SwapElements(fa);
    2244           0 :     return true;
    2245             : }
    2246             : 
    2247           0 : auto PImageBridgeParent::Write(
    2248             :         const OpNotifyNotUsed& v__,
    2249             :         Message* msg__) -> void
    2250             : {
    2251           0 :     Write((v__).TextureId(), msg__);
    2252             :     // Sentinel = 'TextureId'
    2253           0 :     (msg__)->WriteSentinel(2545498075);
    2254           0 :     Write((v__).fwdTransactionId(), msg__);
    2255             :     // Sentinel = 'fwdTransactionId'
    2256           0 :     (msg__)->WriteSentinel(2023976742);
    2257           0 : }
    2258             : 
    2259           0 : auto PImageBridgeParent::Read(
    2260             :         OpNotifyNotUsed* v__,
    2261             :         const Message* msg__,
    2262             :         PickleIterator* iter__) -> bool
    2263             : {
    2264           0 :     if ((!(Read((&((v__)->TextureId())), msg__, iter__)))) {
    2265           0 :         FatalError("Error deserializing 'TextureId' (uint64_t) member of 'OpNotifyNotUsed'");
    2266           0 :         return false;
    2267             :     }
    2268             :     // Sentinel = 'TextureId'
    2269           0 :     if ((!((msg__)->ReadSentinel(iter__, 2545498075)))) {
    2270           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'TextureId' (uint64_t) member of 'OpNotifyNotUsed'");
    2271           0 :         return false;
    2272             :     }
    2273           0 :     if ((!(Read((&((v__)->fwdTransactionId())), msg__, iter__)))) {
    2274           0 :         FatalError("Error deserializing 'fwdTransactionId' (uint64_t) member of 'OpNotifyNotUsed'");
    2275           0 :         return false;
    2276             :     }
    2277             :     // Sentinel = 'fwdTransactionId'
    2278           0 :     if ((!((msg__)->ReadSentinel(iter__, 2023976742)))) {
    2279           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'fwdTransactionId' (uint64_t) member of 'OpNotifyNotUsed'");
    2280           0 :         return false;
    2281             :     }
    2282           0 :     return true;
    2283             : }
    2284             : 
    2285           0 : auto PImageBridgeParent::Write(
    2286             :         Shmem& v__,
    2287             :         Message* msg__) -> void
    2288             : {
    2289           0 :     IPC::WriteParam(msg__, v__);
    2290           0 :     (v__).RevokeRights(Shmem::IHadBetterBeIPDLCodeCallingThis_OtherwiseIAmADoodyhead());
    2291           0 :     (v__).forget(Shmem::IHadBetterBeIPDLCodeCallingThis_OtherwiseIAmADoodyhead());
    2292           0 : }
    2293             : 
    2294           0 : auto PImageBridgeParent::Read(
    2295             :         Shmem* v__,
    2296             :         const Message* msg__,
    2297             :         PickleIterator* iter__) -> bool
    2298             : {
    2299           0 :     Shmem tmp;
    2300           0 :     if ((!(IPC::ReadParam(msg__, iter__, (&(tmp)))))) {
    2301           0 :         return false;
    2302             :     }
    2303             : 
    2304           0 :     Shmem::id_t shmemid = (tmp).Id(Shmem::IHadBetterBeIPDLCodeCallingThis_OtherwiseIAmADoodyhead());
    2305           0 :     Shmem::SharedMemory* rawmem = LookupSharedMemory(shmemid);
    2306           0 :     if (rawmem) {
    2307           0 :         (*(v__)) = Shmem(Shmem::IHadBetterBeIPDLCodeCallingThis_OtherwiseIAmADoodyhead(), rawmem, shmemid);
    2308           0 :         return true;
    2309             :     }
    2310           0 :     (*(v__)) = Shmem();
    2311           0 :     return true;
    2312             : }
    2313             : 
    2314           0 : auto PImageBridgeParent::Write(
    2315             :         const SurfaceDescriptorDIB& v__,
    2316             :         Message* msg__) -> void
    2317             : {
    2318           0 :     Write((v__).surface(), msg__);
    2319             :     // Sentinel = 'surface'
    2320           0 :     (msg__)->WriteSentinel(2386836878);
    2321           0 : }
    2322             : 
    2323           0 : auto PImageBridgeParent::Read(
    2324             :         SurfaceDescriptorDIB* v__,
    2325             :         const Message* msg__,
    2326             :         PickleIterator* iter__) -> bool
    2327             : {
    2328           0 :     if ((!(Read((&((v__)->surface())), msg__, iter__)))) {
    2329           0 :         FatalError("Error deserializing 'surface' (uintptr_t) member of 'SurfaceDescriptorDIB'");
    2330           0 :         return false;
    2331             :     }
    2332             :     // Sentinel = 'surface'
    2333           0 :     if ((!((msg__)->ReadSentinel(iter__, 2386836878)))) {
    2334           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'surface' (uintptr_t) member of 'SurfaceDescriptorDIB'");
    2335           0 :         return false;
    2336             :     }
    2337           0 :     return true;
    2338             : }
    2339             : 
    2340           0 : auto PImageBridgeParent::Write(
    2341             :         const SurfaceDescriptorSharedGLTexture& v__,
    2342             :         Message* msg__) -> void
    2343             : {
    2344           0 :     Write((v__).texture(), msg__);
    2345             :     // Sentinel = 'texture'
    2346           0 :     (msg__)->WriteSentinel(3654462510);
    2347           0 :     Write((v__).target(), msg__);
    2348             :     // Sentinel = 'target'
    2349           0 :     (msg__)->WriteSentinel(2226365285);
    2350           0 :     Write((v__).fence(), msg__);
    2351             :     // Sentinel = 'fence'
    2352           0 :     (msg__)->WriteSentinel(1225633926);
    2353           0 :     Write((v__).size(), msg__);
    2354             :     // Sentinel = 'size'
    2355           0 :     (msg__)->WriteSentinel(931048223);
    2356           0 :     Write((v__).hasAlpha(), msg__);
    2357             :     // Sentinel = 'hasAlpha'
    2358           0 :     (msg__)->WriteSentinel(309498444);
    2359           0 : }
    2360             : 
    2361           0 : auto PImageBridgeParent::Read(
    2362             :         SurfaceDescriptorSharedGLTexture* v__,
    2363             :         const Message* msg__,
    2364             :         PickleIterator* iter__) -> bool
    2365             : {
    2366           0 :     if ((!(Read((&((v__)->texture())), msg__, iter__)))) {
    2367           0 :         FatalError("Error deserializing 'texture' (uint32_t) member of 'SurfaceDescriptorSharedGLTexture'");
    2368           0 :         return false;
    2369             :     }
    2370             :     // Sentinel = 'texture'
    2371           0 :     if ((!((msg__)->ReadSentinel(iter__, 3654462510)))) {
    2372           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'texture' (uint32_t) member of 'SurfaceDescriptorSharedGLTexture'");
    2373           0 :         return false;
    2374             :     }
    2375           0 :     if ((!(Read((&((v__)->target())), msg__, iter__)))) {
    2376           0 :         FatalError("Error deserializing 'target' (uint32_t) member of 'SurfaceDescriptorSharedGLTexture'");
    2377           0 :         return false;
    2378             :     }
    2379             :     // Sentinel = 'target'
    2380           0 :     if ((!((msg__)->ReadSentinel(iter__, 2226365285)))) {
    2381           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'target' (uint32_t) member of 'SurfaceDescriptorSharedGLTexture'");
    2382           0 :         return false;
    2383             :     }
    2384           0 :     if ((!(Read((&((v__)->fence())), msg__, iter__)))) {
    2385           0 :         FatalError("Error deserializing 'fence' (uintptr_t) member of 'SurfaceDescriptorSharedGLTexture'");
    2386           0 :         return false;
    2387             :     }
    2388             :     // Sentinel = 'fence'
    2389           0 :     if ((!((msg__)->ReadSentinel(iter__, 1225633926)))) {
    2390           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'fence' (uintptr_t) member of 'SurfaceDescriptorSharedGLTexture'");
    2391           0 :         return false;
    2392             :     }
    2393           0 :     if ((!(Read((&((v__)->size())), msg__, iter__)))) {
    2394           0 :         FatalError("Error deserializing 'size' (IntSize) member of 'SurfaceDescriptorSharedGLTexture'");
    2395           0 :         return false;
    2396             :     }
    2397             :     // Sentinel = 'size'
    2398           0 :     if ((!((msg__)->ReadSentinel(iter__, 931048223)))) {
    2399           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'size' (IntSize) member of 'SurfaceDescriptorSharedGLTexture'");
    2400           0 :         return false;
    2401             :     }
    2402           0 :     if ((!(Read((&((v__)->hasAlpha())), msg__, iter__)))) {
    2403           0 :         FatalError("Error deserializing 'hasAlpha' (bool) member of 'SurfaceDescriptorSharedGLTexture'");
    2404           0 :         return false;
    2405             :     }
    2406             :     // Sentinel = 'hasAlpha'
    2407           0 :     if ((!((msg__)->ReadSentinel(iter__, 309498444)))) {
    2408           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'hasAlpha' (bool) member of 'SurfaceDescriptorSharedGLTexture'");
    2409           0 :         return false;
    2410             :     }
    2411           0 :     return true;
    2412             : }
    2413             : 
    2414           0 : auto PImageBridgeParent::Write(
    2415             :         const PMediaSystemResourceManagerParent* v__,
    2416             :         Message* msg__,
    2417             :         bool nullable__) -> void
    2418             : {
    2419             :     int32_t id;
    2420           0 :     if ((!(v__))) {
    2421           0 :         if ((!(nullable__))) {
    2422           0 :             FatalError("NULL actor value passed to non-nullable param");
    2423             :         }
    2424           0 :         id = 0;
    2425             :     }
    2426             :     else {
    2427           0 :         id = (v__)->Id();
    2428           0 :         if ((1) == (id)) {
    2429           0 :             FatalError("actor has been |delete|d");
    2430             :         }
    2431             :     }
    2432             : 
    2433           0 :     Write(id, msg__);
    2434           0 : }
    2435             : 
    2436           0 : auto PImageBridgeParent::Read(
    2437             :         PMediaSystemResourceManagerParent** v__,
    2438             :         const Message* msg__,
    2439             :         PickleIterator* iter__,
    2440             :         bool nullable__) -> bool
    2441             : {
    2442           0 :     Maybe<mozilla::ipc::IProtocol*> actor = ReadActor(msg__, iter__, nullable__, "PMediaSystemResourceManager", PMediaSystemResourceManagerMsgStart);
    2443           0 :     if ((actor).isNothing()) {
    2444           0 :         return false;
    2445             :     }
    2446             : 
    2447           0 :     (*(v__)) = static_cast<PMediaSystemResourceManagerParent*>((actor).value());
    2448           0 :     return true;
    2449             : }
    2450             : 
    2451           0 : auto PImageBridgeParent::Write(
    2452             :         const nsTArray<TileDescriptor>& v__,
    2453             :         Message* msg__) -> void
    2454             : {
    2455           0 :     uint32_t length = (v__).Length();
    2456           0 :     Write(length, msg__);
    2457             :     // Sentinel = ('length', 'TileDescriptor[]')
    2458           0 :     (msg__)->WriteSentinel(709203120);
    2459             : 
    2460           0 :     for (auto& elem : v__) {
    2461           0 :         Write(elem, msg__);
    2462             :         // Sentinel = 'TileDescriptor[]'
    2463           0 :         (msg__)->WriteSentinel(3848440807);
    2464             :     }
    2465           0 : }
    2466             : 
    2467           0 : auto PImageBridgeParent::Read(
    2468             :         nsTArray<TileDescriptor>* v__,
    2469             :         const Message* msg__,
    2470             :         PickleIterator* iter__) -> bool
    2471             : {
    2472           0 :     nsTArray<TileDescriptor> fa;
    2473             :     uint32_t length;
    2474           0 :     if ((!(Read((&(length)), msg__, iter__)))) {
    2475           0 :         mozilla::ipc::ArrayLengthReadError("TileDescriptor[]");
    2476           0 :         return false;
    2477             :     }
    2478             :     // Sentinel = ('length', 'TileDescriptor[]')
    2479           0 :     if ((!((msg__)->ReadSentinel(iter__, 709203120)))) {
    2480           0 :         mozilla::ipc::SentinelReadError("TileDescriptor[]");
    2481           0 :         return false;
    2482             :     }
    2483             : 
    2484           0 :     TileDescriptor* elems = (fa).AppendElements(length);
    2485           0 :     for (uint32_t i = 0; (i) < (length); (++(i))) {
    2486           0 :         if ((!(Read((&(elems[i])), msg__, iter__)))) {
    2487           0 :             FatalError("Error deserializing 'TileDescriptor[i]'");
    2488           0 :             return false;
    2489             :         }
    2490             :         // Sentinel = 'TileDescriptor[]'
    2491           0 :         if ((!((msg__)->ReadSentinel(iter__, 3848440807)))) {
    2492           0 :             mozilla::ipc::SentinelReadError("Error deserializing 'TileDescriptor[i]'");
    2493           0 :             return false;
    2494             :         }
    2495             :     }
    2496           0 :     (v__)->SwapElements(fa);
    2497           0 :     return true;
    2498             : }
    2499             : 
    2500           0 : auto PImageBridgeParent::Write(
    2501             :         const ImageCompositeNotification& v__,
    2502             :         Message* msg__) -> void
    2503             : {
    2504           0 :     Write((v__).compositable(), msg__);
    2505             :     // Sentinel = 'compositable'
    2506           0 :     (msg__)->WriteSentinel(4031958248);
    2507           0 :     Write((v__).imageTimeStamp(), msg__);
    2508             :     // Sentinel = 'imageTimeStamp'
    2509           0 :     (msg__)->WriteSentinel(1759084471);
    2510           0 :     Write((v__).firstCompositeTimeStamp(), msg__);
    2511             :     // Sentinel = 'firstCompositeTimeStamp'
    2512           0 :     (msg__)->WriteSentinel(2056815046);
    2513           0 :     Write((v__).frameID(), msg__);
    2514             :     // Sentinel = 'frameID'
    2515           0 :     (msg__)->WriteSentinel(3054835247);
    2516           0 :     Write((v__).producerID(), msg__);
    2517             :     // Sentinel = 'producerID'
    2518           0 :     (msg__)->WriteSentinel(1942472743);
    2519           0 : }
    2520             : 
    2521           0 : auto PImageBridgeParent::Read(
    2522             :         ImageCompositeNotification* v__,
    2523             :         const Message* msg__,
    2524             :         PickleIterator* iter__) -> bool
    2525             : {
    2526           0 :     if ((!(Read((&((v__)->compositable())), msg__, iter__)))) {
    2527           0 :         FatalError("Error deserializing 'compositable' (CompositableHandle) member of 'ImageCompositeNotification'");
    2528           0 :         return false;
    2529             :     }
    2530             :     // Sentinel = 'compositable'
    2531           0 :     if ((!((msg__)->ReadSentinel(iter__, 4031958248)))) {
    2532           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'compositable' (CompositableHandle) member of 'ImageCompositeNotification'");
    2533           0 :         return false;
    2534             :     }
    2535           0 :     if ((!(Read((&((v__)->imageTimeStamp())), msg__, iter__)))) {
    2536           0 :         FatalError("Error deserializing 'imageTimeStamp' (TimeStamp) member of 'ImageCompositeNotification'");
    2537           0 :         return false;
    2538             :     }
    2539             :     // Sentinel = 'imageTimeStamp'
    2540           0 :     if ((!((msg__)->ReadSentinel(iter__, 1759084471)))) {
    2541           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'imageTimeStamp' (TimeStamp) member of 'ImageCompositeNotification'");
    2542           0 :         return false;
    2543             :     }
    2544           0 :     if ((!(Read((&((v__)->firstCompositeTimeStamp())), msg__, iter__)))) {
    2545           0 :         FatalError("Error deserializing 'firstCompositeTimeStamp' (TimeStamp) member of 'ImageCompositeNotification'");
    2546           0 :         return false;
    2547             :     }
    2548             :     // Sentinel = 'firstCompositeTimeStamp'
    2549           0 :     if ((!((msg__)->ReadSentinel(iter__, 2056815046)))) {
    2550           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'firstCompositeTimeStamp' (TimeStamp) member of 'ImageCompositeNotification'");
    2551           0 :         return false;
    2552             :     }
    2553           0 :     if ((!(Read((&((v__)->frameID())), msg__, iter__)))) {
    2554           0 :         FatalError("Error deserializing 'frameID' (uint32_t) member of 'ImageCompositeNotification'");
    2555           0 :         return false;
    2556             :     }
    2557             :     // Sentinel = 'frameID'
    2558           0 :     if ((!((msg__)->ReadSentinel(iter__, 3054835247)))) {
    2559           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'frameID' (uint32_t) member of 'ImageCompositeNotification'");
    2560           0 :         return false;
    2561             :     }
    2562           0 :     if ((!(Read((&((v__)->producerID())), msg__, iter__)))) {
    2563           0 :         FatalError("Error deserializing 'producerID' (uint32_t) member of 'ImageCompositeNotification'");
    2564           0 :         return false;
    2565             :     }
    2566             :     // Sentinel = 'producerID'
    2567           0 :     if ((!((msg__)->ReadSentinel(iter__, 1942472743)))) {
    2568           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'producerID' (uint32_t) member of 'ImageCompositeNotification'");
    2569           0 :         return false;
    2570             :     }
    2571           0 :     return true;
    2572             : }
    2573             : 
    2574           0 : auto PImageBridgeParent::Write(
    2575             :         const ReadLockInit& v__,
    2576             :         Message* msg__) -> void
    2577             : {
    2578           0 :     Write((v__).sharedLock(), msg__);
    2579             :     // Sentinel = 'sharedLock'
    2580           0 :     (msg__)->WriteSentinel(1249896484);
    2581           0 :     Write((v__).handle(), msg__);
    2582             :     // Sentinel = 'handle'
    2583           0 :     (msg__)->WriteSentinel(453975108);
    2584           0 : }
    2585             : 
    2586           0 : auto PImageBridgeParent::Read(
    2587             :         ReadLockInit* v__,
    2588             :         const Message* msg__,
    2589             :         PickleIterator* iter__) -> bool
    2590             : {
    2591           0 :     if ((!(Read((&((v__)->sharedLock())), msg__, iter__)))) {
    2592           0 :         FatalError("Error deserializing 'sharedLock' (ReadLockDescriptor) member of 'ReadLockInit'");
    2593           0 :         return false;
    2594             :     }
    2595             :     // Sentinel = 'sharedLock'
    2596           0 :     if ((!((msg__)->ReadSentinel(iter__, 1249896484)))) {
    2597           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'sharedLock' (ReadLockDescriptor) member of 'ReadLockInit'");
    2598           0 :         return false;
    2599             :     }
    2600           0 :     if ((!(Read((&((v__)->handle())), msg__, iter__)))) {
    2601           0 :         FatalError("Error deserializing 'handle' (ReadLockHandle) member of 'ReadLockInit'");
    2602           0 :         return false;
    2603             :     }
    2604             :     // Sentinel = 'handle'
    2605           0 :     if ((!((msg__)->ReadSentinel(iter__, 453975108)))) {
    2606           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'handle' (ReadLockHandle) member of 'ReadLockInit'");
    2607           0 :         return false;
    2608             :     }
    2609           0 :     return true;
    2610             : }
    2611             : 
    2612           0 : auto PImageBridgeParent::Write(
    2613             :         const EGLImageDescriptor& v__,
    2614             :         Message* msg__) -> void
    2615             : {
    2616           0 :     Write((v__).image(), msg__);
    2617             :     // Sentinel = 'image'
    2618           0 :     (msg__)->WriteSentinel(103190282);
    2619           0 :     Write((v__).fence(), msg__);
    2620             :     // Sentinel = 'fence'
    2621           0 :     (msg__)->WriteSentinel(1225633926);
    2622           0 :     Write((v__).size(), msg__);
    2623             :     // Sentinel = 'size'
    2624           0 :     (msg__)->WriteSentinel(931048223);
    2625           0 :     Write((v__).hasAlpha(), msg__);
    2626             :     // Sentinel = 'hasAlpha'
    2627           0 :     (msg__)->WriteSentinel(309498444);
    2628           0 : }
    2629             : 
    2630           0 : auto PImageBridgeParent::Read(
    2631             :         EGLImageDescriptor* v__,
    2632             :         const Message* msg__,
    2633             :         PickleIterator* iter__) -> bool
    2634             : {
    2635           0 :     if ((!(Read((&((v__)->image())), msg__, iter__)))) {
    2636           0 :         FatalError("Error deserializing 'image' (uintptr_t) member of 'EGLImageDescriptor'");
    2637           0 :         return false;
    2638             :     }
    2639             :     // Sentinel = 'image'
    2640           0 :     if ((!((msg__)->ReadSentinel(iter__, 103190282)))) {
    2641           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'image' (uintptr_t) member of 'EGLImageDescriptor'");
    2642           0 :         return false;
    2643             :     }
    2644           0 :     if ((!(Read((&((v__)->fence())), msg__, iter__)))) {
    2645           0 :         FatalError("Error deserializing 'fence' (uintptr_t) member of 'EGLImageDescriptor'");
    2646           0 :         return false;
    2647             :     }
    2648             :     // Sentinel = 'fence'
    2649           0 :     if ((!((msg__)->ReadSentinel(iter__, 1225633926)))) {
    2650           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'fence' (uintptr_t) member of 'EGLImageDescriptor'");
    2651           0 :         return false;
    2652             :     }
    2653           0 :     if ((!(Read((&((v__)->size())), msg__, iter__)))) {
    2654           0 :         FatalError("Error deserializing 'size' (IntSize) member of 'EGLImageDescriptor'");
    2655           0 :         return false;
    2656             :     }
    2657             :     // Sentinel = 'size'
    2658           0 :     if ((!((msg__)->ReadSentinel(iter__, 931048223)))) {
    2659           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'size' (IntSize) member of 'EGLImageDescriptor'");
    2660           0 :         return false;
    2661             :     }
    2662           0 :     if ((!(Read((&((v__)->hasAlpha())), msg__, iter__)))) {
    2663           0 :         FatalError("Error deserializing 'hasAlpha' (bool) member of 'EGLImageDescriptor'");
    2664           0 :         return false;
    2665             :     }
    2666             :     // Sentinel = 'hasAlpha'
    2667           0 :     if ((!((msg__)->ReadSentinel(iter__, 309498444)))) {
    2668           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'hasAlpha' (bool) member of 'EGLImageDescriptor'");
    2669           0 :         return false;
    2670             :     }
    2671           0 :     return true;
    2672             : }
    2673             : 
    2674           0 : auto PImageBridgeParent::Write(
    2675             :         const RGBDescriptor& v__,
    2676             :         Message* msg__) -> void
    2677             : {
    2678           0 :     Write((v__).size(), msg__);
    2679             :     // Sentinel = 'size'
    2680           0 :     (msg__)->WriteSentinel(931048223);
    2681           0 :     Write((v__).format(), msg__);
    2682             :     // Sentinel = 'format'
    2683           0 :     (msg__)->WriteSentinel(2052265543);
    2684           0 :     Write((v__).hasIntermediateBuffer(), msg__);
    2685             :     // Sentinel = 'hasIntermediateBuffer'
    2686           0 :     (msg__)->WriteSentinel(985857996);
    2687           0 : }
    2688             : 
    2689           0 : auto PImageBridgeParent::Read(
    2690             :         RGBDescriptor* v__,
    2691             :         const Message* msg__,
    2692             :         PickleIterator* iter__) -> bool
    2693             : {
    2694           0 :     if ((!(Read((&((v__)->size())), msg__, iter__)))) {
    2695           0 :         FatalError("Error deserializing 'size' (IntSize) member of 'RGBDescriptor'");
    2696           0 :         return false;
    2697             :     }
    2698             :     // Sentinel = 'size'
    2699           0 :     if ((!((msg__)->ReadSentinel(iter__, 931048223)))) {
    2700           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'size' (IntSize) member of 'RGBDescriptor'");
    2701           0 :         return false;
    2702             :     }
    2703           0 :     if ((!(Read((&((v__)->format())), msg__, iter__)))) {
    2704           0 :         FatalError("Error deserializing 'format' (SurfaceFormat) member of 'RGBDescriptor'");
    2705           0 :         return false;
    2706             :     }
    2707             :     // Sentinel = 'format'
    2708           0 :     if ((!((msg__)->ReadSentinel(iter__, 2052265543)))) {
    2709           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'format' (SurfaceFormat) member of 'RGBDescriptor'");
    2710           0 :         return false;
    2711             :     }
    2712           0 :     if ((!(Read((&((v__)->hasIntermediateBuffer())), msg__, iter__)))) {
    2713           0 :         FatalError("Error deserializing 'hasIntermediateBuffer' (bool) member of 'RGBDescriptor'");
    2714           0 :         return false;
    2715             :     }
    2716             :     // Sentinel = 'hasIntermediateBuffer'
    2717           0 :     if ((!((msg__)->ReadSentinel(iter__, 985857996)))) {
    2718           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'hasIntermediateBuffer' (bool) member of 'RGBDescriptor'");
    2719           0 :         return false;
    2720             :     }
    2721           0 :     return true;
    2722             : }
    2723             : 
    2724           0 : auto PImageBridgeParent::Write(
    2725             :         const nsTArray<TimedTexture>& v__,
    2726             :         Message* msg__) -> void
    2727             : {
    2728           0 :     uint32_t length = (v__).Length();
    2729           0 :     Write(length, msg__);
    2730             :     // Sentinel = ('length', 'TimedTexture[]')
    2731           0 :     (msg__)->WriteSentinel(3681527117);
    2732             : 
    2733           0 :     for (auto& elem : v__) {
    2734           0 :         Write(elem, msg__);
    2735             :         // Sentinel = 'TimedTexture[]'
    2736           0 :         (msg__)->WriteSentinel(1531351012);
    2737             :     }
    2738           0 : }
    2739             : 
    2740           0 : auto PImageBridgeParent::Read(
    2741             :         nsTArray<TimedTexture>* v__,
    2742             :         const Message* msg__,
    2743             :         PickleIterator* iter__) -> bool
    2744             : {
    2745           0 :     nsTArray<TimedTexture> fa;
    2746             :     uint32_t length;
    2747           0 :     if ((!(Read((&(length)), msg__, iter__)))) {
    2748           0 :         mozilla::ipc::ArrayLengthReadError("TimedTexture[]");
    2749           0 :         return false;
    2750             :     }
    2751             :     // Sentinel = ('length', 'TimedTexture[]')
    2752           0 :     if ((!((msg__)->ReadSentinel(iter__, 3681527117)))) {
    2753           0 :         mozilla::ipc::SentinelReadError("TimedTexture[]");
    2754           0 :         return false;
    2755             :     }
    2756             : 
    2757           0 :     TimedTexture* elems = (fa).AppendElements(length);
    2758           0 :     for (uint32_t i = 0; (i) < (length); (++(i))) {
    2759           0 :         if ((!(Read((&(elems[i])), msg__, iter__)))) {
    2760           0 :             FatalError("Error deserializing 'TimedTexture[i]'");
    2761           0 :             return false;
    2762             :         }
    2763             :         // Sentinel = 'TimedTexture[]'
    2764           0 :         if ((!((msg__)->ReadSentinel(iter__, 1531351012)))) {
    2765           0 :             mozilla::ipc::SentinelReadError("Error deserializing 'TimedTexture[i]'");
    2766           0 :             return false;
    2767             :         }
    2768             :     }
    2769           0 :     (v__)->SwapElements(fa);
    2770           0 :     return true;
    2771             : }
    2772             : 
    2773           0 : auto PImageBridgeParent::Write(
    2774             :         const SurfaceDescriptorDXGIYCbCr& v__,
    2775             :         Message* msg__) -> void
    2776             : {
    2777           0 :     Write((v__).handleY(), msg__);
    2778             :     // Sentinel = 'handleY'
    2779           0 :     (msg__)->WriteSentinel(2719705368);
    2780           0 :     Write((v__).handleCb(), msg__);
    2781             :     // Sentinel = 'handleCb'
    2782           0 :     (msg__)->WriteSentinel(2777335333);
    2783           0 :     Write((v__).handleCr(), msg__);
    2784             :     // Sentinel = 'handleCr'
    2785           0 :     (msg__)->WriteSentinel(2777335349);
    2786           0 :     Write((v__).size(), msg__);
    2787             :     // Sentinel = 'size'
    2788           0 :     (msg__)->WriteSentinel(931048223);
    2789           0 :     Write((v__).sizeY(), msg__);
    2790             :     // Sentinel = 'sizeY'
    2791           0 :     (msg__)->WriteSentinel(886619725);
    2792           0 :     Write((v__).sizeCbCr(), msg__);
    2793             :     // Sentinel = 'sizeCbCr'
    2794           0 :     (msg__)->WriteSentinel(2196484423);
    2795           0 : }
    2796             : 
    2797           0 : auto PImageBridgeParent::Read(
    2798             :         SurfaceDescriptorDXGIYCbCr* v__,
    2799             :         const Message* msg__,
    2800             :         PickleIterator* iter__) -> bool
    2801             : {
    2802           0 :     if ((!(Read((&((v__)->handleY())), msg__, iter__)))) {
    2803           0 :         FatalError("Error deserializing 'handleY' (WindowsHandle) member of 'SurfaceDescriptorDXGIYCbCr'");
    2804           0 :         return false;
    2805             :     }
    2806             :     // Sentinel = 'handleY'
    2807           0 :     if ((!((msg__)->ReadSentinel(iter__, 2719705368)))) {
    2808           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'handleY' (WindowsHandle) member of 'SurfaceDescriptorDXGIYCbCr'");
    2809           0 :         return false;
    2810             :     }
    2811           0 :     if ((!(Read((&((v__)->handleCb())), msg__, iter__)))) {
    2812           0 :         FatalError("Error deserializing 'handleCb' (WindowsHandle) member of 'SurfaceDescriptorDXGIYCbCr'");
    2813           0 :         return false;
    2814             :     }
    2815             :     // Sentinel = 'handleCb'
    2816           0 :     if ((!((msg__)->ReadSentinel(iter__, 2777335333)))) {
    2817           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'handleCb' (WindowsHandle) member of 'SurfaceDescriptorDXGIYCbCr'");
    2818           0 :         return false;
    2819             :     }
    2820           0 :     if ((!(Read((&((v__)->handleCr())), msg__, iter__)))) {
    2821           0 :         FatalError("Error deserializing 'handleCr' (WindowsHandle) member of 'SurfaceDescriptorDXGIYCbCr'");
    2822           0 :         return false;
    2823             :     }
    2824             :     // Sentinel = 'handleCr'
    2825           0 :     if ((!((msg__)->ReadSentinel(iter__, 2777335349)))) {
    2826           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'handleCr' (WindowsHandle) member of 'SurfaceDescriptorDXGIYCbCr'");
    2827           0 :         return false;
    2828             :     }
    2829           0 :     if ((!(Read((&((v__)->size())), msg__, iter__)))) {
    2830           0 :         FatalError("Error deserializing 'size' (IntSize) member of 'SurfaceDescriptorDXGIYCbCr'");
    2831           0 :         return false;
    2832             :     }
    2833             :     // Sentinel = 'size'
    2834           0 :     if ((!((msg__)->ReadSentinel(iter__, 931048223)))) {
    2835           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'size' (IntSize) member of 'SurfaceDescriptorDXGIYCbCr'");
    2836           0 :         return false;
    2837             :     }
    2838           0 :     if ((!(Read((&((v__)->sizeY())), msg__, iter__)))) {
    2839           0 :         FatalError("Error deserializing 'sizeY' (IntSize) member of 'SurfaceDescriptorDXGIYCbCr'");
    2840           0 :         return false;
    2841             :     }
    2842             :     // Sentinel = 'sizeY'
    2843           0 :     if ((!((msg__)->ReadSentinel(iter__, 886619725)))) {
    2844           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'sizeY' (IntSize) member of 'SurfaceDescriptorDXGIYCbCr'");
    2845           0 :         return false;
    2846             :     }
    2847           0 :     if ((!(Read((&((v__)->sizeCbCr())), msg__, iter__)))) {
    2848           0 :         FatalError("Error deserializing 'sizeCbCr' (IntSize) member of 'SurfaceDescriptorDXGIYCbCr'");
    2849           0 :         return false;
    2850             :     }
    2851             :     // Sentinel = 'sizeCbCr'
    2852           0 :     if ((!((msg__)->ReadSentinel(iter__, 2196484423)))) {
    2853           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'sizeCbCr' (IntSize) member of 'SurfaceDescriptorDXGIYCbCr'");
    2854           0 :         return false;
    2855             :     }
    2856           0 :     return true;
    2857             : }
    2858             : 
    2859           0 : auto PImageBridgeParent::Write(
    2860             :         const MemoryOrShmem& v__,
    2861             :         Message* msg__) -> void
    2862             : {
    2863             :     typedef MemoryOrShmem type__;
    2864           0 :     Write(int((v__).type()), msg__);
    2865             :     // Sentinel = 'MemoryOrShmem'
    2866           0 :     (msg__)->WriteSentinel(3227621763);
    2867             : 
    2868           0 :     switch ((v__).type()) {
    2869             :     case type__::Tuintptr_t:
    2870             :         {
    2871           0 :             Write((v__).get_uintptr_t(), msg__);
    2872             :             // Sentinel = 'Tuintptr_t'
    2873           0 :             (msg__)->WriteSentinel(3218141805);
    2874           0 :             return;
    2875             :         }
    2876             :     case type__::TShmem:
    2877             :         {
    2878           0 :             Write((v__).get_Shmem(), msg__);
    2879             :             // Sentinel = 'TShmem'
    2880           0 :             (msg__)->WriteSentinel(3517971266);
    2881           0 :             return;
    2882             :         }
    2883             :     default:
    2884             :         {
    2885           0 :             FatalError("unknown union type");
    2886           0 :             return;
    2887             :         }
    2888             :     }
    2889             : }
    2890             : 
    2891           0 : auto PImageBridgeParent::Read(
    2892             :         MemoryOrShmem* v__,
    2893             :         const Message* msg__,
    2894             :         PickleIterator* iter__) -> bool
    2895             : {
    2896             :     typedef MemoryOrShmem type__;
    2897             :     int type;
    2898           0 :     if ((!(Read((&(type)), msg__, iter__)))) {
    2899           0 :         mozilla::ipc::UnionTypeReadError("MemoryOrShmem");
    2900           0 :         return false;
    2901             :     }
    2902             :     // Sentinel = 'MemoryOrShmem'
    2903           0 :     if ((!((msg__)->ReadSentinel(iter__, 3227621763)))) {
    2904           0 :         mozilla::ipc::SentinelReadError("MemoryOrShmem");
    2905           0 :         return false;
    2906             :     }
    2907             : 
    2908           0 :     switch (type) {
    2909             :     case type__::Tuintptr_t:
    2910             :         {
    2911           0 :             uintptr_t tmp = uintptr_t();
    2912           0 :             (*(v__)) = tmp;
    2913           0 :             if ((!(Read((&((v__)->get_uintptr_t())), msg__, iter__)))) {
    2914           0 :                 FatalError("Error deserializing Union type");
    2915           0 :                 return false;
    2916             :             }
    2917             :             // Sentinel = 'Tuintptr_t'
    2918           0 :             if ((!((msg__)->ReadSentinel(iter__, 3218141805)))) {
    2919           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    2920           0 :                 return false;
    2921             :             }
    2922           0 :             return true;
    2923             :         }
    2924             :     case type__::TShmem:
    2925             :         {
    2926           0 :             Shmem tmp = Shmem();
    2927           0 :             (*(v__)) = tmp;
    2928           0 :             if ((!(Read((&((v__)->get_Shmem())), msg__, iter__)))) {
    2929           0 :                 FatalError("Error deserializing Union type");
    2930           0 :                 return false;
    2931             :             }
    2932             :             // Sentinel = 'TShmem'
    2933           0 :             if ((!((msg__)->ReadSentinel(iter__, 3517971266)))) {
    2934           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    2935           0 :                 return false;
    2936             :             }
    2937           0 :             return true;
    2938             :         }
    2939             :     default:
    2940             :         {
    2941           0 :             FatalError("unknown union type");
    2942           0 :             return false;
    2943             :         }
    2944             :     }
    2945             : }
    2946             : 
    2947           0 : auto PImageBridgeParent::Write(
    2948             :         const CompositableOperation& v__,
    2949             :         Message* msg__) -> void
    2950             : {
    2951           0 :     Write((v__).compositable(), msg__);
    2952             :     // Sentinel = 'compositable'
    2953           0 :     (msg__)->WriteSentinel(4031958248);
    2954           0 :     Write((v__).detail(), msg__);
    2955             :     // Sentinel = 'detail'
    2956           0 :     (msg__)->WriteSentinel(3931660205);
    2957           0 : }
    2958             : 
    2959           0 : auto PImageBridgeParent::Read(
    2960             :         CompositableOperation* v__,
    2961             :         const Message* msg__,
    2962             :         PickleIterator* iter__) -> bool
    2963             : {
    2964           0 :     if ((!(Read((&((v__)->compositable())), msg__, iter__)))) {
    2965           0 :         FatalError("Error deserializing 'compositable' (CompositableHandle) member of 'CompositableOperation'");
    2966           0 :         return false;
    2967             :     }
    2968             :     // Sentinel = 'compositable'
    2969           0 :     if ((!((msg__)->ReadSentinel(iter__, 4031958248)))) {
    2970           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'compositable' (CompositableHandle) member of 'CompositableOperation'");
    2971           0 :         return false;
    2972             :     }
    2973           0 :     if ((!(Read((&((v__)->detail())), msg__, iter__)))) {
    2974           0 :         FatalError("Error deserializing 'detail' (CompositableOperationDetail) member of 'CompositableOperation'");
    2975           0 :         return false;
    2976             :     }
    2977             :     // Sentinel = 'detail'
    2978           0 :     if ((!((msg__)->ReadSentinel(iter__, 3931660205)))) {
    2979           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'detail' (CompositableOperationDetail) member of 'CompositableOperation'");
    2980           0 :         return false;
    2981             :     }
    2982           0 :     return true;
    2983             : }
    2984             : 
    2985           0 : auto PImageBridgeParent::Write(
    2986             :         const CompositableOperationDetail& v__,
    2987             :         Message* msg__) -> void
    2988             : {
    2989             :     typedef CompositableOperationDetail type__;
    2990           0 :     Write(int((v__).type()), msg__);
    2991             :     // Sentinel = 'CompositableOperationDetail'
    2992           0 :     (msg__)->WriteSentinel(676020439);
    2993             : 
    2994           0 :     switch ((v__).type()) {
    2995             :     case type__::TOpPaintTextureRegion:
    2996             :         {
    2997           0 :             Write((v__).get_OpPaintTextureRegion(), msg__);
    2998             :             // Sentinel = 'TOpPaintTextureRegion'
    2999           0 :             (msg__)->WriteSentinel(734509049);
    3000           0 :             return;
    3001             :         }
    3002             :     case type__::TOpUseTiledLayerBuffer:
    3003             :         {
    3004           0 :             Write((v__).get_OpUseTiledLayerBuffer(), msg__);
    3005             :             // Sentinel = 'TOpUseTiledLayerBuffer'
    3006           0 :             (msg__)->WriteSentinel(916924693);
    3007           0 :             return;
    3008             :         }
    3009             :     case type__::TOpRemoveTexture:
    3010             :         {
    3011           0 :             Write((v__).get_OpRemoveTexture(), msg__);
    3012             :             // Sentinel = 'TOpRemoveTexture'
    3013           0 :             (msg__)->WriteSentinel(2379906162);
    3014           0 :             return;
    3015             :         }
    3016             :     case type__::TOpUseTexture:
    3017             :         {
    3018           0 :             Write((v__).get_OpUseTexture(), msg__);
    3019             :             // Sentinel = 'TOpUseTexture'
    3020           0 :             (msg__)->WriteSentinel(581630962);
    3021           0 :             return;
    3022             :         }
    3023             :     case type__::TOpUseComponentAlphaTextures:
    3024             :         {
    3025           0 :             Write((v__).get_OpUseComponentAlphaTextures(), msg__);
    3026             :             // Sentinel = 'TOpUseComponentAlphaTextures'
    3027           0 :             (msg__)->WriteSentinel(457985329);
    3028           0 :             return;
    3029             :         }
    3030             :     default:
    3031             :         {
    3032           0 :             FatalError("unknown union type");
    3033           0 :             return;
    3034             :         }
    3035             :     }
    3036             : }
    3037             : 
    3038           0 : auto PImageBridgeParent::Read(
    3039             :         CompositableOperationDetail* v__,
    3040             :         const Message* msg__,
    3041             :         PickleIterator* iter__) -> bool
    3042             : {
    3043             :     typedef CompositableOperationDetail type__;
    3044             :     int type;
    3045           0 :     if ((!(Read((&(type)), msg__, iter__)))) {
    3046           0 :         mozilla::ipc::UnionTypeReadError("CompositableOperationDetail");
    3047           0 :         return false;
    3048             :     }
    3049             :     // Sentinel = 'CompositableOperationDetail'
    3050           0 :     if ((!((msg__)->ReadSentinel(iter__, 676020439)))) {
    3051           0 :         mozilla::ipc::SentinelReadError("CompositableOperationDetail");
    3052           0 :         return false;
    3053             :     }
    3054             : 
    3055           0 :     switch (type) {
    3056             :     case type__::TOpPaintTextureRegion:
    3057             :         {
    3058           0 :             OpPaintTextureRegion tmp = OpPaintTextureRegion();
    3059           0 :             (*(v__)) = tmp;
    3060           0 :             if ((!(Read((&((v__)->get_OpPaintTextureRegion())), msg__, iter__)))) {
    3061           0 :                 FatalError("Error deserializing Union type");
    3062           0 :                 return false;
    3063             :             }
    3064             :             // Sentinel = 'TOpPaintTextureRegion'
    3065           0 :             if ((!((msg__)->ReadSentinel(iter__, 734509049)))) {
    3066           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    3067           0 :                 return false;
    3068             :             }
    3069           0 :             return true;
    3070             :         }
    3071             :     case type__::TOpUseTiledLayerBuffer:
    3072             :         {
    3073           0 :             OpUseTiledLayerBuffer tmp = OpUseTiledLayerBuffer();
    3074           0 :             (*(v__)) = tmp;
    3075           0 :             if ((!(Read((&((v__)->get_OpUseTiledLayerBuffer())), msg__, iter__)))) {
    3076           0 :                 FatalError("Error deserializing Union type");
    3077           0 :                 return false;
    3078             :             }
    3079             :             // Sentinel = 'TOpUseTiledLayerBuffer'
    3080           0 :             if ((!((msg__)->ReadSentinel(iter__, 916924693)))) {
    3081           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    3082           0 :                 return false;
    3083             :             }
    3084           0 :             return true;
    3085             :         }
    3086             :     case type__::TOpRemoveTexture:
    3087             :         {
    3088           0 :             OpRemoveTexture tmp = OpRemoveTexture();
    3089           0 :             (*(v__)) = tmp;
    3090           0 :             if ((!(Read((&((v__)->get_OpRemoveTexture())), msg__, iter__)))) {
    3091           0 :                 FatalError("Error deserializing Union type");
    3092           0 :                 return false;
    3093             :             }
    3094             :             // Sentinel = 'TOpRemoveTexture'
    3095           0 :             if ((!((msg__)->ReadSentinel(iter__, 2379906162)))) {
    3096           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    3097           0 :                 return false;
    3098             :             }
    3099           0 :             return true;
    3100             :         }
    3101             :     case type__::TOpUseTexture:
    3102             :         {
    3103           0 :             OpUseTexture tmp = OpUseTexture();
    3104           0 :             (*(v__)) = tmp;
    3105           0 :             if ((!(Read((&((v__)->get_OpUseTexture())), msg__, iter__)))) {
    3106           0 :                 FatalError("Error deserializing Union type");
    3107           0 :                 return false;
    3108             :             }
    3109             :             // Sentinel = 'TOpUseTexture'
    3110           0 :             if ((!((msg__)->ReadSentinel(iter__, 581630962)))) {
    3111           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    3112           0 :                 return false;
    3113             :             }
    3114           0 :             return true;
    3115             :         }
    3116             :     case type__::TOpUseComponentAlphaTextures:
    3117             :         {
    3118           0 :             OpUseComponentAlphaTextures tmp = OpUseComponentAlphaTextures();
    3119           0 :             (*(v__)) = tmp;
    3120           0 :             if ((!(Read((&((v__)->get_OpUseComponentAlphaTextures())), msg__, iter__)))) {
    3121           0 :                 FatalError("Error deserializing Union type");
    3122           0 :                 return false;
    3123             :             }
    3124             :             // Sentinel = 'TOpUseComponentAlphaTextures'
    3125           0 :             if ((!((msg__)->ReadSentinel(iter__, 457985329)))) {
    3126           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    3127           0 :                 return false;
    3128             :             }
    3129           0 :             return true;
    3130             :         }
    3131             :     default:
    3132             :         {
    3133           0 :             FatalError("unknown union type");
    3134           0 :             return false;
    3135             :         }
    3136             :     }
    3137             : }
    3138             : 
    3139           0 : auto PImageBridgeParent::Write(
    3140             :         const nsTArray<OpDestroy>& v__,
    3141             :         Message* msg__) -> void
    3142             : {
    3143           0 :     uint32_t length = (v__).Length();
    3144           0 :     Write(length, msg__);
    3145             :     // Sentinel = ('length', 'OpDestroy[]')
    3146           0 :     (msg__)->WriteSentinel(1887202695);
    3147             : 
    3148           0 :     for (auto& elem : v__) {
    3149           0 :         Write(elem, msg__);
    3150             :         // Sentinel = 'OpDestroy[]'
    3151           0 :         (msg__)->WriteSentinel(2935587554);
    3152             :     }
    3153           0 : }
    3154             : 
    3155           0 : auto PImageBridgeParent::Read(
    3156             :         nsTArray<OpDestroy>* v__,
    3157             :         const Message* msg__,
    3158             :         PickleIterator* iter__) -> bool
    3159             : {
    3160           0 :     nsTArray<OpDestroy> fa;
    3161             :     uint32_t length;
    3162           0 :     if ((!(Read((&(length)), msg__, iter__)))) {
    3163           0 :         mozilla::ipc::ArrayLengthReadError("OpDestroy[]");
    3164           0 :         return false;
    3165             :     }
    3166             :     // Sentinel = ('length', 'OpDestroy[]')
    3167           0 :     if ((!((msg__)->ReadSentinel(iter__, 1887202695)))) {
    3168           0 :         mozilla::ipc::SentinelReadError("OpDestroy[]");
    3169           0 :         return false;
    3170             :     }
    3171             : 
    3172           0 :     OpDestroy* elems = (fa).AppendElements(length);
    3173           0 :     for (uint32_t i = 0; (i) < (length); (++(i))) {
    3174           0 :         if ((!(Read((&(elems[i])), msg__, iter__)))) {
    3175           0 :             FatalError("Error deserializing 'OpDestroy[i]'");
    3176           0 :             return false;
    3177             :         }
    3178             :         // Sentinel = 'OpDestroy[]'
    3179           0 :         if ((!((msg__)->ReadSentinel(iter__, 2935587554)))) {
    3180           0 :             mozilla::ipc::SentinelReadError("Error deserializing 'OpDestroy[i]'");
    3181           0 :             return false;
    3182             :         }
    3183             :     }
    3184           0 :     (v__)->SwapElements(fa);
    3185           0 :     return true;
    3186             : }
    3187             : 
    3188           0 : auto PImageBridgeParent::Write(
    3189             :         const OpUseTexture& v__,
    3190             :         Message* msg__) -> void
    3191             : {
    3192           0 :     Write((v__).textures(), msg__);
    3193             :     // Sentinel = 'textures'
    3194           0 :     (msg__)->WriteSentinel(1760338112);
    3195           0 : }
    3196             : 
    3197           0 : auto PImageBridgeParent::Read(
    3198             :         OpUseTexture* v__,
    3199             :         const Message* msg__,
    3200             :         PickleIterator* iter__) -> bool
    3201             : {
    3202           0 :     if ((!(Read((&((v__)->textures())), msg__, iter__)))) {
    3203           0 :         FatalError("Error deserializing 'textures' (TimedTexture[]) member of 'OpUseTexture'");
    3204           0 :         return false;
    3205             :     }
    3206             :     // Sentinel = 'textures'
    3207           0 :     if ((!((msg__)->ReadSentinel(iter__, 1760338112)))) {
    3208           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'textures' (TimedTexture[]) member of 'OpUseTexture'");
    3209           0 :         return false;
    3210             :     }
    3211           0 :     return true;
    3212             : }
    3213             : 
    3214           0 : auto PImageBridgeParent::Write(
    3215             :         const CrossProcessSemaphoreDescriptor& v__,
    3216             :         Message* msg__) -> void
    3217             : {
    3218           0 :     Write((v__).sem(), msg__);
    3219             :     // Sentinel = 'sem'
    3220           0 :     (msg__)->WriteSentinel(3763377306);
    3221           0 : }
    3222             : 
    3223           0 : auto PImageBridgeParent::Read(
    3224             :         CrossProcessSemaphoreDescriptor* v__,
    3225             :         const Message* msg__,
    3226             :         PickleIterator* iter__) -> bool
    3227             : {
    3228           0 :     if ((!(Read((&((v__)->sem())), msg__, iter__)))) {
    3229           0 :         FatalError("Error deserializing 'sem' (CrossProcessSemaphoreHandle) member of 'CrossProcessSemaphoreDescriptor'");
    3230           0 :         return false;
    3231             :     }
    3232             :     // Sentinel = 'sem'
    3233           0 :     if ((!((msg__)->ReadSentinel(iter__, 3763377306)))) {
    3234           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'sem' (CrossProcessSemaphoreHandle) member of 'CrossProcessSemaphoreDescriptor'");
    3235           0 :         return false;
    3236             :     }
    3237           0 :     return true;
    3238             : }
    3239             : 
    3240           0 : auto PImageBridgeParent::Write(
    3241             :         const ReadLockDescriptor& v__,
    3242             :         Message* msg__) -> void
    3243             : {
    3244             :     typedef ReadLockDescriptor type__;
    3245           0 :     Write(int((v__).type()), msg__);
    3246             :     // Sentinel = 'ReadLockDescriptor'
    3247           0 :     (msg__)->WriteSentinel(3238270764);
    3248             : 
    3249           0 :     switch ((v__).type()) {
    3250             :     case type__::TShmemSection:
    3251             :         {
    3252           0 :             Write((v__).get_ShmemSection(), msg__);
    3253             :             // Sentinel = 'TShmemSection'
    3254           0 :             (msg__)->WriteSentinel(3037204004);
    3255           0 :             return;
    3256             :         }
    3257             :     case type__::TCrossProcessSemaphoreDescriptor:
    3258             :         {
    3259           0 :             Write((v__).get_CrossProcessSemaphoreDescriptor(), msg__);
    3260             :             // Sentinel = 'TCrossProcessSemaphoreDescriptor'
    3261           0 :             (msg__)->WriteSentinel(2516853580);
    3262           0 :             return;
    3263             :         }
    3264             :     case type__::Tuintptr_t:
    3265             :         {
    3266           0 :             Write((v__).get_uintptr_t(), msg__);
    3267             :             // Sentinel = 'Tuintptr_t'
    3268           0 :             (msg__)->WriteSentinel(3218141805);
    3269           0 :             return;
    3270             :         }
    3271             :     case type__::Tnull_t:
    3272             :         {
    3273           0 :             Write((v__).get_null_t(), msg__);
    3274             :             // Sentinel = 'Tnull_t'
    3275           0 :             (msg__)->WriteSentinel(3731137201);
    3276           0 :             return;
    3277             :         }
    3278             :     default:
    3279             :         {
    3280           0 :             FatalError("unknown union type");
    3281           0 :             return;
    3282             :         }
    3283             :     }
    3284             : }
    3285             : 
    3286           0 : auto PImageBridgeParent::Read(
    3287             :         ReadLockDescriptor* v__,
    3288             :         const Message* msg__,
    3289             :         PickleIterator* iter__) -> bool
    3290             : {
    3291             :     typedef ReadLockDescriptor type__;
    3292             :     int type;
    3293           0 :     if ((!(Read((&(type)), msg__, iter__)))) {
    3294           0 :         mozilla::ipc::UnionTypeReadError("ReadLockDescriptor");
    3295           0 :         return false;
    3296             :     }
    3297             :     // Sentinel = 'ReadLockDescriptor'
    3298           0 :     if ((!((msg__)->ReadSentinel(iter__, 3238270764)))) {
    3299           0 :         mozilla::ipc::SentinelReadError("ReadLockDescriptor");
    3300           0 :         return false;
    3301             :     }
    3302             : 
    3303           0 :     switch (type) {
    3304             :     case type__::TShmemSection:
    3305             :         {
    3306           0 :             ShmemSection tmp = ShmemSection();
    3307           0 :             (*(v__)) = tmp;
    3308           0 :             if ((!(Read((&((v__)->get_ShmemSection())), msg__, iter__)))) {
    3309           0 :                 FatalError("Error deserializing Union type");
    3310           0 :                 return false;
    3311             :             }
    3312             :             // Sentinel = 'TShmemSection'
    3313           0 :             if ((!((msg__)->ReadSentinel(iter__, 3037204004)))) {
    3314           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    3315           0 :                 return false;
    3316             :             }
    3317           0 :             return true;
    3318             :         }
    3319             :     case type__::TCrossProcessSemaphoreDescriptor:
    3320             :         {
    3321           0 :             CrossProcessSemaphoreDescriptor tmp = CrossProcessSemaphoreDescriptor();
    3322           0 :             (*(v__)) = tmp;
    3323           0 :             if ((!(Read((&((v__)->get_CrossProcessSemaphoreDescriptor())), msg__, iter__)))) {
    3324           0 :                 FatalError("Error deserializing Union type");
    3325           0 :                 return false;
    3326             :             }
    3327             :             // Sentinel = 'TCrossProcessSemaphoreDescriptor'
    3328           0 :             if ((!((msg__)->ReadSentinel(iter__, 2516853580)))) {
    3329           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    3330           0 :                 return false;
    3331             :             }
    3332           0 :             return true;
    3333             :         }
    3334             :     case type__::Tuintptr_t:
    3335             :         {
    3336           0 :             uintptr_t tmp = uintptr_t();
    3337           0 :             (*(v__)) = tmp;
    3338           0 :             if ((!(Read((&((v__)->get_uintptr_t())), msg__, iter__)))) {
    3339           0 :                 FatalError("Error deserializing Union type");
    3340           0 :                 return false;
    3341             :             }
    3342             :             // Sentinel = 'Tuintptr_t'
    3343           0 :             if ((!((msg__)->ReadSentinel(iter__, 3218141805)))) {
    3344           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    3345           0 :                 return false;
    3346             :             }
    3347           0 :             return true;
    3348             :         }
    3349             :     case type__::Tnull_t:
    3350             :         {
    3351             :             null_t tmp = null_t();
    3352           0 :             (*(v__)) = tmp;
    3353           0 :             if ((!(Read((&((v__)->get_null_t())), msg__, iter__)))) {
    3354           0 :                 FatalError("Error deserializing Union type");
    3355           0 :                 return false;
    3356             :             }
    3357             :             // Sentinel = 'Tnull_t'
    3358           0 :             if ((!((msg__)->ReadSentinel(iter__, 3731137201)))) {
    3359           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    3360           0 :                 return false;
    3361             :             }
    3362           0 :             return true;
    3363             :         }
    3364             :     default:
    3365             :         {
    3366           0 :             FatalError("unknown union type");
    3367           0 :             return false;
    3368             :         }
    3369             :     }
    3370             : }
    3371             : 
    3372           0 : auto PImageBridgeParent::Write(
    3373             :         const TexturedTileDescriptor& v__,
    3374             :         Message* msg__) -> void
    3375             : {
    3376           0 :     Write((v__).textureParent(), msg__, false);
    3377             :     // Sentinel = 'texture'
    3378           0 :     (msg__)->WriteSentinel(3654462510);
    3379             :     // skipping actor field that's meaningless on this side
    3380           0 :     Write((v__).textureOnWhite(), msg__);
    3381             :     // Sentinel = 'textureOnWhite'
    3382           0 :     (msg__)->WriteSentinel(4123373327);
    3383           0 :     Write((v__).updateRect(), msg__);
    3384             :     // Sentinel = 'updateRect'
    3385           0 :     (msg__)->WriteSentinel(655450235);
    3386           0 :     Write((v__).sharedLock(), msg__);
    3387             :     // Sentinel = 'sharedLock'
    3388           0 :     (msg__)->WriteSentinel(1249896484);
    3389           0 :     Write((v__).sharedLockOnWhite(), msg__);
    3390             :     // Sentinel = 'sharedLockOnWhite'
    3391           0 :     (msg__)->WriteSentinel(2954092853);
    3392           0 :     Write((v__).wasPlaceholder(), msg__);
    3393             :     // Sentinel = 'wasPlaceholder'
    3394           0 :     (msg__)->WriteSentinel(3801375384);
    3395           0 : }
    3396             : 
    3397           0 : auto PImageBridgeParent::Read(
    3398             :         TexturedTileDescriptor* v__,
    3399             :         const Message* msg__,
    3400             :         PickleIterator* iter__) -> bool
    3401             : {
    3402           0 :     if ((!(Read((&((v__)->textureParent())), msg__, iter__, false)))) {
    3403           0 :         FatalError("Error deserializing 'textureParent' (PTexture) member of 'TexturedTileDescriptor'");
    3404           0 :         return false;
    3405             :     }
    3406             :     // Sentinel = 'texture'
    3407           0 :     if ((!((msg__)->ReadSentinel(iter__, 3654462510)))) {
    3408           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'textureParent' (PTexture) member of 'TexturedTileDescriptor'");
    3409           0 :         return false;
    3410             :     }
    3411             :     // skipping actor field that's meaningless on this side
    3412           0 :     if ((!(Read((&((v__)->textureOnWhite())), msg__, iter__)))) {
    3413           0 :         FatalError("Error deserializing 'textureOnWhite' (MaybeTexture) member of 'TexturedTileDescriptor'");
    3414           0 :         return false;
    3415             :     }
    3416             :     // Sentinel = 'textureOnWhite'
    3417           0 :     if ((!((msg__)->ReadSentinel(iter__, 4123373327)))) {
    3418           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'textureOnWhite' (MaybeTexture) member of 'TexturedTileDescriptor'");
    3419           0 :         return false;
    3420             :     }
    3421           0 :     if ((!(Read((&((v__)->updateRect())), msg__, iter__)))) {
    3422           0 :         FatalError("Error deserializing 'updateRect' (IntRect) member of 'TexturedTileDescriptor'");
    3423           0 :         return false;
    3424             :     }
    3425             :     // Sentinel = 'updateRect'
    3426           0 :     if ((!((msg__)->ReadSentinel(iter__, 655450235)))) {
    3427           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'updateRect' (IntRect) member of 'TexturedTileDescriptor'");
    3428           0 :         return false;
    3429             :     }
    3430           0 :     if ((!(Read((&((v__)->sharedLock())), msg__, iter__)))) {
    3431           0 :         FatalError("Error deserializing 'sharedLock' (ReadLockDescriptor) member of 'TexturedTileDescriptor'");
    3432           0 :         return false;
    3433             :     }
    3434             :     // Sentinel = 'sharedLock'
    3435           0 :     if ((!((msg__)->ReadSentinel(iter__, 1249896484)))) {
    3436           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'sharedLock' (ReadLockDescriptor) member of 'TexturedTileDescriptor'");
    3437           0 :         return false;
    3438             :     }
    3439           0 :     if ((!(Read((&((v__)->sharedLockOnWhite())), msg__, iter__)))) {
    3440           0 :         FatalError("Error deserializing 'sharedLockOnWhite' (ReadLockDescriptor) member of 'TexturedTileDescriptor'");
    3441           0 :         return false;
    3442             :     }
    3443             :     // Sentinel = 'sharedLockOnWhite'
    3444           0 :     if ((!((msg__)->ReadSentinel(iter__, 2954092853)))) {
    3445           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'sharedLockOnWhite' (ReadLockDescriptor) member of 'TexturedTileDescriptor'");
    3446           0 :         return false;
    3447             :     }
    3448           0 :     if ((!(Read((&((v__)->wasPlaceholder())), msg__, iter__)))) {
    3449           0 :         FatalError("Error deserializing 'wasPlaceholder' (bool) member of 'TexturedTileDescriptor'");
    3450           0 :         return false;
    3451             :     }
    3452             :     // Sentinel = 'wasPlaceholder'
    3453           0 :     if ((!((msg__)->ReadSentinel(iter__, 3801375384)))) {
    3454           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'wasPlaceholder' (bool) member of 'TexturedTileDescriptor'");
    3455           0 :         return false;
    3456             :     }
    3457           0 :     return true;
    3458             : }
    3459             : 
    3460           0 : auto PImageBridgeParent::Write(
    3461             :         const OpUseComponentAlphaTextures& v__,
    3462             :         Message* msg__) -> void
    3463             : {
    3464           0 :     Write((v__).textureOnBlackParent(), msg__, false);
    3465             :     // Sentinel = 'textureOnBlack'
    3466           0 :     (msg__)->WriteSentinel(2782165397);
    3467             :     // skipping actor field that's meaningless on this side
    3468           0 :     Write((v__).textureOnWhiteParent(), msg__, false);
    3469             :     // Sentinel = 'textureOnWhite'
    3470           0 :     (msg__)->WriteSentinel(4123373327);
    3471             :     // skipping actor field that's meaningless on this side
    3472           0 :     Write((v__).sharedLockBlack(), msg__);
    3473             :     // Sentinel = 'sharedLockBlack'
    3474           0 :     (msg__)->WriteSentinel(3577180696);
    3475           0 :     Write((v__).sharedLockWhite(), msg__);
    3476             :     // Sentinel = 'sharedLockWhite'
    3477           0 :     (msg__)->WriteSentinel(3643157938);
    3478           0 : }
    3479             : 
    3480           0 : auto PImageBridgeParent::Read(
    3481             :         OpUseComponentAlphaTextures* v__,
    3482             :         const Message* msg__,
    3483             :         PickleIterator* iter__) -> bool
    3484             : {
    3485           0 :     if ((!(Read((&((v__)->textureOnBlackParent())), msg__, iter__, false)))) {
    3486           0 :         FatalError("Error deserializing 'textureOnBlackParent' (PTexture) member of 'OpUseComponentAlphaTextures'");
    3487           0 :         return false;
    3488             :     }
    3489             :     // Sentinel = 'textureOnBlack'
    3490           0 :     if ((!((msg__)->ReadSentinel(iter__, 2782165397)))) {
    3491           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'textureOnBlackParent' (PTexture) member of 'OpUseComponentAlphaTextures'");
    3492           0 :         return false;
    3493             :     }
    3494             :     // skipping actor field that's meaningless on this side
    3495           0 :     if ((!(Read((&((v__)->textureOnWhiteParent())), msg__, iter__, false)))) {
    3496           0 :         FatalError("Error deserializing 'textureOnWhiteParent' (PTexture) member of 'OpUseComponentAlphaTextures'");
    3497           0 :         return false;
    3498             :     }
    3499             :     // Sentinel = 'textureOnWhite'
    3500           0 :     if ((!((msg__)->ReadSentinel(iter__, 4123373327)))) {
    3501           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'textureOnWhiteParent' (PTexture) member of 'OpUseComponentAlphaTextures'");
    3502           0 :         return false;
    3503             :     }
    3504             :     // skipping actor field that's meaningless on this side
    3505           0 :     if ((!(Read((&((v__)->sharedLockBlack())), msg__, iter__)))) {
    3506           0 :         FatalError("Error deserializing 'sharedLockBlack' (ReadLockHandle) member of 'OpUseComponentAlphaTextures'");
    3507           0 :         return false;
    3508             :     }
    3509             :     // Sentinel = 'sharedLockBlack'
    3510           0 :     if ((!((msg__)->ReadSentinel(iter__, 3577180696)))) {
    3511           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'sharedLockBlack' (ReadLockHandle) member of 'OpUseComponentAlphaTextures'");
    3512           0 :         return false;
    3513             :     }
    3514           0 :     if ((!(Read((&((v__)->sharedLockWhite())), msg__, iter__)))) {
    3515           0 :         FatalError("Error deserializing 'sharedLockWhite' (ReadLockHandle) member of 'OpUseComponentAlphaTextures'");
    3516           0 :         return false;
    3517             :     }
    3518             :     // Sentinel = 'sharedLockWhite'
    3519           0 :     if ((!((msg__)->ReadSentinel(iter__, 3643157938)))) {
    3520           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'sharedLockWhite' (ReadLockHandle) member of 'OpUseComponentAlphaTextures'");
    3521           0 :         return false;
    3522             :     }
    3523           0 :     return true;
    3524             : }
    3525             : 
    3526           0 : auto PImageBridgeParent::Write(
    3527             :         const SurfaceDescriptorMacIOSurface& v__,
    3528             :         Message* msg__) -> void
    3529             : {
    3530           0 :     Write((v__).surfaceId(), msg__);
    3531             :     // Sentinel = 'surfaceId'
    3532           0 :     (msg__)->WriteSentinel(4108848731);
    3533           0 :     Write((v__).scaleFactor(), msg__);
    3534             :     // Sentinel = 'scaleFactor'
    3535           0 :     (msg__)->WriteSentinel(1184637148);
    3536           0 :     Write((v__).isOpaque(), msg__);
    3537             :     // Sentinel = 'isOpaque'
    3538           0 :     (msg__)->WriteSentinel(3519081617);
    3539           0 : }
    3540             : 
    3541           0 : auto PImageBridgeParent::Read(
    3542             :         SurfaceDescriptorMacIOSurface* v__,
    3543             :         const Message* msg__,
    3544             :         PickleIterator* iter__) -> bool
    3545             : {
    3546           0 :     if ((!(Read((&((v__)->surfaceId())), msg__, iter__)))) {
    3547           0 :         FatalError("Error deserializing 'surfaceId' (uint32_t) member of 'SurfaceDescriptorMacIOSurface'");
    3548           0 :         return false;
    3549             :     }
    3550             :     // Sentinel = 'surfaceId'
    3551           0 :     if ((!((msg__)->ReadSentinel(iter__, 4108848731)))) {
    3552           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'surfaceId' (uint32_t) member of 'SurfaceDescriptorMacIOSurface'");
    3553           0 :         return false;
    3554             :     }
    3555           0 :     if ((!(Read((&((v__)->scaleFactor())), msg__, iter__)))) {
    3556           0 :         FatalError("Error deserializing 'scaleFactor' (double) member of 'SurfaceDescriptorMacIOSurface'");
    3557           0 :         return false;
    3558             :     }
    3559             :     // Sentinel = 'scaleFactor'
    3560           0 :     if ((!((msg__)->ReadSentinel(iter__, 1184637148)))) {
    3561           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'scaleFactor' (double) member of 'SurfaceDescriptorMacIOSurface'");
    3562           0 :         return false;
    3563             :     }
    3564           0 :     if ((!(Read((&((v__)->isOpaque())), msg__, iter__)))) {
    3565           0 :         FatalError("Error deserializing 'isOpaque' (bool) member of 'SurfaceDescriptorMacIOSurface'");
    3566           0 :         return false;
    3567             :     }
    3568             :     // Sentinel = 'isOpaque'
    3569           0 :     if ((!((msg__)->ReadSentinel(iter__, 3519081617)))) {
    3570           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'isOpaque' (bool) member of 'SurfaceDescriptorMacIOSurface'");
    3571           0 :         return false;
    3572             :     }
    3573           0 :     return true;
    3574             : }
    3575             : 
    3576           0 : auto PImageBridgeParent::Write(
    3577             :         const BufferDescriptor& v__,
    3578             :         Message* msg__) -> void
    3579             : {
    3580             :     typedef BufferDescriptor type__;
    3581           0 :     Write(int((v__).type()), msg__);
    3582             :     // Sentinel = 'BufferDescriptor'
    3583           0 :     (msg__)->WriteSentinel(764535685);
    3584             : 
    3585           0 :     switch ((v__).type()) {
    3586             :     case type__::TRGBDescriptor:
    3587             :         {
    3588           0 :             Write((v__).get_RGBDescriptor(), msg__);
    3589             :             // Sentinel = 'TRGBDescriptor'
    3590           0 :             (msg__)->WriteSentinel(2888062100);
    3591           0 :             return;
    3592             :         }
    3593             :     case type__::TYCbCrDescriptor:
    3594             :         {
    3595           0 :             Write((v__).get_YCbCrDescriptor(), msg__);
    3596             :             // Sentinel = 'TYCbCrDescriptor'
    3597           0 :             (msg__)->WriteSentinel(3533945878);
    3598           0 :             return;
    3599             :         }
    3600             :     default:
    3601             :         {
    3602           0 :             FatalError("unknown union type");
    3603           0 :             return;
    3604             :         }
    3605             :     }
    3606             : }
    3607             : 
    3608           0 : auto PImageBridgeParent::Read(
    3609             :         BufferDescriptor* v__,
    3610             :         const Message* msg__,
    3611             :         PickleIterator* iter__) -> bool
    3612             : {
    3613             :     typedef BufferDescriptor type__;
    3614             :     int type;
    3615           0 :     if ((!(Read((&(type)), msg__, iter__)))) {
    3616           0 :         mozilla::ipc::UnionTypeReadError("BufferDescriptor");
    3617           0 :         return false;
    3618             :     }
    3619             :     // Sentinel = 'BufferDescriptor'
    3620           0 :     if ((!((msg__)->ReadSentinel(iter__, 764535685)))) {
    3621           0 :         mozilla::ipc::SentinelReadError("BufferDescriptor");
    3622           0 :         return false;
    3623             :     }
    3624             : 
    3625           0 :     switch (type) {
    3626             :     case type__::TRGBDescriptor:
    3627             :         {
    3628           0 :             RGBDescriptor tmp = RGBDescriptor();
    3629           0 :             (*(v__)) = tmp;
    3630           0 :             if ((!(Read((&((v__)->get_RGBDescriptor())), msg__, iter__)))) {
    3631           0 :                 FatalError("Error deserializing Union type");
    3632           0 :                 return false;
    3633             :             }
    3634             :             // Sentinel = 'TRGBDescriptor'
    3635           0 :             if ((!((msg__)->ReadSentinel(iter__, 2888062100)))) {
    3636           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    3637           0 :                 return false;
    3638             :             }
    3639           0 :             return true;
    3640             :         }
    3641             :     case type__::TYCbCrDescriptor:
    3642             :         {
    3643           0 :             YCbCrDescriptor tmp = YCbCrDescriptor();
    3644           0 :             (*(v__)) = tmp;
    3645           0 :             if ((!(Read((&((v__)->get_YCbCrDescriptor())), msg__, iter__)))) {
    3646           0 :                 FatalError("Error deserializing Union type");
    3647           0 :                 return false;
    3648             :             }
    3649             :             // Sentinel = 'TYCbCrDescriptor'
    3650           0 :             if ((!((msg__)->ReadSentinel(iter__, 3533945878)))) {
    3651           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    3652           0 :                 return false;
    3653             :             }
    3654           0 :             return true;
    3655             :         }
    3656             :     default:
    3657             :         {
    3658           0 :             FatalError("unknown union type");
    3659           0 :             return false;
    3660             :         }
    3661             :     }
    3662             : }
    3663             : 
    3664           0 : auto PImageBridgeParent::Write(
    3665             :         const nsTArray<CompositableOperation>& v__,
    3666             :         Message* msg__) -> void
    3667             : {
    3668           0 :     uint32_t length = (v__).Length();
    3669           0 :     Write(length, msg__);
    3670             :     // Sentinel = ('length', 'CompositableOperation[]')
    3671           0 :     (msg__)->WriteSentinel(1164254785);
    3672             : 
    3673           0 :     for (auto& elem : v__) {
    3674           0 :         Write(elem, msg__);
    3675             :         // Sentinel = 'CompositableOperation[]'
    3676           0 :         (msg__)->WriteSentinel(574132320);
    3677             :     }
    3678           0 : }
    3679             : 
    3680           0 : auto PImageBridgeParent::Read(
    3681             :         nsTArray<CompositableOperation>* v__,
    3682             :         const Message* msg__,
    3683             :         PickleIterator* iter__) -> bool
    3684             : {
    3685           0 :     nsTArray<CompositableOperation> fa;
    3686             :     uint32_t length;
    3687           0 :     if ((!(Read((&(length)), msg__, iter__)))) {
    3688           0 :         mozilla::ipc::ArrayLengthReadError("CompositableOperation[]");
    3689           0 :         return false;
    3690             :     }
    3691             :     // Sentinel = ('length', 'CompositableOperation[]')
    3692           0 :     if ((!((msg__)->ReadSentinel(iter__, 1164254785)))) {
    3693           0 :         mozilla::ipc::SentinelReadError("CompositableOperation[]");
    3694           0 :         return false;
    3695             :     }
    3696             : 
    3697           0 :     CompositableOperation* elems = (fa).AppendElements(length);
    3698           0 :     for (uint32_t i = 0; (i) < (length); (++(i))) {
    3699           0 :         if ((!(Read((&(elems[i])), msg__, iter__)))) {
    3700           0 :             FatalError("Error deserializing 'CompositableOperation[i]'");
    3701           0 :             return false;
    3702             :         }
    3703             :         // Sentinel = 'CompositableOperation[]'
    3704           0 :         if ((!((msg__)->ReadSentinel(iter__, 574132320)))) {
    3705           0 :             mozilla::ipc::SentinelReadError("Error deserializing 'CompositableOperation[i]'");
    3706           0 :             return false;
    3707             :         }
    3708             :     }
    3709           0 :     (v__)->SwapElements(fa);
    3710           0 :     return true;
    3711             : }
    3712             : 
    3713           0 : auto PImageBridgeParent::Write(
    3714             :         const PTextureParent* v__,
    3715             :         Message* msg__,
    3716             :         bool nullable__) -> void
    3717             : {
    3718             :     int32_t id;
    3719           0 :     if ((!(v__))) {
    3720           0 :         if ((!(nullable__))) {
    3721           0 :             FatalError("NULL actor value passed to non-nullable param");
    3722             :         }
    3723           0 :         id = 0;
    3724             :     }
    3725             :     else {
    3726           0 :         id = (v__)->Id();
    3727           0 :         if ((1) == (id)) {
    3728           0 :             FatalError("actor has been |delete|d");
    3729             :         }
    3730             :     }
    3731             : 
    3732           0 :     Write(id, msg__);
    3733           0 : }
    3734             : 
    3735           0 : auto PImageBridgeParent::Read(
    3736             :         PTextureParent** v__,
    3737             :         const Message* msg__,
    3738             :         PickleIterator* iter__,
    3739             :         bool nullable__) -> bool
    3740             : {
    3741           0 :     Maybe<mozilla::ipc::IProtocol*> actor = ReadActor(msg__, iter__, nullable__, "PTexture", PTextureMsgStart);
    3742           0 :     if ((actor).isNothing()) {
    3743           0 :         return false;
    3744             :     }
    3745             : 
    3746           0 :     (*(v__)) = static_cast<PTextureParent*>((actor).value());
    3747           0 :     return true;
    3748             : }
    3749             : 
    3750             : 
    3751             : 
    3752             : } // namespace layers
    3753             : } // namespace mozilla

Generated by: LCOV version 1.13