LCOV - code coverage report
Current view: top level - obj-x86_64-pc-linux-gnu/ipc/ipdl - PLayerTransactionParent.cpp (source / functions) Hit Total Coverage
Test: output.info Lines: 500 3786 13.2 %
Date: 2017-07-14 16:53:18 Functions: 46 211 21.8 %
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/PLayerTransactionParent.h"
       8             : #include "FrameMetrics.h"
       9             : #include "ipc/IPCMessageUtils.h"
      10             : #include "mozilla/layers/APZTestData.h"
      11             : #include "mozilla/layers/CompositorTypes.h"
      12             : 
      13             : #include "mozilla/layers/PCompositorBridgeParent.h"
      14             : #include "mozilla/layout/PRenderFrameParent.h"
      15             : #include "mozilla/layers/PTextureParent.h"
      16             : 
      17             : #include "nsIFile.h"
      18             : #include "GeckoProfiler.h"
      19             : 
      20             : namespace mozilla {
      21             : namespace layers {
      22             : 
      23             : 
      24             : 
      25           2 : MOZ_IMPLICIT PLayerTransactionParent::PLayerTransactionParent() :
      26             :     mozilla::ipc::IProtocol(mozilla::ipc::ParentSide),
      27           2 :     mState(PLayerTransaction::__Dead)
      28             : {
      29           2 :     MOZ_COUNT_CTOR(PLayerTransactionParent);
      30           2 : }
      31             : 
      32           0 : PLayerTransactionParent::~PLayerTransactionParent()
      33             : {
      34           0 :     MOZ_COUNT_DTOR(PLayerTransactionParent);
      35           0 : }
      36             : 
      37           0 : auto PLayerTransactionParent::Manager() const -> PCompositorBridgeParent*
      38             : {
      39           0 :     return static_cast<PCompositorBridgeParent*>(IProtocol::Manager());
      40             : }
      41             : 
      42           0 : auto PLayerTransactionParent::Send__delete__(PLayerTransactionParent* actor) -> bool
      43             : {
      44           0 :     if ((!(actor))) {
      45           0 :         return false;
      46             :     }
      47             : 
      48           0 :     IPC::Message* msg__ = PLayerTransaction::Msg___delete__((actor)->Id());
      49             : 
      50           0 :     (actor)->Write(actor, msg__, false);
      51             :     // Sentinel = 'actor'
      52           0 :     (msg__)->WriteSentinel(875202478);
      53             : 
      54             : 
      55             : 
      56           0 :     if (mozilla::ipc::LoggingEnabledFor("PLayerTransactionParent")) {
      57           0 :         mozilla::ipc::LogMessageForProtocol("PLayerTransactionParent", (actor)->OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
      58             :     }
      59           0 :     AUTO_PROFILER_LABEL("PLayerTransaction::Msg___delete__", OTHER);
      60           0 :     PLayerTransaction::Transition(PLayerTransaction::Msg___delete____ID, (&((actor)->mState)));
      61             : 
      62           0 :     bool sendok__ = ((actor)->GetIPCChannel())->Send(msg__);
      63             : 
      64           0 :     IProtocol* mgr = (actor)->Manager();
      65           0 :     (actor)->DestroySubtree(Deletion);
      66           0 :     (actor)->DeallocSubtree();
      67           0 :     (mgr)->RemoveManagee(PLayerTransactionMsgStart, actor);
      68           0 :     return sendok__;
      69             : }
      70             : 
      71           0 : auto PLayerTransactionParent::RemoveManagee(
      72             :         int32_t aProtocolId,
      73             :         ProtocolBase* aListener) -> void
      74             : {
      75           0 :     FatalError("unreached");
      76           0 :     return;
      77             : }
      78             : 
      79         118 : auto PLayerTransactionParent::OnMessageReceived(const Message& msg__) -> PLayerTransactionParent::Result
      80             : {
      81         118 :     switch ((msg__).type()) {
      82             :     case PLayerTransaction::Msg_InitReadLocks__ID:
      83             :         {
      84          24 :             if (mozilla::ipc::LoggingEnabledFor("PLayerTransactionParent")) {
      85           0 :                 mozilla::ipc::LogMessageForProtocol("PLayerTransactionParent", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
      86             :             }
      87          48 :             AUTO_PROFILER_LABEL("PLayerTransaction::Msg_InitReadLocks", OTHER);
      88             : 
      89          24 :             PickleIterator iter__(msg__);
      90          48 :             nsTArray<ReadLockInit> locks;
      91             : 
      92          24 :             if ((!(Read((&(locks)), (&(msg__)), (&(iter__)))))) {
      93           0 :                 FatalError("Error deserializing 'nsTArray'");
      94           0 :                 return MsgValueError;
      95             :             }
      96             :             // Sentinel = 'locks'
      97          24 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 4169533841)))) {
      98           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'nsTArray'");
      99           0 :                 return MsgValueError;
     100             :             }
     101          24 :             (msg__).EndRead(iter__, (msg__).type());
     102          24 :             PLayerTransaction::Transition(PLayerTransaction::Msg_InitReadLocks__ID, (&(mState)));
     103          24 :             if ((!(RecvInitReadLocks(mozilla::Move(locks))))) {
     104           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
     105             :                 // Error handled in mozilla::ipc::IPCResult
     106           0 :                 return MsgProcessingError;
     107             :             }
     108             : 
     109          24 :             return MsgProcessed;
     110             :         }
     111             :     case PLayerTransaction::Msg_Update__ID:
     112             :         {
     113          28 :             if (mozilla::ipc::LoggingEnabledFor("PLayerTransactionParent")) {
     114           0 :                 mozilla::ipc::LogMessageForProtocol("PLayerTransactionParent", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
     115             :             }
     116          56 :             AUTO_PROFILER_LABEL("PLayerTransaction::Msg_Update", OTHER);
     117             : 
     118          28 :             PickleIterator iter__(msg__);
     119          56 :             TransactionInfo txn;
     120             : 
     121          28 :             if ((!(Read((&(txn)), (&(msg__)), (&(iter__)))))) {
     122           0 :                 FatalError("Error deserializing 'TransactionInfo'");
     123           0 :                 return MsgValueError;
     124             :             }
     125             :             // Sentinel = 'txn'
     126          28 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 316309761)))) {
     127           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'TransactionInfo'");
     128           0 :                 return MsgValueError;
     129             :             }
     130          28 :             (msg__).EndRead(iter__, (msg__).type());
     131          28 :             PLayerTransaction::Transition(PLayerTransaction::Msg_Update__ID, (&(mState)));
     132          28 :             if ((!(RecvUpdate(mozilla::Move(txn))))) {
     133           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
     134             :                 // Error handled in mozilla::ipc::IPCResult
     135           0 :                 return MsgProcessingError;
     136             :             }
     137             : 
     138          28 :             return MsgProcessed;
     139             :         }
     140             :     case PLayerTransaction::Msg_PaintTime__ID:
     141             :         {
     142           0 :             if (mozilla::ipc::LoggingEnabledFor("PLayerTransactionParent")) {
     143           0 :                 mozilla::ipc::LogMessageForProtocol("PLayerTransactionParent", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
     144             :             }
     145           0 :             AUTO_PROFILER_LABEL("PLayerTransaction::Msg_PaintTime", OTHER);
     146             : 
     147           0 :             PickleIterator iter__(msg__);
     148             :             uint64_t id;
     149           0 :             TimeDuration paintTime;
     150             : 
     151           0 :             if ((!(Read((&(id)), (&(msg__)), (&(iter__)))))) {
     152           0 :                 FatalError("Error deserializing 'uint64_t'");
     153           0 :                 return MsgValueError;
     154             :             }
     155             :             // Sentinel = 'id'
     156           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2794505629)))) {
     157           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'");
     158           0 :                 return MsgValueError;
     159             :             }
     160           0 :             if ((!(Read((&(paintTime)), (&(msg__)), (&(iter__)))))) {
     161           0 :                 FatalError("Error deserializing 'TimeDuration'");
     162           0 :                 return MsgValueError;
     163             :             }
     164             :             // Sentinel = 'paintTime'
     165           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2185917910)))) {
     166           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'TimeDuration'");
     167           0 :                 return MsgValueError;
     168             :             }
     169           0 :             (msg__).EndRead(iter__, (msg__).type());
     170           0 :             PLayerTransaction::Transition(PLayerTransaction::Msg_PaintTime__ID, (&(mState)));
     171           0 :             if ((!(RecvPaintTime(mozilla::Move(id), mozilla::Move(paintTime))))) {
     172           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
     173             :                 // Error handled in mozilla::ipc::IPCResult
     174           0 :                 return MsgProcessingError;
     175             :             }
     176             : 
     177           0 :             return MsgProcessed;
     178             :         }
     179             :     case PLayerTransaction::Msg_SetLayerObserverEpoch__ID:
     180             :         {
     181           2 :             if (mozilla::ipc::LoggingEnabledFor("PLayerTransactionParent")) {
     182           0 :                 mozilla::ipc::LogMessageForProtocol("PLayerTransactionParent", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
     183             :             }
     184           4 :             AUTO_PROFILER_LABEL("PLayerTransaction::Msg_SetLayerObserverEpoch", OTHER);
     185             : 
     186           2 :             PickleIterator iter__(msg__);
     187             :             uint64_t layerObserverEpoch;
     188             : 
     189           2 :             if ((!(Read((&(layerObserverEpoch)), (&(msg__)), (&(iter__)))))) {
     190           0 :                 FatalError("Error deserializing 'uint64_t'");
     191           0 :                 return MsgValueError;
     192             :             }
     193             :             // Sentinel = 'layerObserverEpoch'
     194           2 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 932884902)))) {
     195           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'");
     196           0 :                 return MsgValueError;
     197             :             }
     198           2 :             (msg__).EndRead(iter__, (msg__).type());
     199           2 :             PLayerTransaction::Transition(PLayerTransaction::Msg_SetLayerObserverEpoch__ID, (&(mState)));
     200           2 :             if ((!(RecvSetLayerObserverEpoch(mozilla::Move(layerObserverEpoch))))) {
     201           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
     202             :                 // Error handled in mozilla::ipc::IPCResult
     203           0 :                 return MsgProcessingError;
     204             :             }
     205             : 
     206           2 :             return MsgProcessed;
     207             :         }
     208             :     case PLayerTransaction::Msg_NewCompositable__ID:
     209             :         {
     210          22 :             if (mozilla::ipc::LoggingEnabledFor("PLayerTransactionParent")) {
     211           0 :                 mozilla::ipc::LogMessageForProtocol("PLayerTransactionParent", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
     212             :             }
     213          44 :             AUTO_PROFILER_LABEL("PLayerTransaction::Msg_NewCompositable", OTHER);
     214             : 
     215          22 :             PickleIterator iter__(msg__);
     216          22 :             CompositableHandle handle;
     217          22 :             TextureInfo info;
     218             : 
     219          22 :             if ((!(Read((&(handle)), (&(msg__)), (&(iter__)))))) {
     220           0 :                 FatalError("Error deserializing 'CompositableHandle'");
     221           0 :                 return MsgValueError;
     222             :             }
     223             :             // Sentinel = 'handle'
     224          22 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 453975108)))) {
     225           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'CompositableHandle'");
     226           0 :                 return MsgValueError;
     227             :             }
     228          22 :             if ((!(Read((&(info)), (&(msg__)), (&(iter__)))))) {
     229           0 :                 FatalError("Error deserializing 'TextureInfo'");
     230           0 :                 return MsgValueError;
     231             :             }
     232             :             // Sentinel = 'info'
     233          22 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 3750868832)))) {
     234           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'TextureInfo'");
     235           0 :                 return MsgValueError;
     236             :             }
     237          22 :             (msg__).EndRead(iter__, (msg__).type());
     238          22 :             PLayerTransaction::Transition(PLayerTransaction::Msg_NewCompositable__ID, (&(mState)));
     239          22 :             if ((!(RecvNewCompositable(mozilla::Move(handle), mozilla::Move(info))))) {
     240           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
     241             :                 // Error handled in mozilla::ipc::IPCResult
     242           0 :                 return MsgProcessingError;
     243             :             }
     244             : 
     245          22 :             return MsgProcessed;
     246             :         }
     247             :     case PLayerTransaction::Msg_ReleaseLayer__ID:
     248             :         {
     249          23 :             if (mozilla::ipc::LoggingEnabledFor("PLayerTransactionParent")) {
     250           0 :                 mozilla::ipc::LogMessageForProtocol("PLayerTransactionParent", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
     251             :             }
     252          46 :             AUTO_PROFILER_LABEL("PLayerTransaction::Msg_ReleaseLayer", OTHER);
     253             : 
     254          23 :             PickleIterator iter__(msg__);
     255          23 :             LayerHandle layer;
     256             : 
     257          23 :             if ((!(Read((&(layer)), (&(msg__)), (&(iter__)))))) {
     258           0 :                 FatalError("Error deserializing 'LayerHandle'");
     259           0 :                 return MsgValueError;
     260             :             }
     261             :             // Sentinel = 'layer'
     262          23 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 1899167106)))) {
     263           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'LayerHandle'");
     264           0 :                 return MsgValueError;
     265             :             }
     266          23 :             (msg__).EndRead(iter__, (msg__).type());
     267          23 :             PLayerTransaction::Transition(PLayerTransaction::Msg_ReleaseLayer__ID, (&(mState)));
     268          23 :             if ((!(RecvReleaseLayer(mozilla::Move(layer))))) {
     269           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
     270             :                 // Error handled in mozilla::ipc::IPCResult
     271           0 :                 return MsgProcessingError;
     272             :             }
     273             : 
     274          23 :             return MsgProcessed;
     275             :         }
     276             :     case PLayerTransaction::Msg_ReleaseCompositable__ID:
     277             :         {
     278          19 :             if (mozilla::ipc::LoggingEnabledFor("PLayerTransactionParent")) {
     279           0 :                 mozilla::ipc::LogMessageForProtocol("PLayerTransactionParent", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
     280             :             }
     281          38 :             AUTO_PROFILER_LABEL("PLayerTransaction::Msg_ReleaseCompositable", OTHER);
     282             : 
     283          19 :             PickleIterator iter__(msg__);
     284          19 :             CompositableHandle compositable;
     285             : 
     286          19 :             if ((!(Read((&(compositable)), (&(msg__)), (&(iter__)))))) {
     287           0 :                 FatalError("Error deserializing 'CompositableHandle'");
     288           0 :                 return MsgValueError;
     289             :             }
     290             :             // Sentinel = 'compositable'
     291          19 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 4031958248)))) {
     292           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'CompositableHandle'");
     293           0 :                 return MsgValueError;
     294             :             }
     295          19 :             (msg__).EndRead(iter__, (msg__).type());
     296          19 :             PLayerTransaction::Transition(PLayerTransaction::Msg_ReleaseCompositable__ID, (&(mState)));
     297          19 :             if ((!(RecvReleaseCompositable(mozilla::Move(compositable))))) {
     298           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
     299             :                 // Error handled in mozilla::ipc::IPCResult
     300           0 :                 return MsgProcessingError;
     301             :             }
     302             : 
     303          19 :             return MsgProcessed;
     304             :         }
     305             :     case PLayerTransaction::Msg_SetConfirmedTargetAPZC__ID:
     306             :         {
     307           0 :             if (mozilla::ipc::LoggingEnabledFor("PLayerTransactionParent")) {
     308           0 :                 mozilla::ipc::LogMessageForProtocol("PLayerTransactionParent", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
     309             :             }
     310           0 :             AUTO_PROFILER_LABEL("PLayerTransaction::Msg_SetConfirmedTargetAPZC", OTHER);
     311             : 
     312           0 :             PickleIterator iter__(msg__);
     313             :             uint64_t aInputBlockId;
     314           0 :             nsTArray<ScrollableLayerGuid> aTargets;
     315             : 
     316           0 :             if ((!(Read((&(aInputBlockId)), (&(msg__)), (&(iter__)))))) {
     317           0 :                 FatalError("Error deserializing 'uint64_t'");
     318           0 :                 return MsgValueError;
     319             :             }
     320             :             // Sentinel = 'aInputBlockId'
     321           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 3003300100)))) {
     322           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'");
     323           0 :                 return MsgValueError;
     324             :             }
     325           0 :             if ((!(Read((&(aTargets)), (&(msg__)), (&(iter__)))))) {
     326           0 :                 FatalError("Error deserializing 'nsTArray'");
     327           0 :                 return MsgValueError;
     328             :             }
     329             :             // Sentinel = 'aTargets'
     330           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 1782943901)))) {
     331           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'nsTArray'");
     332           0 :                 return MsgValueError;
     333             :             }
     334           0 :             (msg__).EndRead(iter__, (msg__).type());
     335           0 :             PLayerTransaction::Transition(PLayerTransaction::Msg_SetConfirmedTargetAPZC__ID, (&(mState)));
     336           0 :             if ((!(RecvSetConfirmedTargetAPZC(mozilla::Move(aInputBlockId), mozilla::Move(aTargets))))) {
     337           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
     338             :                 // Error handled in mozilla::ipc::IPCResult
     339           0 :                 return MsgProcessingError;
     340             :             }
     341             : 
     342           0 :             return MsgProcessed;
     343             :         }
     344             :     case PLayerTransaction::Msg_FlushApzRepaints__ID:
     345             :         {
     346           0 :             if (mozilla::ipc::LoggingEnabledFor("PLayerTransactionParent")) {
     347           0 :                 mozilla::ipc::LogMessageForProtocol("PLayerTransactionParent", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
     348             :             }
     349           0 :             AUTO_PROFILER_LABEL("PLayerTransaction::Msg_FlushApzRepaints", OTHER);
     350             : 
     351           0 :             PLayerTransaction::Transition(PLayerTransaction::Msg_FlushApzRepaints__ID, (&(mState)));
     352           0 :             if ((!(RecvFlushApzRepaints()))) {
     353           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
     354             :                 // Error handled in mozilla::ipc::IPCResult
     355           0 :                 return MsgProcessingError;
     356             :             }
     357             : 
     358           0 :             return MsgProcessed;
     359             :         }
     360             :     case PLayerTransaction::Msg_ClearCachedResources__ID:
     361             :         {
     362           0 :             if (mozilla::ipc::LoggingEnabledFor("PLayerTransactionParent")) {
     363           0 :                 mozilla::ipc::LogMessageForProtocol("PLayerTransactionParent", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
     364             :             }
     365           0 :             AUTO_PROFILER_LABEL("PLayerTransaction::Msg_ClearCachedResources", OTHER);
     366             : 
     367           0 :             PLayerTransaction::Transition(PLayerTransaction::Msg_ClearCachedResources__ID, (&(mState)));
     368           0 :             if ((!(RecvClearCachedResources()))) {
     369           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
     370             :                 // Error handled in mozilla::ipc::IPCResult
     371           0 :                 return MsgProcessingError;
     372             :             }
     373             : 
     374           0 :             return MsgProcessed;
     375             :         }
     376             :     case PLayerTransaction::Msg_ForceComposite__ID:
     377             :         {
     378           0 :             if (mozilla::ipc::LoggingEnabledFor("PLayerTransactionParent")) {
     379           0 :                 mozilla::ipc::LogMessageForProtocol("PLayerTransactionParent", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
     380             :             }
     381           0 :             AUTO_PROFILER_LABEL("PLayerTransaction::Msg_ForceComposite", OTHER);
     382             : 
     383           0 :             PLayerTransaction::Transition(PLayerTransaction::Msg_ForceComposite__ID, (&(mState)));
     384           0 :             if ((!(RecvForceComposite()))) {
     385           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
     386             :                 // Error handled in mozilla::ipc::IPCResult
     387           0 :                 return MsgProcessingError;
     388             :             }
     389             : 
     390           0 :             return MsgProcessed;
     391             :         }
     392             :     case PLayerTransaction::Msg_RecordPaintTimes__ID:
     393             :         {
     394           0 :             if (mozilla::ipc::LoggingEnabledFor("PLayerTransactionParent")) {
     395           0 :                 mozilla::ipc::LogMessageForProtocol("PLayerTransactionParent", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
     396             :             }
     397           0 :             AUTO_PROFILER_LABEL("PLayerTransaction::Msg_RecordPaintTimes", OTHER);
     398             : 
     399           0 :             PickleIterator iter__(msg__);
     400           0 :             PaintTiming timing;
     401             : 
     402           0 :             if ((!(Read((&(timing)), (&(msg__)), (&(iter__)))))) {
     403           0 :                 FatalError("Error deserializing 'PaintTiming'");
     404           0 :                 return MsgValueError;
     405             :             }
     406             :             // Sentinel = 'timing'
     407           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 3852786776)))) {
     408           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'PaintTiming'");
     409           0 :                 return MsgValueError;
     410             :             }
     411           0 :             (msg__).EndRead(iter__, (msg__).type());
     412           0 :             PLayerTransaction::Transition(PLayerTransaction::Msg_RecordPaintTimes__ID, (&(mState)));
     413           0 :             if ((!(RecvRecordPaintTimes(mozilla::Move(timing))))) {
     414           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
     415             :                 // Error handled in mozilla::ipc::IPCResult
     416           0 :                 return MsgProcessingError;
     417             :             }
     418             : 
     419           0 :             return MsgProcessed;
     420             :         }
     421             :     case PLayerTransaction::Msg_Shutdown__ID:
     422             :         {
     423           0 :             if (mozilla::ipc::LoggingEnabledFor("PLayerTransactionParent")) {
     424           0 :                 mozilla::ipc::LogMessageForProtocol("PLayerTransactionParent", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
     425             :             }
     426           0 :             AUTO_PROFILER_LABEL("PLayerTransaction::Msg_Shutdown", OTHER);
     427             : 
     428           0 :             PLayerTransaction::Transition(PLayerTransaction::Msg_Shutdown__ID, (&(mState)));
     429           0 :             if ((!(RecvShutdown()))) {
     430           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
     431             :                 // Error handled in mozilla::ipc::IPCResult
     432           0 :                 return MsgProcessingError;
     433             :             }
     434             : 
     435           0 :             return MsgProcessed;
     436             :         }
     437             :     case PLayerTransaction::Reply___delete____ID:
     438             :         {
     439           0 :             return MsgProcessed;
     440             :         }
     441             :     default:
     442             :         {
     443           0 :             return MsgNotKnown;
     444             :         }
     445             :     }
     446             : }
     447             : 
     448           1 : auto PLayerTransactionParent::OnMessageReceived(
     449             :         const Message& msg__,
     450             :         Message*& reply__) -> PLayerTransactionParent::Result
     451             : {
     452           1 :     switch ((msg__).type()) {
     453             :     case PLayerTransaction::Msg_SetTestSampleTime__ID:
     454             :         {
     455           0 :             if (mozilla::ipc::LoggingEnabledFor("PLayerTransactionParent")) {
     456           0 :                 mozilla::ipc::LogMessageForProtocol("PLayerTransactionParent", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
     457             :             }
     458           0 :             AUTO_PROFILER_LABEL("PLayerTransaction::Msg_SetTestSampleTime", OTHER);
     459             : 
     460           0 :             PickleIterator iter__(msg__);
     461           0 :             TimeStamp sampleTime;
     462             : 
     463           0 :             if ((!(Read((&(sampleTime)), (&(msg__)), (&(iter__)))))) {
     464           0 :                 FatalError("Error deserializing 'TimeStamp'");
     465           0 :                 return MsgValueError;
     466             :             }
     467             :             // Sentinel = 'sampleTime'
     468           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2958171755)))) {
     469           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'TimeStamp'");
     470           0 :                 return MsgValueError;
     471             :             }
     472           0 :             (msg__).EndRead(iter__, (msg__).type());
     473           0 :             PLayerTransaction::Transition(PLayerTransaction::Msg_SetTestSampleTime__ID, (&(mState)));
     474           0 :             int32_t id__ = Id();
     475           0 :             if ((!(RecvSetTestSampleTime(mozilla::Move(sampleTime))))) {
     476           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
     477             :                 // Error handled in mozilla::ipc::IPCResult
     478           0 :                 return MsgProcessingError;
     479             :             }
     480             : 
     481           0 :             reply__ = PLayerTransaction::Reply_SetTestSampleTime(id__);
     482             : 
     483           0 :             (reply__)->set_sync();
     484           0 :             (reply__)->set_reply();
     485             : 
     486           0 :             if (mozilla::ipc::LoggingEnabledFor("PLayerTransactionParent")) {
     487           0 :                 mozilla::ipc::LogMessageForProtocol("PLayerTransactionParent", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending);
     488             :             }
     489           0 :             return MsgProcessed;
     490             :         }
     491             :     case PLayerTransaction::Msg_LeaveTestMode__ID:
     492             :         {
     493           0 :             if (mozilla::ipc::LoggingEnabledFor("PLayerTransactionParent")) {
     494           0 :                 mozilla::ipc::LogMessageForProtocol("PLayerTransactionParent", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
     495             :             }
     496           0 :             AUTO_PROFILER_LABEL("PLayerTransaction::Msg_LeaveTestMode", OTHER);
     497             : 
     498           0 :             PLayerTransaction::Transition(PLayerTransaction::Msg_LeaveTestMode__ID, (&(mState)));
     499           0 :             int32_t id__ = Id();
     500           0 :             if ((!(RecvLeaveTestMode()))) {
     501           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
     502             :                 // Error handled in mozilla::ipc::IPCResult
     503           0 :                 return MsgProcessingError;
     504             :             }
     505             : 
     506           0 :             reply__ = PLayerTransaction::Reply_LeaveTestMode(id__);
     507             : 
     508           0 :             (reply__)->set_sync();
     509           0 :             (reply__)->set_reply();
     510             : 
     511           0 :             if (mozilla::ipc::LoggingEnabledFor("PLayerTransactionParent")) {
     512           0 :                 mozilla::ipc::LogMessageForProtocol("PLayerTransactionParent", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending);
     513             :             }
     514           0 :             return MsgProcessed;
     515             :         }
     516             :     case PLayerTransaction::Msg_GetAnimationOpacity__ID:
     517             :         {
     518           0 :             if (mozilla::ipc::LoggingEnabledFor("PLayerTransactionParent")) {
     519           0 :                 mozilla::ipc::LogMessageForProtocol("PLayerTransactionParent", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
     520             :             }
     521           0 :             AUTO_PROFILER_LABEL("PLayerTransaction::Msg_GetAnimationOpacity", OTHER);
     522             : 
     523           0 :             PickleIterator iter__(msg__);
     524             :             uint64_t aCompositorAnimationsId;
     525             : 
     526           0 :             if ((!(Read((&(aCompositorAnimationsId)), (&(msg__)), (&(iter__)))))) {
     527           0 :                 FatalError("Error deserializing 'uint64_t'");
     528           0 :                 return MsgValueError;
     529             :             }
     530             :             // Sentinel = 'aCompositorAnimationsId'
     531           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 3630778879)))) {
     532           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'");
     533           0 :                 return MsgValueError;
     534             :             }
     535           0 :             (msg__).EndRead(iter__, (msg__).type());
     536           0 :             PLayerTransaction::Transition(PLayerTransaction::Msg_GetAnimationOpacity__ID, (&(mState)));
     537           0 :             int32_t id__ = Id();
     538             :             float opacity;
     539             :             bool hasAnimationOpacity;
     540           0 :             if ((!(RecvGetAnimationOpacity(mozilla::Move(aCompositorAnimationsId), (&(opacity)), (&(hasAnimationOpacity)))))) {
     541           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
     542             :                 // Error handled in mozilla::ipc::IPCResult
     543           0 :                 return MsgProcessingError;
     544             :             }
     545             : 
     546           0 :             reply__ = PLayerTransaction::Reply_GetAnimationOpacity(id__);
     547             : 
     548           0 :             Write(opacity, reply__);
     549             :             // Sentinel = 'opacity'
     550           0 :             (reply__)->WriteSentinel(3006582720);
     551           0 :             Write(hasAnimationOpacity, reply__);
     552             :             // Sentinel = 'hasAnimationOpacity'
     553           0 :             (reply__)->WriteSentinel(738927542);
     554           0 :             (reply__)->set_sync();
     555           0 :             (reply__)->set_reply();
     556             : 
     557           0 :             if (mozilla::ipc::LoggingEnabledFor("PLayerTransactionParent")) {
     558           0 :                 mozilla::ipc::LogMessageForProtocol("PLayerTransactionParent", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending);
     559             :             }
     560           0 :             return MsgProcessed;
     561             :         }
     562             :     case PLayerTransaction::Msg_GetAnimationTransform__ID:
     563             :         {
     564           0 :             if (mozilla::ipc::LoggingEnabledFor("PLayerTransactionParent")) {
     565           0 :                 mozilla::ipc::LogMessageForProtocol("PLayerTransactionParent", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
     566             :             }
     567           0 :             AUTO_PROFILER_LABEL("PLayerTransaction::Msg_GetAnimationTransform", OTHER);
     568             : 
     569           0 :             PickleIterator iter__(msg__);
     570             :             uint64_t aCompositorAnimationId;
     571             : 
     572           0 :             if ((!(Read((&(aCompositorAnimationId)), (&(msg__)), (&(iter__)))))) {
     573           0 :                 FatalError("Error deserializing 'uint64_t'");
     574           0 :                 return MsgValueError;
     575             :             }
     576             :             // Sentinel = 'aCompositorAnimationId'
     577           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2017409677)))) {
     578           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'");
     579           0 :                 return MsgValueError;
     580             :             }
     581           0 :             (msg__).EndRead(iter__, (msg__).type());
     582           0 :             PLayerTransaction::Transition(PLayerTransaction::Msg_GetAnimationTransform__ID, (&(mState)));
     583           0 :             int32_t id__ = Id();
     584           0 :             MaybeTransform transform;
     585           0 :             if ((!(RecvGetAnimationTransform(mozilla::Move(aCompositorAnimationId), (&(transform)))))) {
     586           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
     587             :                 // Error handled in mozilla::ipc::IPCResult
     588           0 :                 return MsgProcessingError;
     589             :             }
     590             : 
     591           0 :             reply__ = PLayerTransaction::Reply_GetAnimationTransform(id__);
     592             : 
     593           0 :             Write(transform, reply__);
     594             :             // Sentinel = 'transform'
     595           0 :             (reply__)->WriteSentinel(69691181);
     596           0 :             (reply__)->set_sync();
     597           0 :             (reply__)->set_reply();
     598             : 
     599           0 :             if (mozilla::ipc::LoggingEnabledFor("PLayerTransactionParent")) {
     600           0 :                 mozilla::ipc::LogMessageForProtocol("PLayerTransactionParent", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending);
     601             :             }
     602           0 :             return MsgProcessed;
     603             :         }
     604             :     case PLayerTransaction::Msg_SetAsyncScrollOffset__ID:
     605             :         {
     606           0 :             if (mozilla::ipc::LoggingEnabledFor("PLayerTransactionParent")) {
     607           0 :                 mozilla::ipc::LogMessageForProtocol("PLayerTransactionParent", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
     608             :             }
     609           0 :             AUTO_PROFILER_LABEL("PLayerTransaction::Msg_SetAsyncScrollOffset", OTHER);
     610             : 
     611           0 :             PickleIterator iter__(msg__);
     612             :             ViewID id;
     613             :             float x;
     614             :             float y;
     615             : 
     616           0 :             if ((!(Read((&(id)), (&(msg__)), (&(iter__)))))) {
     617           0 :                 FatalError("Error deserializing 'ViewID'");
     618           0 :                 return MsgValueError;
     619             :             }
     620             :             // Sentinel = 'id'
     621           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2794505629)))) {
     622           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'ViewID'");
     623           0 :                 return MsgValueError;
     624             :             }
     625           0 :             if ((!(Read((&(x)), (&(msg__)), (&(iter__)))))) {
     626           0 :                 FatalError("Error deserializing 'float'");
     627           0 :                 return MsgValueError;
     628             :             }
     629             :             // Sentinel = 'x'
     630           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2475144313)))) {
     631           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'float'");
     632           0 :                 return MsgValueError;
     633             :             }
     634           0 :             if ((!(Read((&(y)), (&(msg__)), (&(iter__)))))) {
     635           0 :                 FatalError("Error deserializing 'float'");
     636           0 :                 return MsgValueError;
     637             :             }
     638             :             // Sentinel = 'y'
     639           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2603144696)))) {
     640           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'float'");
     641           0 :                 return MsgValueError;
     642             :             }
     643           0 :             (msg__).EndRead(iter__, (msg__).type());
     644           0 :             PLayerTransaction::Transition(PLayerTransaction::Msg_SetAsyncScrollOffset__ID, (&(mState)));
     645           0 :             int32_t id__ = Id();
     646           0 :             if ((!(RecvSetAsyncScrollOffset(mozilla::Move(id), mozilla::Move(x), mozilla::Move(y))))) {
     647           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
     648             :                 // Error handled in mozilla::ipc::IPCResult
     649           0 :                 return MsgProcessingError;
     650             :             }
     651             : 
     652           0 :             reply__ = PLayerTransaction::Reply_SetAsyncScrollOffset(id__);
     653             : 
     654           0 :             (reply__)->set_sync();
     655           0 :             (reply__)->set_reply();
     656             : 
     657           0 :             if (mozilla::ipc::LoggingEnabledFor("PLayerTransactionParent")) {
     658           0 :                 mozilla::ipc::LogMessageForProtocol("PLayerTransactionParent", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending);
     659             :             }
     660           0 :             return MsgProcessed;
     661             :         }
     662             :     case PLayerTransaction::Msg_SetAsyncZoom__ID:
     663             :         {
     664           0 :             if (mozilla::ipc::LoggingEnabledFor("PLayerTransactionParent")) {
     665           0 :                 mozilla::ipc::LogMessageForProtocol("PLayerTransactionParent", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
     666             :             }
     667           0 :             AUTO_PROFILER_LABEL("PLayerTransaction::Msg_SetAsyncZoom", OTHER);
     668             : 
     669           0 :             PickleIterator iter__(msg__);
     670             :             ViewID id;
     671             :             float zoom;
     672             : 
     673           0 :             if ((!(Read((&(id)), (&(msg__)), (&(iter__)))))) {
     674           0 :                 FatalError("Error deserializing 'ViewID'");
     675           0 :                 return MsgValueError;
     676             :             }
     677             :             // Sentinel = 'id'
     678           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2794505629)))) {
     679           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'ViewID'");
     680           0 :                 return MsgValueError;
     681             :             }
     682           0 :             if ((!(Read((&(zoom)), (&(msg__)), (&(iter__)))))) {
     683           0 :                 FatalError("Error deserializing 'float'");
     684           0 :                 return MsgValueError;
     685             :             }
     686             :             // Sentinel = 'zoom'
     687           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 1680696941)))) {
     688           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'float'");
     689           0 :                 return MsgValueError;
     690             :             }
     691           0 :             (msg__).EndRead(iter__, (msg__).type());
     692           0 :             PLayerTransaction::Transition(PLayerTransaction::Msg_SetAsyncZoom__ID, (&(mState)));
     693           0 :             int32_t id__ = Id();
     694           0 :             if ((!(RecvSetAsyncZoom(mozilla::Move(id), mozilla::Move(zoom))))) {
     695           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
     696             :                 // Error handled in mozilla::ipc::IPCResult
     697           0 :                 return MsgProcessingError;
     698             :             }
     699             : 
     700           0 :             reply__ = PLayerTransaction::Reply_SetAsyncZoom(id__);
     701             : 
     702           0 :             (reply__)->set_sync();
     703           0 :             (reply__)->set_reply();
     704             : 
     705           0 :             if (mozilla::ipc::LoggingEnabledFor("PLayerTransactionParent")) {
     706           0 :                 mozilla::ipc::LogMessageForProtocol("PLayerTransactionParent", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending);
     707             :             }
     708           0 :             return MsgProcessed;
     709             :         }
     710             :     case PLayerTransaction::Msg_GetAPZTestData__ID:
     711             :         {
     712           0 :             if (mozilla::ipc::LoggingEnabledFor("PLayerTransactionParent")) {
     713           0 :                 mozilla::ipc::LogMessageForProtocol("PLayerTransactionParent", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
     714             :             }
     715           0 :             AUTO_PROFILER_LABEL("PLayerTransaction::Msg_GetAPZTestData", OTHER);
     716             : 
     717           0 :             PLayerTransaction::Transition(PLayerTransaction::Msg_GetAPZTestData__ID, (&(mState)));
     718           0 :             int32_t id__ = Id();
     719           0 :             APZTestData data;
     720           0 :             if ((!(RecvGetAPZTestData((&(data)))))) {
     721           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
     722             :                 // Error handled in mozilla::ipc::IPCResult
     723           0 :                 return MsgProcessingError;
     724             :             }
     725             : 
     726           0 :             reply__ = PLayerTransaction::Reply_GetAPZTestData(id__);
     727             : 
     728           0 :             Write(data, reply__);
     729             :             // Sentinel = 'data'
     730           0 :             (reply__)->WriteSentinel(843352540);
     731           0 :             (reply__)->set_sync();
     732           0 :             (reply__)->set_reply();
     733             : 
     734           0 :             if (mozilla::ipc::LoggingEnabledFor("PLayerTransactionParent")) {
     735           0 :                 mozilla::ipc::LogMessageForProtocol("PLayerTransactionParent", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending);
     736             :             }
     737           0 :             return MsgProcessed;
     738             :         }
     739             :     case PLayerTransaction::Msg_RequestProperty__ID:
     740             :         {
     741           0 :             if (mozilla::ipc::LoggingEnabledFor("PLayerTransactionParent")) {
     742           0 :                 mozilla::ipc::LogMessageForProtocol("PLayerTransactionParent", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
     743             :             }
     744           0 :             AUTO_PROFILER_LABEL("PLayerTransaction::Msg_RequestProperty", OTHER);
     745             : 
     746           0 :             PickleIterator iter__(msg__);
     747           0 :             nsString property;
     748             : 
     749           0 :             if ((!(Read((&(property)), (&(msg__)), (&(iter__)))))) {
     750           0 :                 FatalError("Error deserializing 'nsString'");
     751           0 :                 return MsgValueError;
     752             :             }
     753             :             // Sentinel = 'property'
     754           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 1482237307)))) {
     755           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'nsString'");
     756           0 :                 return MsgValueError;
     757             :             }
     758           0 :             (msg__).EndRead(iter__, (msg__).type());
     759           0 :             PLayerTransaction::Transition(PLayerTransaction::Msg_RequestProperty__ID, (&(mState)));
     760           0 :             int32_t id__ = Id();
     761             :             float value;
     762           0 :             if ((!(RecvRequestProperty(mozilla::Move(property), (&(value)))))) {
     763           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
     764             :                 // Error handled in mozilla::ipc::IPCResult
     765           0 :                 return MsgProcessingError;
     766             :             }
     767             : 
     768           0 :             reply__ = PLayerTransaction::Reply_RequestProperty(id__);
     769             : 
     770           0 :             Write(value, reply__);
     771             :             // Sentinel = 'value'
     772           0 :             (reply__)->WriteSentinel(3456818542);
     773           0 :             (reply__)->set_sync();
     774           0 :             (reply__)->set_reply();
     775             : 
     776           0 :             if (mozilla::ipc::LoggingEnabledFor("PLayerTransactionParent")) {
     777           0 :                 mozilla::ipc::LogMessageForProtocol("PLayerTransactionParent", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending);
     778             :             }
     779           0 :             return MsgProcessed;
     780             :         }
     781             :     case PLayerTransaction::Msg_GetTextureFactoryIdentifier__ID:
     782             :         {
     783           1 :             if (mozilla::ipc::LoggingEnabledFor("PLayerTransactionParent")) {
     784           0 :                 mozilla::ipc::LogMessageForProtocol("PLayerTransactionParent", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
     785             :             }
     786           2 :             AUTO_PROFILER_LABEL("PLayerTransaction::Msg_GetTextureFactoryIdentifier", OTHER);
     787             : 
     788           1 :             PLayerTransaction::Transition(PLayerTransaction::Msg_GetTextureFactoryIdentifier__ID, (&(mState)));
     789           1 :             int32_t id__ = Id();
     790           1 :             TextureFactoryIdentifier aIdentifier;
     791           1 :             if ((!(RecvGetTextureFactoryIdentifier((&(aIdentifier)))))) {
     792           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
     793             :                 // Error handled in mozilla::ipc::IPCResult
     794           0 :                 return MsgProcessingError;
     795             :             }
     796             : 
     797           1 :             reply__ = PLayerTransaction::Reply_GetTextureFactoryIdentifier(id__);
     798             : 
     799           1 :             Write(aIdentifier, reply__);
     800             :             // Sentinel = 'aIdentifier'
     801           1 :             (reply__)->WriteSentinel(3975378435);
     802           1 :             (reply__)->set_sync();
     803           1 :             (reply__)->set_reply();
     804             : 
     805           1 :             if (mozilla::ipc::LoggingEnabledFor("PLayerTransactionParent")) {
     806           0 :                 mozilla::ipc::LogMessageForProtocol("PLayerTransactionParent", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending);
     807             :             }
     808           1 :             return MsgProcessed;
     809             :         }
     810             :     case PLayerTransaction::Msg_ShutdownSync__ID:
     811             :         {
     812           0 :             if (mozilla::ipc::LoggingEnabledFor("PLayerTransactionParent")) {
     813           0 :                 mozilla::ipc::LogMessageForProtocol("PLayerTransactionParent", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
     814             :             }
     815           0 :             AUTO_PROFILER_LABEL("PLayerTransaction::Msg_ShutdownSync", OTHER);
     816             : 
     817           0 :             PLayerTransaction::Transition(PLayerTransaction::Msg_ShutdownSync__ID, (&(mState)));
     818           0 :             int32_t id__ = Id();
     819           0 :             if ((!(RecvShutdownSync()))) {
     820           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
     821             :                 // Error handled in mozilla::ipc::IPCResult
     822           0 :                 return MsgProcessingError;
     823             :             }
     824             : 
     825           0 :             reply__ = PLayerTransaction::Reply_ShutdownSync(id__);
     826             : 
     827           0 :             (reply__)->set_sync();
     828           0 :             (reply__)->set_reply();
     829             : 
     830           0 :             if (mozilla::ipc::LoggingEnabledFor("PLayerTransactionParent")) {
     831           0 :                 mozilla::ipc::LogMessageForProtocol("PLayerTransactionParent", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending);
     832             :             }
     833           0 :             return MsgProcessed;
     834             :         }
     835             :     default:
     836             :         {
     837           0 :             return MsgNotKnown;
     838             :         }
     839             :     }
     840             : }
     841             : 
     842           0 : auto PLayerTransactionParent::OnCallReceived(
     843             :         const Message& msg__,
     844             :         Message*& reply__) -> PLayerTransactionParent::Result
     845             : {
     846           0 :     MOZ_ASSERT_UNREACHABLE("message protocol not supported");
     847             :     return MsgNotKnown;
     848             : }
     849             : 
     850           0 : auto PLayerTransactionParent::GetProtocolTypeId() -> int32_t
     851             : {
     852           0 :     return PLayerTransactionMsgStart;
     853             : }
     854             : 
     855           0 : auto PLayerTransactionParent::ProtocolName() const -> const char*
     856             : {
     857           0 :     return "PLayerTransactionParent";
     858             : }
     859             : 
     860           0 : auto PLayerTransactionParent::DestroySubtree(ActorDestroyReason why) -> void
     861             : {
     862             :     // Unregister from our manager.
     863           0 :     Unregister(Id());
     864             : 
     865             :     // Reject owning pending promises.
     866           0 :     (GetIPCChannel())->RejectPendingPromisesForActor(this);
     867             : 
     868             :     // Finally, destroy "us".
     869           0 :     ActorDestroy(why);
     870           0 : }
     871             : 
     872           0 : auto PLayerTransactionParent::DeallocSubtree() -> void
     873             : {
     874           0 : }
     875             : 
     876           0 : auto PLayerTransactionParent::Write(
     877             :         const CubicBezierFunction& v__,
     878             :         Message* msg__) -> void
     879             : {
     880           0 :     Write((v__).x1(), msg__);
     881             :     // Sentinel = 'x1'
     882           0 :     (msg__)->WriteSentinel(739453787);
     883           0 :     Write((v__).y1(), msg__);
     884             :     // Sentinel = 'y1'
     885           0 :     (msg__)->WriteSentinel(2893099544);
     886           0 :     Write((v__).x2(), msg__);
     887             :     // Sentinel = 'x2'
     888           0 :     (msg__)->WriteSentinel(739453784);
     889           0 :     Write((v__).y2(), msg__);
     890             :     // Sentinel = 'y2'
     891           0 :     (msg__)->WriteSentinel(2893099547);
     892           0 : }
     893             : 
     894           0 : auto PLayerTransactionParent::Read(
     895             :         CubicBezierFunction* v__,
     896             :         const Message* msg__,
     897             :         PickleIterator* iter__) -> bool
     898             : {
     899           0 :     if ((!(Read((&((v__)->x1())), msg__, iter__)))) {
     900           0 :         FatalError("Error deserializing 'x1' (float) member of 'CubicBezierFunction'");
     901           0 :         return false;
     902             :     }
     903             :     // Sentinel = 'x1'
     904           0 :     if ((!((msg__)->ReadSentinel(iter__, 739453787)))) {
     905           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'x1' (float) member of 'CubicBezierFunction'");
     906           0 :         return false;
     907             :     }
     908           0 :     if ((!(Read((&((v__)->y1())), msg__, iter__)))) {
     909           0 :         FatalError("Error deserializing 'y1' (float) member of 'CubicBezierFunction'");
     910           0 :         return false;
     911             :     }
     912             :     // Sentinel = 'y1'
     913           0 :     if ((!((msg__)->ReadSentinel(iter__, 2893099544)))) {
     914           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'y1' (float) member of 'CubicBezierFunction'");
     915           0 :         return false;
     916             :     }
     917           0 :     if ((!(Read((&((v__)->x2())), msg__, iter__)))) {
     918           0 :         FatalError("Error deserializing 'x2' (float) member of 'CubicBezierFunction'");
     919           0 :         return false;
     920             :     }
     921             :     // Sentinel = 'x2'
     922           0 :     if ((!((msg__)->ReadSentinel(iter__, 739453784)))) {
     923           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'x2' (float) member of 'CubicBezierFunction'");
     924           0 :         return false;
     925             :     }
     926           0 :     if ((!(Read((&((v__)->y2())), msg__, iter__)))) {
     927           0 :         FatalError("Error deserializing 'y2' (float) member of 'CubicBezierFunction'");
     928           0 :         return false;
     929             :     }
     930             :     // Sentinel = 'y2'
     931           0 :     if ((!((msg__)->ReadSentinel(iter__, 2893099547)))) {
     932           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'y2' (float) member of 'CubicBezierFunction'");
     933           0 :         return false;
     934             :     }
     935           0 :     return true;
     936             : }
     937             : 
     938           0 : auto PLayerTransactionParent::Write(
     939             :         const OpDestroy& v__,
     940             :         Message* msg__) -> void
     941             : {
     942             :     typedef OpDestroy type__;
     943           0 :     Write(int((v__).type()), msg__);
     944             :     // Sentinel = 'OpDestroy'
     945           0 :     (msg__)->WriteSentinel(3796861956);
     946             : 
     947           0 :     switch ((v__).type()) {
     948             :     case type__::TPTextureParent:
     949             :         {
     950           0 :             Write((v__).get_PTextureParent(), msg__, false);
     951             :             // Sentinel = 'TPTextureParent'
     952           0 :             (msg__)->WriteSentinel(896696938);
     953           0 :             return;
     954             :         }
     955             :     case type__::TPTextureChild:
     956             :         {
     957           0 :             FatalError("wrong side!");
     958           0 :             return;
     959             :         }
     960             :     case type__::TCompositableHandle:
     961             :         {
     962           0 :             Write((v__).get_CompositableHandle(), msg__);
     963             :             // Sentinel = 'TCompositableHandle'
     964           0 :             (msg__)->WriteSentinel(4258010777);
     965           0 :             return;
     966             :         }
     967             :     default:
     968             :         {
     969           0 :             FatalError("unknown union type");
     970           0 :             return;
     971             :         }
     972             :     }
     973             : }
     974             : 
     975           2 : auto PLayerTransactionParent::Read(
     976             :         OpDestroy* v__,
     977             :         const Message* msg__,
     978             :         PickleIterator* iter__) -> bool
     979             : {
     980             :     typedef OpDestroy type__;
     981             :     int type;
     982           2 :     if ((!(Read((&(type)), msg__, iter__)))) {
     983           0 :         mozilla::ipc::UnionTypeReadError("OpDestroy");
     984           0 :         return false;
     985             :     }
     986             :     // Sentinel = 'OpDestroy'
     987           2 :     if ((!((msg__)->ReadSentinel(iter__, 3796861956)))) {
     988           0 :         mozilla::ipc::SentinelReadError("OpDestroy");
     989           0 :         return false;
     990             :     }
     991             : 
     992           2 :     switch (type) {
     993             :     case type__::TPTextureParent:
     994             :         {
     995           0 :             return false;
     996             :         }
     997             :     case type__::TPTextureChild:
     998             :         {
     999           2 :             PTextureParent* tmp = nullptr;
    1000           2 :             (*(v__)) = tmp;
    1001           2 :             if ((!(Read((&((v__)->get_PTextureParent())), msg__, iter__, false)))) {
    1002           0 :                 FatalError("Error deserializing Union type");
    1003           0 :                 return false;
    1004             :             }
    1005             :             // Sentinel = 'TPTextureChild'
    1006           2 :             if ((!((msg__)->ReadSentinel(iter__, 3251900187)))) {
    1007           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    1008           0 :                 return false;
    1009             :             }
    1010           2 :             return true;
    1011             :         }
    1012             :     case type__::TCompositableHandle:
    1013             :         {
    1014           0 :             CompositableHandle tmp = CompositableHandle();
    1015           0 :             (*(v__)) = tmp;
    1016           0 :             if ((!(Read((&((v__)->get_CompositableHandle())), msg__, iter__)))) {
    1017           0 :                 FatalError("Error deserializing Union type");
    1018           0 :                 return false;
    1019             :             }
    1020             :             // Sentinel = 'TCompositableHandle'
    1021           0 :             if ((!((msg__)->ReadSentinel(iter__, 4258010777)))) {
    1022           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    1023           0 :                 return false;
    1024             :             }
    1025           0 :             return true;
    1026             :         }
    1027             :     default:
    1028             :         {
    1029           0 :             FatalError("unknown union type");
    1030           0 :             return false;
    1031             :         }
    1032             :     }
    1033             : }
    1034             : 
    1035           0 : auto PLayerTransactionParent::Write(
    1036             :         const OpInsertAfter& v__,
    1037             :         Message* msg__) -> void
    1038             : {
    1039           0 :     Write((v__).container(), msg__);
    1040             :     // Sentinel = 'container'
    1041           0 :     (msg__)->WriteSentinel(613059236);
    1042           0 :     Write((v__).childLayer(), msg__);
    1043             :     // Sentinel = 'childLayer'
    1044           0 :     (msg__)->WriteSentinel(154398963);
    1045           0 :     Write((v__).after(), msg__);
    1046             :     // Sentinel = 'after'
    1047           0 :     (msg__)->WriteSentinel(3066110411);
    1048           0 : }
    1049             : 
    1050          23 : auto PLayerTransactionParent::Read(
    1051             :         OpInsertAfter* v__,
    1052             :         const Message* msg__,
    1053             :         PickleIterator* iter__) -> bool
    1054             : {
    1055          23 :     if ((!(Read((&((v__)->container())), msg__, iter__)))) {
    1056           0 :         FatalError("Error deserializing 'container' (LayerHandle) member of 'OpInsertAfter'");
    1057           0 :         return false;
    1058             :     }
    1059             :     // Sentinel = 'container'
    1060          23 :     if ((!((msg__)->ReadSentinel(iter__, 613059236)))) {
    1061           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'container' (LayerHandle) member of 'OpInsertAfter'");
    1062           0 :         return false;
    1063             :     }
    1064          23 :     if ((!(Read((&((v__)->childLayer())), msg__, iter__)))) {
    1065           0 :         FatalError("Error deserializing 'childLayer' (LayerHandle) member of 'OpInsertAfter'");
    1066           0 :         return false;
    1067             :     }
    1068             :     // Sentinel = 'childLayer'
    1069          23 :     if ((!((msg__)->ReadSentinel(iter__, 154398963)))) {
    1070           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'childLayer' (LayerHandle) member of 'OpInsertAfter'");
    1071           0 :         return false;
    1072             :     }
    1073          23 :     if ((!(Read((&((v__)->after())), msg__, iter__)))) {
    1074           0 :         FatalError("Error deserializing 'after' (LayerHandle) member of 'OpInsertAfter'");
    1075           0 :         return false;
    1076             :     }
    1077             :     // Sentinel = 'after'
    1078          23 :     if ((!((msg__)->ReadSentinel(iter__, 3066110411)))) {
    1079           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'after' (LayerHandle) member of 'OpInsertAfter'");
    1080           0 :         return false;
    1081             :     }
    1082          23 :     return true;
    1083             : }
    1084             : 
    1085           0 : auto PLayerTransactionParent::Write(
    1086             :         const TextLayerAttributes& v__,
    1087             :         Message* msg__) -> void
    1088             : {
    1089           0 :     Write((v__).bounds(), msg__);
    1090             :     // Sentinel = 'bounds'
    1091           0 :     (msg__)->WriteSentinel(809584493);
    1092           0 :     Write((v__).glyphs(), msg__);
    1093             :     // Sentinel = 'glyphs'
    1094           0 :     (msg__)->WriteSentinel(2497623611);
    1095           0 :     Write((v__).scaledFont(), msg__);
    1096             :     // Sentinel = 'scaledFont'
    1097           0 :     (msg__)->WriteSentinel(927858859);
    1098           0 : }
    1099             : 
    1100           0 : auto PLayerTransactionParent::Read(
    1101             :         TextLayerAttributes* v__,
    1102             :         const Message* msg__,
    1103             :         PickleIterator* iter__) -> bool
    1104             : {
    1105           0 :     if ((!(Read((&((v__)->bounds())), msg__, iter__)))) {
    1106           0 :         FatalError("Error deserializing 'bounds' (IntRect) member of 'TextLayerAttributes'");
    1107           0 :         return false;
    1108             :     }
    1109             :     // Sentinel = 'bounds'
    1110           0 :     if ((!((msg__)->ReadSentinel(iter__, 809584493)))) {
    1111           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'bounds' (IntRect) member of 'TextLayerAttributes'");
    1112           0 :         return false;
    1113             :     }
    1114           0 :     if ((!(Read((&((v__)->glyphs())), msg__, iter__)))) {
    1115           0 :         FatalError("Error deserializing 'glyphs' (GlyphArray[]) member of 'TextLayerAttributes'");
    1116           0 :         return false;
    1117             :     }
    1118             :     // Sentinel = 'glyphs'
    1119           0 :     if ((!((msg__)->ReadSentinel(iter__, 2497623611)))) {
    1120           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'glyphs' (GlyphArray[]) member of 'TextLayerAttributes'");
    1121           0 :         return false;
    1122             :     }
    1123           0 :     if ((!(Read((&((v__)->scaledFont())), msg__, iter__)))) {
    1124           0 :         FatalError("Error deserializing 'scaledFont' (uintptr_t) member of 'TextLayerAttributes'");
    1125           0 :         return false;
    1126             :     }
    1127             :     // Sentinel = 'scaledFont'
    1128           0 :     if ((!((msg__)->ReadSentinel(iter__, 927858859)))) {
    1129           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'scaledFont' (uintptr_t) member of 'TextLayerAttributes'");
    1130           0 :         return false;
    1131             :     }
    1132           0 :     return true;
    1133             : }
    1134             : 
    1135           0 : auto PLayerTransactionParent::Write(
    1136             :         const ShmemSection& v__,
    1137             :         Message* msg__) -> void
    1138             : {
    1139           0 :     Write((v__).shmem(), msg__);
    1140             :     // Sentinel = 'shmem'
    1141           0 :     (msg__)->WriteSentinel(4252604405);
    1142           0 :     Write((v__).offset(), msg__);
    1143             :     // Sentinel = 'offset'
    1144           0 :     (msg__)->WriteSentinel(1369947863);
    1145           0 :     Write((v__).size(), msg__);
    1146             :     // Sentinel = 'size'
    1147           0 :     (msg__)->WriteSentinel(931048223);
    1148           0 : }
    1149             : 
    1150           0 : auto PLayerTransactionParent::Read(
    1151             :         ShmemSection* v__,
    1152             :         const Message* msg__,
    1153             :         PickleIterator* iter__) -> bool
    1154             : {
    1155           0 :     if ((!(Read((&((v__)->shmem())), msg__, iter__)))) {
    1156           0 :         FatalError("Error deserializing 'shmem' (Shmem) member of 'ShmemSection'");
    1157           0 :         return false;
    1158             :     }
    1159             :     // Sentinel = 'shmem'
    1160           0 :     if ((!((msg__)->ReadSentinel(iter__, 4252604405)))) {
    1161           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'shmem' (Shmem) member of 'ShmemSection'");
    1162           0 :         return false;
    1163             :     }
    1164           0 :     if ((!(Read((&((v__)->offset())), msg__, iter__)))) {
    1165           0 :         FatalError("Error deserializing 'offset' (uint32_t) member of 'ShmemSection'");
    1166           0 :         return false;
    1167             :     }
    1168             :     // Sentinel = 'offset'
    1169           0 :     if ((!((msg__)->ReadSentinel(iter__, 1369947863)))) {
    1170           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'offset' (uint32_t) member of 'ShmemSection'");
    1171           0 :         return false;
    1172             :     }
    1173           0 :     if ((!(Read((&((v__)->size())), msg__, iter__)))) {
    1174           0 :         FatalError("Error deserializing 'size' (size_t) member of 'ShmemSection'");
    1175           0 :         return false;
    1176             :     }
    1177             :     // Sentinel = 'size'
    1178           0 :     if ((!((msg__)->ReadSentinel(iter__, 931048223)))) {
    1179           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'size' (size_t) member of 'ShmemSection'");
    1180           0 :         return false;
    1181             :     }
    1182           0 :     return true;
    1183             : }
    1184             : 
    1185           0 : auto PLayerTransactionParent::Write(
    1186             :         const PlaceholderTileDescriptor& v__,
    1187             :         Message* msg__) -> void
    1188             : {
    1189           0 : }
    1190             : 
    1191           0 : auto PLayerTransactionParent::Read(
    1192             :         PlaceholderTileDescriptor* v__,
    1193             :         const Message* msg__,
    1194             :         PickleIterator* iter__) -> bool
    1195             : {
    1196           0 :     return true;
    1197             : }
    1198             : 
    1199           0 : auto PLayerTransactionParent::Write(
    1200             :         const OpRepositionChild& v__,
    1201             :         Message* msg__) -> void
    1202             : {
    1203           0 :     Write((v__).container(), msg__);
    1204             :     // Sentinel = 'container'
    1205           0 :     (msg__)->WriteSentinel(613059236);
    1206           0 :     Write((v__).childLayer(), msg__);
    1207             :     // Sentinel = 'childLayer'
    1208           0 :     (msg__)->WriteSentinel(154398963);
    1209           0 :     Write((v__).after(), msg__);
    1210             :     // Sentinel = 'after'
    1211           0 :     (msg__)->WriteSentinel(3066110411);
    1212           0 : }
    1213             : 
    1214           0 : auto PLayerTransactionParent::Read(
    1215             :         OpRepositionChild* v__,
    1216             :         const Message* msg__,
    1217             :         PickleIterator* iter__) -> bool
    1218             : {
    1219           0 :     if ((!(Read((&((v__)->container())), msg__, iter__)))) {
    1220           0 :         FatalError("Error deserializing 'container' (LayerHandle) member of 'OpRepositionChild'");
    1221           0 :         return false;
    1222             :     }
    1223             :     // Sentinel = 'container'
    1224           0 :     if ((!((msg__)->ReadSentinel(iter__, 613059236)))) {
    1225           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'container' (LayerHandle) member of 'OpRepositionChild'");
    1226           0 :         return false;
    1227             :     }
    1228           0 :     if ((!(Read((&((v__)->childLayer())), msg__, iter__)))) {
    1229           0 :         FatalError("Error deserializing 'childLayer' (LayerHandle) member of 'OpRepositionChild'");
    1230           0 :         return false;
    1231             :     }
    1232             :     // Sentinel = 'childLayer'
    1233           0 :     if ((!((msg__)->ReadSentinel(iter__, 154398963)))) {
    1234           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'childLayer' (LayerHandle) member of 'OpRepositionChild'");
    1235           0 :         return false;
    1236             :     }
    1237           0 :     if ((!(Read((&((v__)->after())), msg__, iter__)))) {
    1238           0 :         FatalError("Error deserializing 'after' (LayerHandle) member of 'OpRepositionChild'");
    1239           0 :         return false;
    1240             :     }
    1241             :     // Sentinel = 'after'
    1242           0 :     if ((!((msg__)->ReadSentinel(iter__, 3066110411)))) {
    1243           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'after' (LayerHandle) member of 'OpRepositionChild'");
    1244           0 :         return false;
    1245             :     }
    1246           0 :     return true;
    1247             : }
    1248             : 
    1249           0 : auto PLayerTransactionParent::Write(
    1250             :         const Perspective& v__,
    1251             :         Message* msg__) -> void
    1252             : {
    1253           0 :     Write((v__).value(), msg__);
    1254             :     // Sentinel = 'value'
    1255           0 :     (msg__)->WriteSentinel(3456818542);
    1256           0 : }
    1257             : 
    1258           0 : auto PLayerTransactionParent::Read(
    1259             :         Perspective* v__,
    1260             :         const Message* msg__,
    1261             :         PickleIterator* iter__) -> bool
    1262             : {
    1263           0 :     if ((!(Read((&((v__)->value())), msg__, iter__)))) {
    1264           0 :         FatalError("Error deserializing 'value' (float) member of 'Perspective'");
    1265           0 :         return false;
    1266             :     }
    1267             :     // Sentinel = 'value'
    1268           0 :     if ((!((msg__)->ReadSentinel(iter__, 3456818542)))) {
    1269           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'value' (float) member of 'Perspective'");
    1270           0 :         return false;
    1271             :     }
    1272           0 :     return true;
    1273             : }
    1274             : 
    1275           0 : auto PLayerTransactionParent::Write(
    1276             :         const LayerAttributes& v__,
    1277             :         Message* msg__) -> void
    1278             : {
    1279           0 :     Write((v__).common(), msg__);
    1280             :     // Sentinel = 'common'
    1281           0 :     (msg__)->WriteSentinel(2459522165);
    1282           0 :     Write((v__).specific(), msg__);
    1283             :     // Sentinel = 'specific'
    1284           0 :     (msg__)->WriteSentinel(1386407536);
    1285           0 : }
    1286             : 
    1287         124 : auto PLayerTransactionParent::Read(
    1288             :         LayerAttributes* v__,
    1289             :         const Message* msg__,
    1290             :         PickleIterator* iter__) -> bool
    1291             : {
    1292         124 :     if ((!(Read((&((v__)->common())), msg__, iter__)))) {
    1293           0 :         FatalError("Error deserializing 'common' (CommonLayerAttributes) member of 'LayerAttributes'");
    1294           0 :         return false;
    1295             :     }
    1296             :     // Sentinel = 'common'
    1297         124 :     if ((!((msg__)->ReadSentinel(iter__, 2459522165)))) {
    1298           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'common' (CommonLayerAttributes) member of 'LayerAttributes'");
    1299           0 :         return false;
    1300             :     }
    1301         124 :     if ((!(Read((&((v__)->specific())), msg__, iter__)))) {
    1302           0 :         FatalError("Error deserializing 'specific' (SpecificLayerAttributes) member of 'LayerAttributes'");
    1303           0 :         return false;
    1304             :     }
    1305             :     // Sentinel = 'specific'
    1306         124 :     if ((!((msg__)->ReadSentinel(iter__, 1386407536)))) {
    1307           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'specific' (SpecificLayerAttributes) member of 'LayerAttributes'");
    1308           0 :         return false;
    1309             :     }
    1310         124 :     return true;
    1311             : }
    1312             : 
    1313           0 : auto PLayerTransactionParent::Write(
    1314             :         const TransformFunction& v__,
    1315             :         Message* msg__) -> void
    1316             : {
    1317             :     typedef TransformFunction type__;
    1318           0 :     Write(int((v__).type()), msg__);
    1319             :     // Sentinel = 'TransformFunction'
    1320           0 :     (msg__)->WriteSentinel(2553734589);
    1321             : 
    1322           0 :     switch ((v__).type()) {
    1323             :     case type__::TPerspective:
    1324             :         {
    1325           0 :             Write((v__).get_Perspective(), msg__);
    1326             :             // Sentinel = 'TPerspective'
    1327           0 :             (msg__)->WriteSentinel(536769614);
    1328           0 :             return;
    1329             :         }
    1330             :     case type__::TRotationX:
    1331             :         {
    1332           0 :             Write((v__).get_RotationX(), msg__);
    1333             :             // Sentinel = 'TRotationX'
    1334           0 :             (msg__)->WriteSentinel(3076537720);
    1335           0 :             return;
    1336             :         }
    1337             :     case type__::TRotationY:
    1338             :         {
    1339           0 :             Write((v__).get_RotationY(), msg__);
    1340             :             // Sentinel = 'TRotationY'
    1341           0 :             (msg__)->WriteSentinel(3076537721);
    1342           0 :             return;
    1343             :         }
    1344             :     case type__::TRotationZ:
    1345             :         {
    1346           0 :             Write((v__).get_RotationZ(), msg__);
    1347             :             // Sentinel = 'TRotationZ'
    1348           0 :             (msg__)->WriteSentinel(3076537722);
    1349           0 :             return;
    1350             :         }
    1351             :     case type__::TRotation:
    1352             :         {
    1353           0 :             Write((v__).get_Rotation(), msg__);
    1354             :             // Sentinel = 'TRotation'
    1355           0 :             (msg__)->WriteSentinel(204395655);
    1356           0 :             return;
    1357             :         }
    1358             :     case type__::TRotation3D:
    1359             :         {
    1360           0 :             Write((v__).get_Rotation3D(), msg__);
    1361             :             // Sentinel = 'TRotation3D'
    1362           0 :             (msg__)->WriteSentinel(1650945988);
    1363           0 :             return;
    1364             :         }
    1365             :     case type__::TScale:
    1366             :         {
    1367           0 :             Write((v__).get_Scale(), msg__);
    1368             :             // Sentinel = 'TScale'
    1369           0 :             (msg__)->WriteSentinel(4188009060);
    1370           0 :             return;
    1371             :         }
    1372             :     case type__::TSkew:
    1373             :         {
    1374           0 :             Write((v__).get_Skew(), msg__);
    1375             :             // Sentinel = 'TSkew'
    1376           0 :             (msg__)->WriteSentinel(398444919);
    1377           0 :             return;
    1378             :         }
    1379             :     case type__::TSkewX:
    1380             :         {
    1381           0 :             Write((v__).get_SkewX(), msg__);
    1382             :             // Sentinel = 'TSkewX'
    1383           0 :             (msg__)->WriteSentinel(1993284744);
    1384           0 :             return;
    1385             :         }
    1386             :     case type__::TSkewY:
    1387             :         {
    1388           0 :             Write((v__).get_SkewY(), msg__);
    1389             :             // Sentinel = 'TSkewY'
    1390           0 :             (msg__)->WriteSentinel(1993284745);
    1391           0 :             return;
    1392             :         }
    1393             :     case type__::TTranslation:
    1394             :         {
    1395           0 :             Write((v__).get_Translation(), msg__);
    1396             :             // Sentinel = 'TTranslation'
    1397           0 :             (msg__)->WriteSentinel(2021428737);
    1398           0 :             return;
    1399             :         }
    1400             :     case type__::TTransformMatrix:
    1401             :         {
    1402           0 :             Write((v__).get_TransformMatrix(), msg__);
    1403             :             // Sentinel = 'TTransformMatrix'
    1404           0 :             (msg__)->WriteSentinel(2585816443);
    1405           0 :             return;
    1406             :         }
    1407             :     default:
    1408             :         {
    1409           0 :             FatalError("unknown union type");
    1410           0 :             return;
    1411             :         }
    1412             :     }
    1413             : }
    1414             : 
    1415           0 : auto PLayerTransactionParent::Read(
    1416             :         TransformFunction* v__,
    1417             :         const Message* msg__,
    1418             :         PickleIterator* iter__) -> bool
    1419             : {
    1420             :     typedef TransformFunction type__;
    1421             :     int type;
    1422           0 :     if ((!(Read((&(type)), msg__, iter__)))) {
    1423           0 :         mozilla::ipc::UnionTypeReadError("TransformFunction");
    1424           0 :         return false;
    1425             :     }
    1426             :     // Sentinel = 'TransformFunction'
    1427           0 :     if ((!((msg__)->ReadSentinel(iter__, 2553734589)))) {
    1428           0 :         mozilla::ipc::SentinelReadError("TransformFunction");
    1429           0 :         return false;
    1430             :     }
    1431             : 
    1432           0 :     switch (type) {
    1433             :     case type__::TPerspective:
    1434             :         {
    1435           0 :             Perspective tmp = Perspective();
    1436           0 :             (*(v__)) = tmp;
    1437           0 :             if ((!(Read((&((v__)->get_Perspective())), msg__, iter__)))) {
    1438           0 :                 FatalError("Error deserializing Union type");
    1439           0 :                 return false;
    1440             :             }
    1441             :             // Sentinel = 'TPerspective'
    1442           0 :             if ((!((msg__)->ReadSentinel(iter__, 536769614)))) {
    1443           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    1444           0 :                 return false;
    1445             :             }
    1446           0 :             return true;
    1447             :         }
    1448             :     case type__::TRotationX:
    1449             :         {
    1450           0 :             RotationX tmp = RotationX();
    1451           0 :             (*(v__)) = tmp;
    1452           0 :             if ((!(Read((&((v__)->get_RotationX())), msg__, iter__)))) {
    1453           0 :                 FatalError("Error deserializing Union type");
    1454           0 :                 return false;
    1455             :             }
    1456             :             // Sentinel = 'TRotationX'
    1457           0 :             if ((!((msg__)->ReadSentinel(iter__, 3076537720)))) {
    1458           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    1459           0 :                 return false;
    1460             :             }
    1461           0 :             return true;
    1462             :         }
    1463             :     case type__::TRotationY:
    1464             :         {
    1465           0 :             RotationY tmp = RotationY();
    1466           0 :             (*(v__)) = tmp;
    1467           0 :             if ((!(Read((&((v__)->get_RotationY())), msg__, iter__)))) {
    1468           0 :                 FatalError("Error deserializing Union type");
    1469           0 :                 return false;
    1470             :             }
    1471             :             // Sentinel = 'TRotationY'
    1472           0 :             if ((!((msg__)->ReadSentinel(iter__, 3076537721)))) {
    1473           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    1474           0 :                 return false;
    1475             :             }
    1476           0 :             return true;
    1477             :         }
    1478             :     case type__::TRotationZ:
    1479             :         {
    1480           0 :             RotationZ tmp = RotationZ();
    1481           0 :             (*(v__)) = tmp;
    1482           0 :             if ((!(Read((&((v__)->get_RotationZ())), msg__, iter__)))) {
    1483           0 :                 FatalError("Error deserializing Union type");
    1484           0 :                 return false;
    1485             :             }
    1486             :             // Sentinel = 'TRotationZ'
    1487           0 :             if ((!((msg__)->ReadSentinel(iter__, 3076537722)))) {
    1488           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    1489           0 :                 return false;
    1490             :             }
    1491           0 :             return true;
    1492             :         }
    1493             :     case type__::TRotation:
    1494             :         {
    1495           0 :             Rotation tmp = Rotation();
    1496           0 :             (*(v__)) = tmp;
    1497           0 :             if ((!(Read((&((v__)->get_Rotation())), msg__, iter__)))) {
    1498           0 :                 FatalError("Error deserializing Union type");
    1499           0 :                 return false;
    1500             :             }
    1501             :             // Sentinel = 'TRotation'
    1502           0 :             if ((!((msg__)->ReadSentinel(iter__, 204395655)))) {
    1503           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    1504           0 :                 return false;
    1505             :             }
    1506           0 :             return true;
    1507             :         }
    1508             :     case type__::TRotation3D:
    1509             :         {
    1510           0 :             Rotation3D tmp = Rotation3D();
    1511           0 :             (*(v__)) = tmp;
    1512           0 :             if ((!(Read((&((v__)->get_Rotation3D())), msg__, iter__)))) {
    1513           0 :                 FatalError("Error deserializing Union type");
    1514           0 :                 return false;
    1515             :             }
    1516             :             // Sentinel = 'TRotation3D'
    1517           0 :             if ((!((msg__)->ReadSentinel(iter__, 1650945988)))) {
    1518           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    1519           0 :                 return false;
    1520             :             }
    1521           0 :             return true;
    1522             :         }
    1523             :     case type__::TScale:
    1524             :         {
    1525           0 :             Scale tmp = Scale();
    1526           0 :             (*(v__)) = tmp;
    1527           0 :             if ((!(Read((&((v__)->get_Scale())), msg__, iter__)))) {
    1528           0 :                 FatalError("Error deserializing Union type");
    1529           0 :                 return false;
    1530             :             }
    1531             :             // Sentinel = 'TScale'
    1532           0 :             if ((!((msg__)->ReadSentinel(iter__, 4188009060)))) {
    1533           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    1534           0 :                 return false;
    1535             :             }
    1536           0 :             return true;
    1537             :         }
    1538             :     case type__::TSkew:
    1539             :         {
    1540           0 :             Skew tmp = Skew();
    1541           0 :             (*(v__)) = tmp;
    1542           0 :             if ((!(Read((&((v__)->get_Skew())), msg__, iter__)))) {
    1543           0 :                 FatalError("Error deserializing Union type");
    1544           0 :                 return false;
    1545             :             }
    1546             :             // Sentinel = 'TSkew'
    1547           0 :             if ((!((msg__)->ReadSentinel(iter__, 398444919)))) {
    1548           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    1549           0 :                 return false;
    1550             :             }
    1551           0 :             return true;
    1552             :         }
    1553             :     case type__::TSkewX:
    1554             :         {
    1555           0 :             SkewX tmp = SkewX();
    1556           0 :             (*(v__)) = tmp;
    1557           0 :             if ((!(Read((&((v__)->get_SkewX())), msg__, iter__)))) {
    1558           0 :                 FatalError("Error deserializing Union type");
    1559           0 :                 return false;
    1560             :             }
    1561             :             // Sentinel = 'TSkewX'
    1562           0 :             if ((!((msg__)->ReadSentinel(iter__, 1993284744)))) {
    1563           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    1564           0 :                 return false;
    1565             :             }
    1566           0 :             return true;
    1567             :         }
    1568             :     case type__::TSkewY:
    1569             :         {
    1570           0 :             SkewY tmp = SkewY();
    1571           0 :             (*(v__)) = tmp;
    1572           0 :             if ((!(Read((&((v__)->get_SkewY())), msg__, iter__)))) {
    1573           0 :                 FatalError("Error deserializing Union type");
    1574           0 :                 return false;
    1575             :             }
    1576             :             // Sentinel = 'TSkewY'
    1577           0 :             if ((!((msg__)->ReadSentinel(iter__, 1993284745)))) {
    1578           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    1579           0 :                 return false;
    1580             :             }
    1581           0 :             return true;
    1582             :         }
    1583             :     case type__::TTranslation:
    1584             :         {
    1585           0 :             Translation tmp = Translation();
    1586           0 :             (*(v__)) = tmp;
    1587           0 :             if ((!(Read((&((v__)->get_Translation())), msg__, iter__)))) {
    1588           0 :                 FatalError("Error deserializing Union type");
    1589           0 :                 return false;
    1590             :             }
    1591             :             // Sentinel = 'TTranslation'
    1592           0 :             if ((!((msg__)->ReadSentinel(iter__, 2021428737)))) {
    1593           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    1594           0 :                 return false;
    1595             :             }
    1596           0 :             return true;
    1597             :         }
    1598             :     case type__::TTransformMatrix:
    1599             :         {
    1600           0 :             TransformMatrix tmp = TransformMatrix();
    1601           0 :             (*(v__)) = tmp;
    1602           0 :             if ((!(Read((&((v__)->get_TransformMatrix())), msg__, iter__)))) {
    1603           0 :                 FatalError("Error deserializing Union type");
    1604           0 :                 return false;
    1605             :             }
    1606             :             // Sentinel = 'TTransformMatrix'
    1607           0 :             if ((!((msg__)->ReadSentinel(iter__, 2585816443)))) {
    1608           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    1609           0 :                 return false;
    1610             :             }
    1611           0 :             return true;
    1612             :         }
    1613             :     default:
    1614             :         {
    1615           0 :             FatalError("unknown union type");
    1616           0 :             return false;
    1617             :         }
    1618             :     }
    1619             : }
    1620             : 
    1621           0 : auto PLayerTransactionParent::Write(
    1622             :         const nsTArray<OpDestroy>& v__,
    1623             :         Message* msg__) -> void
    1624             : {
    1625           0 :     uint32_t length = (v__).Length();
    1626           0 :     Write(length, msg__);
    1627             :     // Sentinel = ('length', 'OpDestroy[]')
    1628           0 :     (msg__)->WriteSentinel(1887202695);
    1629             : 
    1630           0 :     for (auto& elem : v__) {
    1631           0 :         Write(elem, msg__);
    1632             :         // Sentinel = 'OpDestroy[]'
    1633           0 :         (msg__)->WriteSentinel(2935587554);
    1634             :     }
    1635           0 : }
    1636             : 
    1637          28 : auto PLayerTransactionParent::Read(
    1638             :         nsTArray<OpDestroy>* v__,
    1639             :         const Message* msg__,
    1640             :         PickleIterator* iter__) -> bool
    1641             : {
    1642          56 :     nsTArray<OpDestroy> fa;
    1643             :     uint32_t length;
    1644          28 :     if ((!(Read((&(length)), msg__, iter__)))) {
    1645           0 :         mozilla::ipc::ArrayLengthReadError("OpDestroy[]");
    1646           0 :         return false;
    1647             :     }
    1648             :     // Sentinel = ('length', 'OpDestroy[]')
    1649          28 :     if ((!((msg__)->ReadSentinel(iter__, 1887202695)))) {
    1650           0 :         mozilla::ipc::SentinelReadError("OpDestroy[]");
    1651           0 :         return false;
    1652             :     }
    1653             : 
    1654          28 :     OpDestroy* elems = (fa).AppendElements(length);
    1655          30 :     for (uint32_t i = 0; (i) < (length); (++(i))) {
    1656           2 :         if ((!(Read((&(elems[i])), msg__, iter__)))) {
    1657           0 :             FatalError("Error deserializing 'OpDestroy[i]'");
    1658           0 :             return false;
    1659             :         }
    1660             :         // Sentinel = 'OpDestroy[]'
    1661           2 :         if ((!((msg__)->ReadSentinel(iter__, 2935587554)))) {
    1662           0 :             mozilla::ipc::SentinelReadError("Error deserializing 'OpDestroy[i]'");
    1663           0 :             return false;
    1664             :         }
    1665             :     }
    1666          28 :     (v__)->SwapElements(fa);
    1667          28 :     return true;
    1668             : }
    1669             : 
    1670           0 : auto PLayerTransactionParent::Write(
    1671             :         const Edit& v__,
    1672             :         Message* msg__) -> void
    1673             : {
    1674             :     typedef Edit type__;
    1675           0 :     Write(int((v__).type()), msg__);
    1676             :     // Sentinel = 'Edit'
    1677           0 :     (msg__)->WriteSentinel(2038278088);
    1678             : 
    1679           0 :     switch ((v__).type()) {
    1680             :     case type__::TOpCreatePaintedLayer:
    1681             :         {
    1682           0 :             Write((v__).get_OpCreatePaintedLayer(), msg__);
    1683             :             // Sentinel = 'TOpCreatePaintedLayer'
    1684           0 :             (msg__)->WriteSentinel(3853495226);
    1685           0 :             return;
    1686             :         }
    1687             :     case type__::TOpCreateContainerLayer:
    1688             :         {
    1689           0 :             Write((v__).get_OpCreateContainerLayer(), msg__);
    1690             :             // Sentinel = 'TOpCreateContainerLayer'
    1691           0 :             (msg__)->WriteSentinel(1810998542);
    1692           0 :             return;
    1693             :         }
    1694             :     case type__::TOpCreateImageLayer:
    1695             :         {
    1696           0 :             Write((v__).get_OpCreateImageLayer(), msg__);
    1697             :             // Sentinel = 'TOpCreateImageLayer'
    1698           0 :             (msg__)->WriteSentinel(3556379108);
    1699           0 :             return;
    1700             :         }
    1701             :     case type__::TOpCreateColorLayer:
    1702             :         {
    1703           0 :             Write((v__).get_OpCreateColorLayer(), msg__);
    1704             :             // Sentinel = 'TOpCreateColorLayer'
    1705           0 :             (msg__)->WriteSentinel(1657969326);
    1706           0 :             return;
    1707             :         }
    1708             :     case type__::TOpCreateTextLayer:
    1709             :         {
    1710           0 :             Write((v__).get_OpCreateTextLayer(), msg__);
    1711             :             // Sentinel = 'TOpCreateTextLayer'
    1712           0 :             (msg__)->WriteSentinel(3677396385);
    1713           0 :             return;
    1714             :         }
    1715             :     case type__::TOpCreateBorderLayer:
    1716             :         {
    1717           0 :             Write((v__).get_OpCreateBorderLayer(), msg__);
    1718             :             // Sentinel = 'TOpCreateBorderLayer'
    1719           0 :             (msg__)->WriteSentinel(3102637726);
    1720           0 :             return;
    1721             :         }
    1722             :     case type__::TOpCreateCanvasLayer:
    1723             :         {
    1724           0 :             Write((v__).get_OpCreateCanvasLayer(), msg__);
    1725             :             // Sentinel = 'TOpCreateCanvasLayer'
    1726           0 :             (msg__)->WriteSentinel(156843276);
    1727           0 :             return;
    1728             :         }
    1729             :     case type__::TOpCreateRefLayer:
    1730             :         {
    1731           0 :             Write((v__).get_OpCreateRefLayer(), msg__);
    1732             :             // Sentinel = 'TOpCreateRefLayer'
    1733           0 :             (msg__)->WriteSentinel(1988949338);
    1734           0 :             return;
    1735             :         }
    1736             :     case type__::TOpSetDiagnosticTypes:
    1737             :         {
    1738           0 :             Write((v__).get_OpSetDiagnosticTypes(), msg__);
    1739             :             // Sentinel = 'TOpSetDiagnosticTypes'
    1740           0 :             (msg__)->WriteSentinel(2447105948);
    1741           0 :             return;
    1742             :         }
    1743             :     case type__::TOpWindowOverlayChanged:
    1744             :         {
    1745           0 :             Write((v__).get_OpWindowOverlayChanged(), msg__);
    1746             :             // Sentinel = 'TOpWindowOverlayChanged'
    1747           0 :             (msg__)->WriteSentinel(3466220546);
    1748           0 :             return;
    1749             :         }
    1750             :     case type__::TOpSetRoot:
    1751             :         {
    1752           0 :             Write((v__).get_OpSetRoot(), msg__);
    1753             :             // Sentinel = 'TOpSetRoot'
    1754           0 :             (msg__)->WriteSentinel(2410055009);
    1755           0 :             return;
    1756             :         }
    1757             :     case type__::TOpInsertAfter:
    1758             :         {
    1759           0 :             Write((v__).get_OpInsertAfter(), msg__);
    1760             :             // Sentinel = 'TOpInsertAfter'
    1761           0 :             (msg__)->WriteSentinel(1382649822);
    1762           0 :             return;
    1763             :         }
    1764             :     case type__::TOpPrependChild:
    1765             :         {
    1766           0 :             Write((v__).get_OpPrependChild(), msg__);
    1767             :             // Sentinel = 'TOpPrependChild'
    1768           0 :             (msg__)->WriteSentinel(444055092);
    1769           0 :             return;
    1770             :         }
    1771             :     case type__::TOpRemoveChild:
    1772             :         {
    1773           0 :             Write((v__).get_OpRemoveChild(), msg__);
    1774             :             // Sentinel = 'TOpRemoveChild'
    1775           0 :             (msg__)->WriteSentinel(2988995859);
    1776           0 :             return;
    1777             :         }
    1778             :     case type__::TOpRepositionChild:
    1779             :         {
    1780           0 :             Write((v__).get_OpRepositionChild(), msg__);
    1781             :             // Sentinel = 'TOpRepositionChild'
    1782           0 :             (msg__)->WriteSentinel(2467889549);
    1783           0 :             return;
    1784             :         }
    1785             :     case type__::TOpRaiseToTopChild:
    1786             :         {
    1787           0 :             Write((v__).get_OpRaiseToTopChild(), msg__);
    1788             :             // Sentinel = 'TOpRaiseToTopChild'
    1789           0 :             (msg__)->WriteSentinel(2024445967);
    1790           0 :             return;
    1791             :         }
    1792             :     case type__::TOpAttachCompositable:
    1793             :         {
    1794           0 :             Write((v__).get_OpAttachCompositable(), msg__);
    1795             :             // Sentinel = 'TOpAttachCompositable'
    1796           0 :             (msg__)->WriteSentinel(1767933903);
    1797           0 :             return;
    1798             :         }
    1799             :     case type__::TOpAttachAsyncCompositable:
    1800             :         {
    1801           0 :             Write((v__).get_OpAttachAsyncCompositable(), msg__);
    1802             :             // Sentinel = 'TOpAttachAsyncCompositable'
    1803           0 :             (msg__)->WriteSentinel(4011154988);
    1804           0 :             return;
    1805             :         }
    1806             :     case type__::TCompositableOperation:
    1807             :         {
    1808           0 :             Write((v__).get_CompositableOperation(), msg__);
    1809             :             // Sentinel = 'TCompositableOperation'
    1810           0 :             (msg__)->WriteSentinel(1903999853);
    1811           0 :             return;
    1812             :         }
    1813             :     default:
    1814             :         {
    1815           0 :             FatalError("unknown union type");
    1816           0 :             return;
    1817             :         }
    1818             :     }
    1819             : }
    1820             : 
    1821         137 : auto PLayerTransactionParent::Read(
    1822             :         Edit* v__,
    1823             :         const Message* msg__,
    1824             :         PickleIterator* iter__) -> bool
    1825             : {
    1826             :     typedef Edit type__;
    1827             :     int type;
    1828         137 :     if ((!(Read((&(type)), msg__, iter__)))) {
    1829           0 :         mozilla::ipc::UnionTypeReadError("Edit");
    1830           0 :         return false;
    1831             :     }
    1832             :     // Sentinel = 'Edit'
    1833         137 :     if ((!((msg__)->ReadSentinel(iter__, 2038278088)))) {
    1834           0 :         mozilla::ipc::SentinelReadError("Edit");
    1835           0 :         return false;
    1836             :     }
    1837             : 
    1838         137 :     switch (type) {
    1839             :     case type__::TOpCreatePaintedLayer:
    1840             :         {
    1841          44 :             OpCreatePaintedLayer tmp = OpCreatePaintedLayer();
    1842          22 :             (*(v__)) = tmp;
    1843          22 :             if ((!(Read((&((v__)->get_OpCreatePaintedLayer())), msg__, iter__)))) {
    1844           0 :                 FatalError("Error deserializing Union type");
    1845           0 :                 return false;
    1846             :             }
    1847             :             // Sentinel = 'TOpCreatePaintedLayer'
    1848          22 :             if ((!((msg__)->ReadSentinel(iter__, 3853495226)))) {
    1849           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    1850           0 :                 return false;
    1851             :             }
    1852          22 :             return true;
    1853             :         }
    1854             :     case type__::TOpCreateContainerLayer:
    1855             :         {
    1856           8 :             OpCreateContainerLayer tmp = OpCreateContainerLayer();
    1857           4 :             (*(v__)) = tmp;
    1858           4 :             if ((!(Read((&((v__)->get_OpCreateContainerLayer())), msg__, iter__)))) {
    1859           0 :                 FatalError("Error deserializing Union type");
    1860           0 :                 return false;
    1861             :             }
    1862             :             // Sentinel = 'TOpCreateContainerLayer'
    1863           4 :             if ((!((msg__)->ReadSentinel(iter__, 1810998542)))) {
    1864           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    1865           0 :                 return false;
    1866             :             }
    1867           4 :             return true;
    1868             :         }
    1869             :     case type__::TOpCreateImageLayer:
    1870             :         {
    1871           0 :             OpCreateImageLayer tmp = OpCreateImageLayer();
    1872           0 :             (*(v__)) = tmp;
    1873           0 :             if ((!(Read((&((v__)->get_OpCreateImageLayer())), msg__, iter__)))) {
    1874           0 :                 FatalError("Error deserializing Union type");
    1875           0 :                 return false;
    1876             :             }
    1877             :             // Sentinel = 'TOpCreateImageLayer'
    1878           0 :             if ((!((msg__)->ReadSentinel(iter__, 3556379108)))) {
    1879           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    1880           0 :                 return false;
    1881             :             }
    1882           0 :             return true;
    1883             :         }
    1884             :     case type__::TOpCreateColorLayer:
    1885             :         {
    1886           8 :             OpCreateColorLayer tmp = OpCreateColorLayer();
    1887           4 :             (*(v__)) = tmp;
    1888           4 :             if ((!(Read((&((v__)->get_OpCreateColorLayer())), msg__, iter__)))) {
    1889           0 :                 FatalError("Error deserializing Union type");
    1890           0 :                 return false;
    1891             :             }
    1892             :             // Sentinel = 'TOpCreateColorLayer'
    1893           4 :             if ((!((msg__)->ReadSentinel(iter__, 1657969326)))) {
    1894           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    1895           0 :                 return false;
    1896             :             }
    1897           4 :             return true;
    1898             :         }
    1899             :     case type__::TOpCreateTextLayer:
    1900             :         {
    1901           0 :             OpCreateTextLayer tmp = OpCreateTextLayer();
    1902           0 :             (*(v__)) = tmp;
    1903           0 :             if ((!(Read((&((v__)->get_OpCreateTextLayer())), msg__, iter__)))) {
    1904           0 :                 FatalError("Error deserializing Union type");
    1905           0 :                 return false;
    1906             :             }
    1907             :             // Sentinel = 'TOpCreateTextLayer'
    1908           0 :             if ((!((msg__)->ReadSentinel(iter__, 3677396385)))) {
    1909           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    1910           0 :                 return false;
    1911             :             }
    1912           0 :             return true;
    1913             :         }
    1914             :     case type__::TOpCreateBorderLayer:
    1915             :         {
    1916           0 :             OpCreateBorderLayer tmp = OpCreateBorderLayer();
    1917           0 :             (*(v__)) = tmp;
    1918           0 :             if ((!(Read((&((v__)->get_OpCreateBorderLayer())), msg__, iter__)))) {
    1919           0 :                 FatalError("Error deserializing Union type");
    1920           0 :                 return false;
    1921             :             }
    1922             :             // Sentinel = 'TOpCreateBorderLayer'
    1923           0 :             if ((!((msg__)->ReadSentinel(iter__, 3102637726)))) {
    1924           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    1925           0 :                 return false;
    1926             :             }
    1927           0 :             return true;
    1928             :         }
    1929             :     case type__::TOpCreateCanvasLayer:
    1930             :         {
    1931           0 :             OpCreateCanvasLayer tmp = OpCreateCanvasLayer();
    1932           0 :             (*(v__)) = tmp;
    1933           0 :             if ((!(Read((&((v__)->get_OpCreateCanvasLayer())), msg__, iter__)))) {
    1934           0 :                 FatalError("Error deserializing Union type");
    1935           0 :                 return false;
    1936             :             }
    1937             :             // Sentinel = 'TOpCreateCanvasLayer'
    1938           0 :             if ((!((msg__)->ReadSentinel(iter__, 156843276)))) {
    1939           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    1940           0 :                 return false;
    1941             :             }
    1942           0 :             return true;
    1943             :         }
    1944             :     case type__::TOpCreateRefLayer:
    1945             :         {
    1946           2 :             OpCreateRefLayer tmp = OpCreateRefLayer();
    1947           1 :             (*(v__)) = tmp;
    1948           1 :             if ((!(Read((&((v__)->get_OpCreateRefLayer())), msg__, iter__)))) {
    1949           0 :                 FatalError("Error deserializing Union type");
    1950           0 :                 return false;
    1951             :             }
    1952             :             // Sentinel = 'TOpCreateRefLayer'
    1953           1 :             if ((!((msg__)->ReadSentinel(iter__, 1988949338)))) {
    1954           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    1955           0 :                 return false;
    1956             :             }
    1957           1 :             return true;
    1958             :         }
    1959             :     case type__::TOpSetDiagnosticTypes:
    1960             :         {
    1961           0 :             OpSetDiagnosticTypes tmp = OpSetDiagnosticTypes();
    1962           0 :             (*(v__)) = tmp;
    1963           0 :             if ((!(Read((&((v__)->get_OpSetDiagnosticTypes())), msg__, iter__)))) {
    1964           0 :                 FatalError("Error deserializing Union type");
    1965           0 :                 return false;
    1966             :             }
    1967             :             // Sentinel = 'TOpSetDiagnosticTypes'
    1968           0 :             if ((!((msg__)->ReadSentinel(iter__, 2447105948)))) {
    1969           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    1970           0 :                 return false;
    1971             :             }
    1972           0 :             return true;
    1973             :         }
    1974             :     case type__::TOpWindowOverlayChanged:
    1975             :         {
    1976           0 :             OpWindowOverlayChanged tmp = OpWindowOverlayChanged();
    1977           0 :             (*(v__)) = tmp;
    1978           0 :             if ((!(Read((&((v__)->get_OpWindowOverlayChanged())), msg__, iter__)))) {
    1979           0 :                 FatalError("Error deserializing Union type");
    1980           0 :                 return false;
    1981             :             }
    1982             :             // Sentinel = 'TOpWindowOverlayChanged'
    1983           0 :             if ((!((msg__)->ReadSentinel(iter__, 3466220546)))) {
    1984           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    1985           0 :                 return false;
    1986             :             }
    1987           0 :             return true;
    1988             :         }
    1989             :     case type__::TOpSetRoot:
    1990             :         {
    1991           8 :             OpSetRoot tmp = OpSetRoot();
    1992           4 :             (*(v__)) = tmp;
    1993           4 :             if ((!(Read((&((v__)->get_OpSetRoot())), msg__, iter__)))) {
    1994           0 :                 FatalError("Error deserializing Union type");
    1995           0 :                 return false;
    1996             :             }
    1997             :             // Sentinel = 'TOpSetRoot'
    1998           4 :             if ((!((msg__)->ReadSentinel(iter__, 2410055009)))) {
    1999           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    2000           0 :                 return false;
    2001             :             }
    2002           4 :             return true;
    2003             :         }
    2004             :     case type__::TOpInsertAfter:
    2005             :         {
    2006          46 :             OpInsertAfter tmp = OpInsertAfter();
    2007          23 :             (*(v__)) = tmp;
    2008          23 :             if ((!(Read((&((v__)->get_OpInsertAfter())), msg__, iter__)))) {
    2009           0 :                 FatalError("Error deserializing Union type");
    2010           0 :                 return false;
    2011             :             }
    2012             :             // Sentinel = 'TOpInsertAfter'
    2013          23 :             if ((!((msg__)->ReadSentinel(iter__, 1382649822)))) {
    2014           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    2015           0 :                 return false;
    2016             :             }
    2017          23 :             return true;
    2018             :         }
    2019             :     case type__::TOpPrependChild:
    2020             :         {
    2021           8 :             OpPrependChild tmp = OpPrependChild();
    2022           4 :             (*(v__)) = tmp;
    2023           4 :             if ((!(Read((&((v__)->get_OpPrependChild())), msg__, iter__)))) {
    2024           0 :                 FatalError("Error deserializing Union type");
    2025           0 :                 return false;
    2026             :             }
    2027             :             // Sentinel = 'TOpPrependChild'
    2028           4 :             if ((!((msg__)->ReadSentinel(iter__, 444055092)))) {
    2029           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    2030           0 :                 return false;
    2031             :             }
    2032           4 :             return true;
    2033             :         }
    2034             :     case type__::TOpRemoveChild:
    2035             :         {
    2036          40 :             OpRemoveChild tmp = OpRemoveChild();
    2037          20 :             (*(v__)) = tmp;
    2038          20 :             if ((!(Read((&((v__)->get_OpRemoveChild())), msg__, iter__)))) {
    2039           0 :                 FatalError("Error deserializing Union type");
    2040           0 :                 return false;
    2041             :             }
    2042             :             // Sentinel = 'TOpRemoveChild'
    2043          20 :             if ((!((msg__)->ReadSentinel(iter__, 2988995859)))) {
    2044           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    2045           0 :                 return false;
    2046             :             }
    2047          20 :             return true;
    2048             :         }
    2049             :     case type__::TOpRepositionChild:
    2050             :         {
    2051           0 :             OpRepositionChild tmp = OpRepositionChild();
    2052           0 :             (*(v__)) = tmp;
    2053           0 :             if ((!(Read((&((v__)->get_OpRepositionChild())), msg__, iter__)))) {
    2054           0 :                 FatalError("Error deserializing Union type");
    2055           0 :                 return false;
    2056             :             }
    2057             :             // Sentinel = 'TOpRepositionChild'
    2058           0 :             if ((!((msg__)->ReadSentinel(iter__, 2467889549)))) {
    2059           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    2060           0 :                 return false;
    2061             :             }
    2062           0 :             return true;
    2063             :         }
    2064             :     case type__::TOpRaiseToTopChild:
    2065             :         {
    2066           0 :             OpRaiseToTopChild tmp = OpRaiseToTopChild();
    2067           0 :             (*(v__)) = tmp;
    2068           0 :             if ((!(Read((&((v__)->get_OpRaiseToTopChild())), msg__, iter__)))) {
    2069           0 :                 FatalError("Error deserializing Union type");
    2070           0 :                 return false;
    2071             :             }
    2072             :             // Sentinel = 'TOpRaiseToTopChild'
    2073           0 :             if ((!((msg__)->ReadSentinel(iter__, 2024445967)))) {
    2074           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    2075           0 :                 return false;
    2076             :             }
    2077           0 :             return true;
    2078             :         }
    2079             :     case type__::TOpAttachCompositable:
    2080             :         {
    2081          44 :             OpAttachCompositable tmp = OpAttachCompositable();
    2082          22 :             (*(v__)) = tmp;
    2083          22 :             if ((!(Read((&((v__)->get_OpAttachCompositable())), msg__, iter__)))) {
    2084           0 :                 FatalError("Error deserializing Union type");
    2085           0 :                 return false;
    2086             :             }
    2087             :             // Sentinel = 'TOpAttachCompositable'
    2088          22 :             if ((!((msg__)->ReadSentinel(iter__, 1767933903)))) {
    2089           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    2090           0 :                 return false;
    2091             :             }
    2092          22 :             return true;
    2093             :         }
    2094             :     case type__::TOpAttachAsyncCompositable:
    2095             :         {
    2096           0 :             OpAttachAsyncCompositable tmp = OpAttachAsyncCompositable();
    2097           0 :             (*(v__)) = tmp;
    2098           0 :             if ((!(Read((&((v__)->get_OpAttachAsyncCompositable())), msg__, iter__)))) {
    2099           0 :                 FatalError("Error deserializing Union type");
    2100           0 :                 return false;
    2101             :             }
    2102             :             // Sentinel = 'TOpAttachAsyncCompositable'
    2103           0 :             if ((!((msg__)->ReadSentinel(iter__, 4011154988)))) {
    2104           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    2105           0 :                 return false;
    2106             :             }
    2107           0 :             return true;
    2108             :         }
    2109             :     case type__::TCompositableOperation:
    2110             :         {
    2111          66 :             CompositableOperation tmp = CompositableOperation();
    2112          33 :             (*(v__)) = tmp;
    2113          33 :             if ((!(Read((&((v__)->get_CompositableOperation())), msg__, iter__)))) {
    2114           0 :                 FatalError("Error deserializing Union type");
    2115           0 :                 return false;
    2116             :             }
    2117             :             // Sentinel = 'TCompositableOperation'
    2118          33 :             if ((!((msg__)->ReadSentinel(iter__, 1903999853)))) {
    2119           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    2120           0 :                 return false;
    2121             :             }
    2122          33 :             return true;
    2123             :         }
    2124             :     default:
    2125             :         {
    2126           0 :             FatalError("unknown union type");
    2127           0 :             return false;
    2128             :         }
    2129             :     }
    2130             : }
    2131             : 
    2132           0 : auto PLayerTransactionParent::Write(
    2133             :         const MaybeTexture& v__,
    2134             :         Message* msg__) -> void
    2135             : {
    2136             :     typedef MaybeTexture type__;
    2137           0 :     Write(int((v__).type()), msg__);
    2138             :     // Sentinel = 'MaybeTexture'
    2139           0 :     (msg__)->WriteSentinel(264725529);
    2140             : 
    2141           0 :     switch ((v__).type()) {
    2142             :     case type__::TPTextureParent:
    2143             :         {
    2144           0 :             Write((v__).get_PTextureParent(), msg__, false);
    2145             :             // Sentinel = 'TPTextureParent'
    2146           0 :             (msg__)->WriteSentinel(896696938);
    2147           0 :             return;
    2148             :         }
    2149             :     case type__::TPTextureChild:
    2150             :         {
    2151           0 :             FatalError("wrong side!");
    2152           0 :             return;
    2153             :         }
    2154             :     case type__::Tnull_t:
    2155             :         {
    2156           0 :             Write((v__).get_null_t(), msg__);
    2157             :             // Sentinel = 'Tnull_t'
    2158           0 :             (msg__)->WriteSentinel(3731137201);
    2159           0 :             return;
    2160             :         }
    2161             :     default:
    2162             :         {
    2163           0 :             FatalError("unknown union type");
    2164           0 :             return;
    2165             :         }
    2166             :     }
    2167             : }
    2168             : 
    2169           0 : auto PLayerTransactionParent::Read(
    2170             :         MaybeTexture* v__,
    2171             :         const Message* msg__,
    2172             :         PickleIterator* iter__) -> bool
    2173             : {
    2174             :     typedef MaybeTexture type__;
    2175             :     int type;
    2176           0 :     if ((!(Read((&(type)), msg__, iter__)))) {
    2177           0 :         mozilla::ipc::UnionTypeReadError("MaybeTexture");
    2178           0 :         return false;
    2179             :     }
    2180             :     // Sentinel = 'MaybeTexture'
    2181           0 :     if ((!((msg__)->ReadSentinel(iter__, 264725529)))) {
    2182           0 :         mozilla::ipc::SentinelReadError("MaybeTexture");
    2183           0 :         return false;
    2184             :     }
    2185             : 
    2186           0 :     switch (type) {
    2187             :     case type__::TPTextureParent:
    2188             :         {
    2189           0 :             return false;
    2190             :         }
    2191             :     case type__::TPTextureChild:
    2192             :         {
    2193           0 :             PTextureParent* tmp = nullptr;
    2194           0 :             (*(v__)) = tmp;
    2195           0 :             if ((!(Read((&((v__)->get_PTextureParent())), msg__, iter__, false)))) {
    2196           0 :                 FatalError("Error deserializing Union type");
    2197           0 :                 return false;
    2198             :             }
    2199             :             // Sentinel = 'TPTextureChild'
    2200           0 :             if ((!((msg__)->ReadSentinel(iter__, 3251900187)))) {
    2201           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    2202           0 :                 return false;
    2203             :             }
    2204           0 :             return true;
    2205             :         }
    2206             :     case type__::Tnull_t:
    2207             :         {
    2208             :             null_t tmp = null_t();
    2209           0 :             (*(v__)) = tmp;
    2210           0 :             if ((!(Read((&((v__)->get_null_t())), msg__, iter__)))) {
    2211           0 :                 FatalError("Error deserializing Union type");
    2212           0 :                 return false;
    2213             :             }
    2214             :             // Sentinel = 'Tnull_t'
    2215           0 :             if ((!((msg__)->ReadSentinel(iter__, 3731137201)))) {
    2216           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    2217           0 :                 return false;
    2218             :             }
    2219           0 :             return true;
    2220             :         }
    2221             :     default:
    2222             :         {
    2223           0 :             FatalError("unknown union type");
    2224           0 :             return false;
    2225             :         }
    2226             :     }
    2227             : }
    2228             : 
    2229           0 : auto PLayerTransactionParent::Write(
    2230             :         const ColorLayerAttributes& v__,
    2231             :         Message* msg__) -> void
    2232             : {
    2233           0 :     Write((v__).color(), msg__);
    2234             :     // Sentinel = 'color'
    2235           0 :     (msg__)->WriteSentinel(2703551752);
    2236           0 :     Write((v__).bounds(), msg__);
    2237             :     // Sentinel = 'bounds'
    2238           0 :     (msg__)->WriteSentinel(809584493);
    2239           0 : }
    2240             : 
    2241           4 : auto PLayerTransactionParent::Read(
    2242             :         ColorLayerAttributes* v__,
    2243             :         const Message* msg__,
    2244             :         PickleIterator* iter__) -> bool
    2245             : {
    2246           4 :     if ((!(Read((&((v__)->color())), msg__, iter__)))) {
    2247           0 :         FatalError("Error deserializing 'color' (LayerColor) member of 'ColorLayerAttributes'");
    2248           0 :         return false;
    2249             :     }
    2250             :     // Sentinel = 'color'
    2251           4 :     if ((!((msg__)->ReadSentinel(iter__, 2703551752)))) {
    2252           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'color' (LayerColor) member of 'ColorLayerAttributes'");
    2253           0 :         return false;
    2254             :     }
    2255           4 :     if ((!(Read((&((v__)->bounds())), msg__, iter__)))) {
    2256           0 :         FatalError("Error deserializing 'bounds' (IntRect) member of 'ColorLayerAttributes'");
    2257           0 :         return false;
    2258             :     }
    2259             :     // Sentinel = 'bounds'
    2260           4 :     if ((!((msg__)->ReadSentinel(iter__, 809584493)))) {
    2261           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'bounds' (IntRect) member of 'ColorLayerAttributes'");
    2262           0 :         return false;
    2263             :     }
    2264           4 :     return true;
    2265             : }
    2266             : 
    2267           0 : auto PLayerTransactionParent::Write(
    2268             :         const TargetConfig& v__,
    2269             :         Message* msg__) -> void
    2270             : {
    2271           0 :     Write((v__).naturalBounds(), msg__);
    2272             :     // Sentinel = 'naturalBounds'
    2273           0 :     (msg__)->WriteSentinel(2065643689);
    2274           0 :     Write((v__).rotation(), msg__);
    2275             :     // Sentinel = 'rotation'
    2276           0 :     (msg__)->WriteSentinel(289872474);
    2277           0 :     Write((v__).orientation(), msg__);
    2278             :     // Sentinel = 'orientation'
    2279           0 :     (msg__)->WriteSentinel(759639429);
    2280           0 :     Write((v__).clearRegion(), msg__);
    2281             :     // Sentinel = 'clearRegion'
    2282           0 :     (msg__)->WriteSentinel(2731638988);
    2283           0 : }
    2284             : 
    2285          28 : auto PLayerTransactionParent::Read(
    2286             :         TargetConfig* v__,
    2287             :         const Message* msg__,
    2288             :         PickleIterator* iter__) -> bool
    2289             : {
    2290          28 :     if ((!(Read((&((v__)->naturalBounds())), msg__, iter__)))) {
    2291           0 :         FatalError("Error deserializing 'naturalBounds' (IntRect) member of 'TargetConfig'");
    2292           0 :         return false;
    2293             :     }
    2294             :     // Sentinel = 'naturalBounds'
    2295          28 :     if ((!((msg__)->ReadSentinel(iter__, 2065643689)))) {
    2296           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'naturalBounds' (IntRect) member of 'TargetConfig'");
    2297           0 :         return false;
    2298             :     }
    2299          28 :     if ((!(Read((&((v__)->rotation())), msg__, iter__)))) {
    2300           0 :         FatalError("Error deserializing 'rotation' (ScreenRotation) member of 'TargetConfig'");
    2301           0 :         return false;
    2302             :     }
    2303             :     // Sentinel = 'rotation'
    2304          28 :     if ((!((msg__)->ReadSentinel(iter__, 289872474)))) {
    2305           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'rotation' (ScreenRotation) member of 'TargetConfig'");
    2306           0 :         return false;
    2307             :     }
    2308          28 :     if ((!(Read((&((v__)->orientation())), msg__, iter__)))) {
    2309           0 :         FatalError("Error deserializing 'orientation' (ScreenOrientationInternal) member of 'TargetConfig'");
    2310           0 :         return false;
    2311             :     }
    2312             :     // Sentinel = 'orientation'
    2313          28 :     if ((!((msg__)->ReadSentinel(iter__, 759639429)))) {
    2314           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'orientation' (ScreenOrientationInternal) member of 'TargetConfig'");
    2315           0 :         return false;
    2316             :     }
    2317          28 :     if ((!(Read((&((v__)->clearRegion())), msg__, iter__)))) {
    2318           0 :         FatalError("Error deserializing 'clearRegion' (nsIntRegion) member of 'TargetConfig'");
    2319           0 :         return false;
    2320             :     }
    2321             :     // Sentinel = 'clearRegion'
    2322          28 :     if ((!((msg__)->ReadSentinel(iter__, 2731638988)))) {
    2323           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'clearRegion' (nsIntRegion) member of 'TargetConfig'");
    2324           0 :         return false;
    2325             :     }
    2326          28 :     return true;
    2327             : }
    2328             : 
    2329           0 : auto PLayerTransactionParent::Write(
    2330             :         const nsTArray<OpSetLayerAttributes>& v__,
    2331             :         Message* msg__) -> void
    2332             : {
    2333           0 :     uint32_t length = (v__).Length();
    2334           0 :     Write(length, msg__);
    2335             :     // Sentinel = ('length', 'OpSetLayerAttributes[]')
    2336           0 :     (msg__)->WriteSentinel(2640478076);
    2337             : 
    2338           0 :     for (auto& elem : v__) {
    2339           0 :         Write(elem, msg__);
    2340             :         // Sentinel = 'OpSetLayerAttributes[]'
    2341           0 :         (msg__)->WriteSentinel(706017835);
    2342             :     }
    2343           0 : }
    2344             : 
    2345          28 : auto PLayerTransactionParent::Read(
    2346             :         nsTArray<OpSetLayerAttributes>* v__,
    2347             :         const Message* msg__,
    2348             :         PickleIterator* iter__) -> bool
    2349             : {
    2350          56 :     nsTArray<OpSetLayerAttributes> fa;
    2351             :     uint32_t length;
    2352          28 :     if ((!(Read((&(length)), msg__, iter__)))) {
    2353           0 :         mozilla::ipc::ArrayLengthReadError("OpSetLayerAttributes[]");
    2354           0 :         return false;
    2355             :     }
    2356             :     // Sentinel = ('length', 'OpSetLayerAttributes[]')
    2357          28 :     if ((!((msg__)->ReadSentinel(iter__, 2640478076)))) {
    2358           0 :         mozilla::ipc::SentinelReadError("OpSetLayerAttributes[]");
    2359           0 :         return false;
    2360             :     }
    2361             : 
    2362          28 :     OpSetLayerAttributes* elems = (fa).AppendElements(length);
    2363         152 :     for (uint32_t i = 0; (i) < (length); (++(i))) {
    2364         124 :         if ((!(Read((&(elems[i])), msg__, iter__)))) {
    2365           0 :             FatalError("Error deserializing 'OpSetLayerAttributes[i]'");
    2366           0 :             return false;
    2367             :         }
    2368             :         // Sentinel = 'OpSetLayerAttributes[]'
    2369         124 :         if ((!((msg__)->ReadSentinel(iter__, 706017835)))) {
    2370           0 :             mozilla::ipc::SentinelReadError("Error deserializing 'OpSetLayerAttributes[i]'");
    2371           0 :             return false;
    2372             :         }
    2373             :     }
    2374          28 :     (v__)->SwapElements(fa);
    2375          28 :     return true;
    2376             : }
    2377             : 
    2378           0 : auto PLayerTransactionParent::Write(
    2379             :         const Rotation& v__,
    2380             :         Message* msg__) -> void
    2381             : {
    2382           0 :     Write((v__).angle(), msg__);
    2383             :     // Sentinel = 'angle'
    2384           0 :     (msg__)->WriteSentinel(3388308388);
    2385           0 : }
    2386             : 
    2387           0 : auto PLayerTransactionParent::Read(
    2388             :         Rotation* v__,
    2389             :         const Message* msg__,
    2390             :         PickleIterator* iter__) -> bool
    2391             : {
    2392           0 :     if ((!(Read((&((v__)->angle())), msg__, iter__)))) {
    2393           0 :         FatalError("Error deserializing 'angle' (CSSAngle) member of 'Rotation'");
    2394           0 :         return false;
    2395             :     }
    2396             :     // Sentinel = 'angle'
    2397           0 :     if ((!((msg__)->ReadSentinel(iter__, 3388308388)))) {
    2398           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'angle' (CSSAngle) member of 'Rotation'");
    2399           0 :         return false;
    2400             :     }
    2401           0 :     return true;
    2402             : }
    2403             : 
    2404           0 : auto PLayerTransactionParent::Write(
    2405             :         const OpSetSimpleLayerAttributes& v__,
    2406             :         Message* msg__) -> void
    2407             : {
    2408           0 :     Write((v__).layer(), msg__);
    2409             :     // Sentinel = 'layer'
    2410           0 :     (msg__)->WriteSentinel(1899167106);
    2411           0 :     Write((v__).attrs(), msg__);
    2412             :     // Sentinel = 'attrs'
    2413           0 :     (msg__)->WriteSentinel(3014987797);
    2414           0 : }
    2415             : 
    2416          24 : auto PLayerTransactionParent::Read(
    2417             :         OpSetSimpleLayerAttributes* v__,
    2418             :         const Message* msg__,
    2419             :         PickleIterator* iter__) -> bool
    2420             : {
    2421          24 :     if ((!(Read((&((v__)->layer())), msg__, iter__)))) {
    2422           0 :         FatalError("Error deserializing 'layer' (LayerHandle) member of 'OpSetSimpleLayerAttributes'");
    2423           0 :         return false;
    2424             :     }
    2425             :     // Sentinel = 'layer'
    2426          24 :     if ((!((msg__)->ReadSentinel(iter__, 1899167106)))) {
    2427           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'layer' (LayerHandle) member of 'OpSetSimpleLayerAttributes'");
    2428           0 :         return false;
    2429             :     }
    2430          24 :     if ((!(Read((&((v__)->attrs())), msg__, iter__)))) {
    2431           0 :         FatalError("Error deserializing 'attrs' (SimpleLayerAttributes) member of 'OpSetSimpleLayerAttributes'");
    2432           0 :         return false;
    2433             :     }
    2434             :     // Sentinel = 'attrs'
    2435          24 :     if ((!((msg__)->ReadSentinel(iter__, 3014987797)))) {
    2436           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'attrs' (SimpleLayerAttributes) member of 'OpSetSimpleLayerAttributes'");
    2437           0 :         return false;
    2438             :     }
    2439          24 :     return true;
    2440             : }
    2441             : 
    2442           0 : auto PLayerTransactionParent::Write(
    2443             :         const TransformData& v__,
    2444             :         Message* msg__) -> void
    2445             : {
    2446           0 :     Write((v__).origin(), msg__);
    2447             :     // Sentinel = 'origin'
    2448           0 :     (msg__)->WriteSentinel(1429924608);
    2449           0 :     Write((v__).transformOrigin(), msg__);
    2450             :     // Sentinel = 'transformOrigin'
    2451           0 :     (msg__)->WriteSentinel(466321709);
    2452           0 :     Write((v__).bounds(), msg__);
    2453             :     // Sentinel = 'bounds'
    2454           0 :     (msg__)->WriteSentinel(809584493);
    2455           0 :     Write((v__).appUnitsPerDevPixel(), msg__);
    2456             :     // Sentinel = 'appUnitsPerDevPixel'
    2457           0 :     (msg__)->WriteSentinel(2226875639);
    2458           0 :     Write((v__).inheritedXScale(), msg__);
    2459             :     // Sentinel = 'inheritedXScale'
    2460           0 :     (msg__)->WriteSentinel(1285237395);
    2461           0 :     Write((v__).inheritedYScale(), msg__);
    2462             :     // Sentinel = 'inheritedYScale'
    2463           0 :     (msg__)->WriteSentinel(3724217552);
    2464           0 :     Write((v__).hasPerspectiveParent(), msg__);
    2465             :     // Sentinel = 'hasPerspectiveParent'
    2466           0 :     (msg__)->WriteSentinel(1340430378);
    2467           0 : }
    2468             : 
    2469           0 : auto PLayerTransactionParent::Read(
    2470             :         TransformData* v__,
    2471             :         const Message* msg__,
    2472             :         PickleIterator* iter__) -> bool
    2473             : {
    2474           0 :     if ((!(Read((&((v__)->origin())), msg__, iter__)))) {
    2475           0 :         FatalError("Error deserializing 'origin' (nsPoint) member of 'TransformData'");
    2476           0 :         return false;
    2477             :     }
    2478             :     // Sentinel = 'origin'
    2479           0 :     if ((!((msg__)->ReadSentinel(iter__, 1429924608)))) {
    2480           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'origin' (nsPoint) member of 'TransformData'");
    2481           0 :         return false;
    2482             :     }
    2483           0 :     if ((!(Read((&((v__)->transformOrigin())), msg__, iter__)))) {
    2484           0 :         FatalError("Error deserializing 'transformOrigin' (Point3D) member of 'TransformData'");
    2485           0 :         return false;
    2486             :     }
    2487             :     // Sentinel = 'transformOrigin'
    2488           0 :     if ((!((msg__)->ReadSentinel(iter__, 466321709)))) {
    2489           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'transformOrigin' (Point3D) member of 'TransformData'");
    2490           0 :         return false;
    2491             :     }
    2492           0 :     if ((!(Read((&((v__)->bounds())), msg__, iter__)))) {
    2493           0 :         FatalError("Error deserializing 'bounds' (nsRect) member of 'TransformData'");
    2494           0 :         return false;
    2495             :     }
    2496             :     // Sentinel = 'bounds'
    2497           0 :     if ((!((msg__)->ReadSentinel(iter__, 809584493)))) {
    2498           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'bounds' (nsRect) member of 'TransformData'");
    2499           0 :         return false;
    2500             :     }
    2501           0 :     if ((!(Read((&((v__)->appUnitsPerDevPixel())), msg__, iter__)))) {
    2502           0 :         FatalError("Error deserializing 'appUnitsPerDevPixel' (int32_t) member of 'TransformData'");
    2503           0 :         return false;
    2504             :     }
    2505             :     // Sentinel = 'appUnitsPerDevPixel'
    2506           0 :     if ((!((msg__)->ReadSentinel(iter__, 2226875639)))) {
    2507           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'appUnitsPerDevPixel' (int32_t) member of 'TransformData'");
    2508           0 :         return false;
    2509             :     }
    2510           0 :     if ((!(Read((&((v__)->inheritedXScale())), msg__, iter__)))) {
    2511           0 :         FatalError("Error deserializing 'inheritedXScale' (float) member of 'TransformData'");
    2512           0 :         return false;
    2513             :     }
    2514             :     // Sentinel = 'inheritedXScale'
    2515           0 :     if ((!((msg__)->ReadSentinel(iter__, 1285237395)))) {
    2516           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'inheritedXScale' (float) member of 'TransformData'");
    2517           0 :         return false;
    2518             :     }
    2519           0 :     if ((!(Read((&((v__)->inheritedYScale())), msg__, iter__)))) {
    2520           0 :         FatalError("Error deserializing 'inheritedYScale' (float) member of 'TransformData'");
    2521           0 :         return false;
    2522             :     }
    2523             :     // Sentinel = 'inheritedYScale'
    2524           0 :     if ((!((msg__)->ReadSentinel(iter__, 3724217552)))) {
    2525           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'inheritedYScale' (float) member of 'TransformData'");
    2526           0 :         return false;
    2527             :     }
    2528           0 :     if ((!(Read((&((v__)->hasPerspectiveParent())), msg__, iter__)))) {
    2529           0 :         FatalError("Error deserializing 'hasPerspectiveParent' (bool) member of 'TransformData'");
    2530           0 :         return false;
    2531             :     }
    2532             :     // Sentinel = 'hasPerspectiveParent'
    2533           0 :     if ((!((msg__)->ReadSentinel(iter__, 1340430378)))) {
    2534           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'hasPerspectiveParent' (bool) member of 'TransformData'");
    2535           0 :         return false;
    2536             :     }
    2537           0 :     return true;
    2538             : }
    2539             : 
    2540           0 : auto PLayerTransactionParent::Write(
    2541             :         const OpCreateImageLayer& v__,
    2542             :         Message* msg__) -> void
    2543             : {
    2544           0 :     Write((v__).layer(), msg__);
    2545             :     // Sentinel = 'layer'
    2546           0 :     (msg__)->WriteSentinel(1899167106);
    2547           0 : }
    2548             : 
    2549           0 : auto PLayerTransactionParent::Read(
    2550             :         OpCreateImageLayer* v__,
    2551             :         const Message* msg__,
    2552             :         PickleIterator* iter__) -> bool
    2553             : {
    2554           0 :     if ((!(Read((&((v__)->layer())), msg__, iter__)))) {
    2555           0 :         FatalError("Error deserializing 'layer' (LayerHandle) member of 'OpCreateImageLayer'");
    2556           0 :         return false;
    2557             :     }
    2558             :     // Sentinel = 'layer'
    2559           0 :     if ((!((msg__)->ReadSentinel(iter__, 1899167106)))) {
    2560           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'layer' (LayerHandle) member of 'OpCreateImageLayer'");
    2561           0 :         return false;
    2562             :     }
    2563           0 :     return true;
    2564             : }
    2565             : 
    2566           0 : auto PLayerTransactionParent::Write(
    2567             :         const OpCreateCanvasLayer& v__,
    2568             :         Message* msg__) -> void
    2569             : {
    2570           0 :     Write((v__).layer(), msg__);
    2571             :     // Sentinel = 'layer'
    2572           0 :     (msg__)->WriteSentinel(1899167106);
    2573           0 : }
    2574             : 
    2575           0 : auto PLayerTransactionParent::Read(
    2576             :         OpCreateCanvasLayer* v__,
    2577             :         const Message* msg__,
    2578             :         PickleIterator* iter__) -> bool
    2579             : {
    2580           0 :     if ((!(Read((&((v__)->layer())), msg__, iter__)))) {
    2581           0 :         FatalError("Error deserializing 'layer' (LayerHandle) member of 'OpCreateCanvasLayer'");
    2582           0 :         return false;
    2583             :     }
    2584             :     // Sentinel = 'layer'
    2585           0 :     if ((!((msg__)->ReadSentinel(iter__, 1899167106)))) {
    2586           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'layer' (LayerHandle) member of 'OpCreateCanvasLayer'");
    2587           0 :         return false;
    2588             :     }
    2589           0 :     return true;
    2590             : }
    2591             : 
    2592           0 : auto PLayerTransactionParent::Write(
    2593             :         const TimingFunction& v__,
    2594             :         Message* msg__) -> void
    2595             : {
    2596             :     typedef TimingFunction type__;
    2597           0 :     Write(int((v__).type()), msg__);
    2598             :     // Sentinel = 'TimingFunction'
    2599           0 :     (msg__)->WriteSentinel(1340109572);
    2600             : 
    2601           0 :     switch ((v__).type()) {
    2602             :     case type__::Tnull_t:
    2603             :         {
    2604           0 :             Write((v__).get_null_t(), msg__);
    2605             :             // Sentinel = 'Tnull_t'
    2606           0 :             (msg__)->WriteSentinel(3731137201);
    2607           0 :             return;
    2608             :         }
    2609             :     case type__::TCubicBezierFunction:
    2610             :         {
    2611           0 :             Write((v__).get_CubicBezierFunction(), msg__);
    2612             :             // Sentinel = 'TCubicBezierFunction'
    2613           0 :             (msg__)->WriteSentinel(258133495);
    2614           0 :             return;
    2615             :         }
    2616             :     case type__::TStepFunction:
    2617             :         {
    2618           0 :             Write((v__).get_StepFunction(), msg__);
    2619             :             // Sentinel = 'TStepFunction'
    2620           0 :             (msg__)->WriteSentinel(2005731339);
    2621           0 :             return;
    2622             :         }
    2623             :     case type__::TFramesFunction:
    2624             :         {
    2625           0 :             Write((v__).get_FramesFunction(), msg__);
    2626             :             // Sentinel = 'TFramesFunction'
    2627           0 :             (msg__)->WriteSentinel(492999321);
    2628           0 :             return;
    2629             :         }
    2630             :     default:
    2631             :         {
    2632           0 :             FatalError("unknown union type");
    2633           0 :             return;
    2634             :         }
    2635             :     }
    2636             : }
    2637             : 
    2638           0 : auto PLayerTransactionParent::Read(
    2639             :         TimingFunction* v__,
    2640             :         const Message* msg__,
    2641             :         PickleIterator* iter__) -> bool
    2642             : {
    2643             :     typedef TimingFunction type__;
    2644             :     int type;
    2645           0 :     if ((!(Read((&(type)), msg__, iter__)))) {
    2646           0 :         mozilla::ipc::UnionTypeReadError("TimingFunction");
    2647           0 :         return false;
    2648             :     }
    2649             :     // Sentinel = 'TimingFunction'
    2650           0 :     if ((!((msg__)->ReadSentinel(iter__, 1340109572)))) {
    2651           0 :         mozilla::ipc::SentinelReadError("TimingFunction");
    2652           0 :         return false;
    2653             :     }
    2654             : 
    2655           0 :     switch (type) {
    2656             :     case type__::Tnull_t:
    2657             :         {
    2658             :             null_t tmp = null_t();
    2659           0 :             (*(v__)) = tmp;
    2660           0 :             if ((!(Read((&((v__)->get_null_t())), msg__, iter__)))) {
    2661           0 :                 FatalError("Error deserializing Union type");
    2662           0 :                 return false;
    2663             :             }
    2664             :             // Sentinel = 'Tnull_t'
    2665           0 :             if ((!((msg__)->ReadSentinel(iter__, 3731137201)))) {
    2666           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    2667           0 :                 return false;
    2668             :             }
    2669           0 :             return true;
    2670             :         }
    2671             :     case type__::TCubicBezierFunction:
    2672             :         {
    2673           0 :             CubicBezierFunction tmp = CubicBezierFunction();
    2674           0 :             (*(v__)) = tmp;
    2675           0 :             if ((!(Read((&((v__)->get_CubicBezierFunction())), msg__, iter__)))) {
    2676           0 :                 FatalError("Error deserializing Union type");
    2677           0 :                 return false;
    2678             :             }
    2679             :             // Sentinel = 'TCubicBezierFunction'
    2680           0 :             if ((!((msg__)->ReadSentinel(iter__, 258133495)))) {
    2681           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    2682           0 :                 return false;
    2683             :             }
    2684           0 :             return true;
    2685             :         }
    2686             :     case type__::TStepFunction:
    2687             :         {
    2688           0 :             StepFunction tmp = StepFunction();
    2689           0 :             (*(v__)) = tmp;
    2690           0 :             if ((!(Read((&((v__)->get_StepFunction())), msg__, iter__)))) {
    2691           0 :                 FatalError("Error deserializing Union type");
    2692           0 :                 return false;
    2693             :             }
    2694             :             // Sentinel = 'TStepFunction'
    2695           0 :             if ((!((msg__)->ReadSentinel(iter__, 2005731339)))) {
    2696           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    2697           0 :                 return false;
    2698             :             }
    2699           0 :             return true;
    2700             :         }
    2701             :     case type__::TFramesFunction:
    2702             :         {
    2703           0 :             FramesFunction tmp = FramesFunction();
    2704           0 :             (*(v__)) = tmp;
    2705           0 :             if ((!(Read((&((v__)->get_FramesFunction())), msg__, iter__)))) {
    2706           0 :                 FatalError("Error deserializing Union type");
    2707           0 :                 return false;
    2708             :             }
    2709             :             // Sentinel = 'TFramesFunction'
    2710           0 :             if ((!((msg__)->ReadSentinel(iter__, 492999321)))) {
    2711           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    2712           0 :                 return false;
    2713             :             }
    2714           0 :             return true;
    2715             :         }
    2716             :     default:
    2717             :         {
    2718           0 :             FatalError("unknown union type");
    2719           0 :             return false;
    2720             :         }
    2721             :     }
    2722             : }
    2723             : 
    2724           0 : auto PLayerTransactionParent::Write(
    2725             :         const StepFunction& v__,
    2726             :         Message* msg__) -> void
    2727             : {
    2728           0 :     Write((v__).steps(), msg__);
    2729             :     // Sentinel = 'steps'
    2730           0 :     (msg__)->WriteSentinel(713197172);
    2731           0 :     Write((v__).type(), msg__);
    2732             :     // Sentinel = 'type'
    2733           0 :     (msg__)->WriteSentinel(2982068540);
    2734           0 : }
    2735             : 
    2736           0 : auto PLayerTransactionParent::Read(
    2737             :         StepFunction* v__,
    2738             :         const Message* msg__,
    2739             :         PickleIterator* iter__) -> bool
    2740             : {
    2741           0 :     if ((!(Read((&((v__)->steps())), msg__, iter__)))) {
    2742           0 :         FatalError("Error deserializing 'steps' (int) member of 'StepFunction'");
    2743           0 :         return false;
    2744             :     }
    2745             :     // Sentinel = 'steps'
    2746           0 :     if ((!((msg__)->ReadSentinel(iter__, 713197172)))) {
    2747           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'steps' (int) member of 'StepFunction'");
    2748           0 :         return false;
    2749             :     }
    2750           0 :     if ((!(Read((&((v__)->type())), msg__, iter__)))) {
    2751           0 :         FatalError("Error deserializing 'type' (int) member of 'StepFunction'");
    2752           0 :         return false;
    2753             :     }
    2754             :     // Sentinel = 'type'
    2755           0 :     if ((!((msg__)->ReadSentinel(iter__, 2982068540)))) {
    2756           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'type' (int) member of 'StepFunction'");
    2757           0 :         return false;
    2758             :     }
    2759           0 :     return true;
    2760             : }
    2761             : 
    2762           0 : auto PLayerTransactionParent::Write(
    2763             :         const PTextureParent* v__,
    2764             :         Message* msg__,
    2765             :         bool nullable__) -> void
    2766             : {
    2767             :     int32_t id;
    2768           0 :     if ((!(v__))) {
    2769           0 :         if ((!(nullable__))) {
    2770           0 :             FatalError("NULL actor value passed to non-nullable param");
    2771             :         }
    2772           0 :         id = 0;
    2773             :     }
    2774             :     else {
    2775           0 :         id = (v__)->Id();
    2776           0 :         if ((1) == (id)) {
    2777           0 :             FatalError("actor has been |delete|d");
    2778             :         }
    2779             :     }
    2780             : 
    2781           0 :     Write(id, msg__);
    2782           0 : }
    2783             : 
    2784          35 : auto PLayerTransactionParent::Read(
    2785             :         PTextureParent** v__,
    2786             :         const Message* msg__,
    2787             :         PickleIterator* iter__,
    2788             :         bool nullable__) -> bool
    2789             : {
    2790          70 :     Maybe<mozilla::ipc::IProtocol*> actor = ReadActor(msg__, iter__, nullable__, "PTexture", PTextureMsgStart);
    2791          35 :     if ((actor).isNothing()) {
    2792           0 :         return false;
    2793             :     }
    2794             : 
    2795          35 :     (*(v__)) = static_cast<PTextureParent*>((actor).value());
    2796          35 :     return true;
    2797             : }
    2798             : 
    2799           0 : auto PLayerTransactionParent::Write(
    2800             :         const OpPaintTextureRegion& v__,
    2801             :         Message* msg__) -> void
    2802             : {
    2803           0 :     Write((v__).bufferData(), msg__);
    2804             :     // Sentinel = 'bufferData'
    2805           0 :     (msg__)->WriteSentinel(1624783476);
    2806           0 :     Write((v__).updatedRegion(), msg__);
    2807             :     // Sentinel = 'updatedRegion'
    2808           0 :     (msg__)->WriteSentinel(2578696480);
    2809           0 : }
    2810             : 
    2811          33 : auto PLayerTransactionParent::Read(
    2812             :         OpPaintTextureRegion* v__,
    2813             :         const Message* msg__,
    2814             :         PickleIterator* iter__) -> bool
    2815             : {
    2816          33 :     if ((!(Read((&((v__)->bufferData())), msg__, iter__)))) {
    2817           0 :         FatalError("Error deserializing 'bufferData' (ThebesBufferData) member of 'OpPaintTextureRegion'");
    2818           0 :         return false;
    2819             :     }
    2820             :     // Sentinel = 'bufferData'
    2821          33 :     if ((!((msg__)->ReadSentinel(iter__, 1624783476)))) {
    2822           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'bufferData' (ThebesBufferData) member of 'OpPaintTextureRegion'");
    2823           0 :         return false;
    2824             :     }
    2825          33 :     if ((!(Read((&((v__)->updatedRegion())), msg__, iter__)))) {
    2826           0 :         FatalError("Error deserializing 'updatedRegion' (nsIntRegion) member of 'OpPaintTextureRegion'");
    2827           0 :         return false;
    2828             :     }
    2829             :     // Sentinel = 'updatedRegion'
    2830          33 :     if ((!((msg__)->ReadSentinel(iter__, 2578696480)))) {
    2831           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'updatedRegion' (nsIntRegion) member of 'OpPaintTextureRegion'");
    2832           0 :         return false;
    2833             :     }
    2834          33 :     return true;
    2835             : }
    2836             : 
    2837           0 : auto PLayerTransactionParent::Write(
    2838             :         const CompositorAnimations& v__,
    2839             :         Message* msg__) -> void
    2840             : {
    2841           0 :     Write((v__).animations(), msg__);
    2842             :     // Sentinel = 'animations'
    2843           0 :     (msg__)->WriteSentinel(2502829527);
    2844           0 :     Write((v__).id(), msg__);
    2845             :     // Sentinel = 'id'
    2846           0 :     (msg__)->WriteSentinel(2794505629);
    2847           0 : }
    2848             : 
    2849         124 : auto PLayerTransactionParent::Read(
    2850             :         CompositorAnimations* v__,
    2851             :         const Message* msg__,
    2852             :         PickleIterator* iter__) -> bool
    2853             : {
    2854         124 :     if ((!(Read((&((v__)->animations())), msg__, iter__)))) {
    2855           0 :         FatalError("Error deserializing 'animations' (Animation[]) member of 'CompositorAnimations'");
    2856           0 :         return false;
    2857             :     }
    2858             :     // Sentinel = 'animations'
    2859         124 :     if ((!((msg__)->ReadSentinel(iter__, 2502829527)))) {
    2860           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'animations' (Animation[]) member of 'CompositorAnimations'");
    2861           0 :         return false;
    2862             :     }
    2863         124 :     if ((!(Read((&((v__)->id())), msg__, iter__)))) {
    2864           0 :         FatalError("Error deserializing 'id' (uint64_t) member of 'CompositorAnimations'");
    2865           0 :         return false;
    2866             :     }
    2867             :     // Sentinel = 'id'
    2868         124 :     if ((!((msg__)->ReadSentinel(iter__, 2794505629)))) {
    2869           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'id' (uint64_t) member of 'CompositorAnimations'");
    2870           0 :         return false;
    2871             :     }
    2872         124 :     return true;
    2873             : }
    2874             : 
    2875           0 : auto PLayerTransactionParent::Write(
    2876             :         const OpAttachAsyncCompositable& v__,
    2877             :         Message* msg__) -> void
    2878             : {
    2879           0 :     Write((v__).layer(), msg__);
    2880             :     // Sentinel = 'layer'
    2881           0 :     (msg__)->WriteSentinel(1899167106);
    2882           0 :     Write((v__).compositable(), msg__);
    2883             :     // Sentinel = 'compositable'
    2884           0 :     (msg__)->WriteSentinel(4031958248);
    2885           0 : }
    2886             : 
    2887           0 : auto PLayerTransactionParent::Read(
    2888             :         OpAttachAsyncCompositable* v__,
    2889             :         const Message* msg__,
    2890             :         PickleIterator* iter__) -> bool
    2891             : {
    2892           0 :     if ((!(Read((&((v__)->layer())), msg__, iter__)))) {
    2893           0 :         FatalError("Error deserializing 'layer' (LayerHandle) member of 'OpAttachAsyncCompositable'");
    2894           0 :         return false;
    2895             :     }
    2896             :     // Sentinel = 'layer'
    2897           0 :     if ((!((msg__)->ReadSentinel(iter__, 1899167106)))) {
    2898           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'layer' (LayerHandle) member of 'OpAttachAsyncCompositable'");
    2899           0 :         return false;
    2900             :     }
    2901           0 :     if ((!(Read((&((v__)->compositable())), msg__, iter__)))) {
    2902           0 :         FatalError("Error deserializing 'compositable' (CompositableHandle) member of 'OpAttachAsyncCompositable'");
    2903           0 :         return false;
    2904             :     }
    2905             :     // Sentinel = 'compositable'
    2906           0 :     if ((!((msg__)->ReadSentinel(iter__, 4031958248)))) {
    2907           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'compositable' (CompositableHandle) member of 'OpAttachAsyncCompositable'");
    2908           0 :         return false;
    2909             :     }
    2910           0 :     return true;
    2911             : }
    2912             : 
    2913           0 : auto PLayerTransactionParent::Write(
    2914             :         const nsTArray<PluginWindowData>& v__,
    2915             :         Message* msg__) -> void
    2916             : {
    2917           0 :     uint32_t length = (v__).Length();
    2918           0 :     Write(length, msg__);
    2919             :     // Sentinel = ('length', 'PluginWindowData[]')
    2920           0 :     (msg__)->WriteSentinel(3757363184);
    2921             : 
    2922           0 :     for (auto& elem : v__) {
    2923           0 :         Write(elem, msg__);
    2924             :         // Sentinel = 'PluginWindowData[]'
    2925           0 :         (msg__)->WriteSentinel(3814367271);
    2926             :     }
    2927           0 : }
    2928             : 
    2929          28 : auto PLayerTransactionParent::Read(
    2930             :         nsTArray<PluginWindowData>* v__,
    2931             :         const Message* msg__,
    2932             :         PickleIterator* iter__) -> bool
    2933             : {
    2934          56 :     nsTArray<PluginWindowData> fa;
    2935             :     uint32_t length;
    2936          28 :     if ((!(Read((&(length)), msg__, iter__)))) {
    2937           0 :         mozilla::ipc::ArrayLengthReadError("PluginWindowData[]");
    2938           0 :         return false;
    2939             :     }
    2940             :     // Sentinel = ('length', 'PluginWindowData[]')
    2941          28 :     if ((!((msg__)->ReadSentinel(iter__, 3757363184)))) {
    2942           0 :         mozilla::ipc::SentinelReadError("PluginWindowData[]");
    2943           0 :         return false;
    2944             :     }
    2945             : 
    2946          28 :     PluginWindowData* elems = (fa).AppendElements(length);
    2947          28 :     for (uint32_t i = 0; (i) < (length); (++(i))) {
    2948           0 :         if ((!(Read((&(elems[i])), msg__, iter__)))) {
    2949           0 :             FatalError("Error deserializing 'PluginWindowData[i]'");
    2950           0 :             return false;
    2951             :         }
    2952             :         // Sentinel = 'PluginWindowData[]'
    2953           0 :         if ((!((msg__)->ReadSentinel(iter__, 3814367271)))) {
    2954           0 :             mozilla::ipc::SentinelReadError("Error deserializing 'PluginWindowData[i]'");
    2955           0 :             return false;
    2956             :         }
    2957             :     }
    2958          28 :     (v__)->SwapElements(fa);
    2959          28 :     return true;
    2960             : }
    2961             : 
    2962           0 : auto PLayerTransactionParent::Write(
    2963             :         const OpCreateColorLayer& v__,
    2964             :         Message* msg__) -> void
    2965             : {
    2966           0 :     Write((v__).layer(), msg__);
    2967             :     // Sentinel = 'layer'
    2968           0 :     (msg__)->WriteSentinel(1899167106);
    2969           0 : }
    2970             : 
    2971           4 : auto PLayerTransactionParent::Read(
    2972             :         OpCreateColorLayer* v__,
    2973             :         const Message* msg__,
    2974             :         PickleIterator* iter__) -> bool
    2975             : {
    2976           4 :     if ((!(Read((&((v__)->layer())), msg__, iter__)))) {
    2977           0 :         FatalError("Error deserializing 'layer' (LayerHandle) member of 'OpCreateColorLayer'");
    2978           0 :         return false;
    2979             :     }
    2980             :     // Sentinel = 'layer'
    2981           4 :     if ((!((msg__)->ReadSentinel(iter__, 1899167106)))) {
    2982           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'layer' (LayerHandle) member of 'OpCreateColorLayer'");
    2983           0 :         return false;
    2984             :     }
    2985           4 :     return true;
    2986             : }
    2987             : 
    2988           0 : auto PLayerTransactionParent::Write(
    2989             :         const CrossProcessSemaphoreDescriptor& v__,
    2990             :         Message* msg__) -> void
    2991             : {
    2992           0 :     Write((v__).sem(), msg__);
    2993             :     // Sentinel = 'sem'
    2994           0 :     (msg__)->WriteSentinel(3763377306);
    2995           0 : }
    2996             : 
    2997          33 : auto PLayerTransactionParent::Read(
    2998             :         CrossProcessSemaphoreDescriptor* v__,
    2999             :         const Message* msg__,
    3000             :         PickleIterator* iter__) -> bool
    3001             : {
    3002          33 :     if ((!(Read((&((v__)->sem())), msg__, iter__)))) {
    3003           0 :         FatalError("Error deserializing 'sem' (CrossProcessSemaphoreHandle) member of 'CrossProcessSemaphoreDescriptor'");
    3004           0 :         return false;
    3005             :     }
    3006             :     // Sentinel = 'sem'
    3007          33 :     if ((!((msg__)->ReadSentinel(iter__, 3763377306)))) {
    3008           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'sem' (CrossProcessSemaphoreHandle) member of 'CrossProcessSemaphoreDescriptor'");
    3009           0 :         return false;
    3010             :     }
    3011          33 :     return true;
    3012             : }
    3013             : 
    3014           0 : auto PLayerTransactionParent::Write(
    3015             :         const Translation& v__,
    3016             :         Message* msg__) -> void
    3017             : {
    3018           0 :     Write((v__).x(), msg__);
    3019             :     // Sentinel = 'x'
    3020           0 :     (msg__)->WriteSentinel(2475144313);
    3021           0 :     Write((v__).y(), msg__);
    3022             :     // Sentinel = 'y'
    3023           0 :     (msg__)->WriteSentinel(2603144696);
    3024           0 :     Write((v__).z(), msg__);
    3025             :     // Sentinel = 'z'
    3026           0 :     (msg__)->WriteSentinel(2731145083);
    3027           0 : }
    3028             : 
    3029           0 : auto PLayerTransactionParent::Read(
    3030             :         Translation* v__,
    3031             :         const Message* msg__,
    3032             :         PickleIterator* iter__) -> bool
    3033             : {
    3034           0 :     if ((!(Read((&((v__)->x())), msg__, iter__)))) {
    3035           0 :         FatalError("Error deserializing 'x' (float) member of 'Translation'");
    3036           0 :         return false;
    3037             :     }
    3038             :     // Sentinel = 'x'
    3039           0 :     if ((!((msg__)->ReadSentinel(iter__, 2475144313)))) {
    3040           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'x' (float) member of 'Translation'");
    3041           0 :         return false;
    3042             :     }
    3043           0 :     if ((!(Read((&((v__)->y())), msg__, iter__)))) {
    3044           0 :         FatalError("Error deserializing 'y' (float) member of 'Translation'");
    3045           0 :         return false;
    3046             :     }
    3047             :     // Sentinel = 'y'
    3048           0 :     if ((!((msg__)->ReadSentinel(iter__, 2603144696)))) {
    3049           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'y' (float) member of 'Translation'");
    3050           0 :         return false;
    3051             :     }
    3052           0 :     if ((!(Read((&((v__)->z())), msg__, iter__)))) {
    3053           0 :         FatalError("Error deserializing 'z' (float) member of 'Translation'");
    3054           0 :         return false;
    3055             :     }
    3056             :     // Sentinel = 'z'
    3057           0 :     if ((!((msg__)->ReadSentinel(iter__, 2731145083)))) {
    3058           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'z' (float) member of 'Translation'");
    3059           0 :         return false;
    3060             :     }
    3061           0 :     return true;
    3062             : }
    3063             : 
    3064           0 : auto PLayerTransactionParent::Write(
    3065             :         const OpRemoveTexture& v__,
    3066             :         Message* msg__) -> void
    3067             : {
    3068           0 :     Write((v__).textureParent(), msg__, false);
    3069             :     // Sentinel = 'texture'
    3070           0 :     (msg__)->WriteSentinel(3654462510);
    3071             :     // skipping actor field that's meaningless on this side
    3072           0 : }
    3073             : 
    3074           0 : auto PLayerTransactionParent::Read(
    3075             :         OpRemoveTexture* v__,
    3076             :         const Message* msg__,
    3077             :         PickleIterator* iter__) -> bool
    3078             : {
    3079           0 :     if ((!(Read((&((v__)->textureParent())), msg__, iter__, false)))) {
    3080           0 :         FatalError("Error deserializing 'textureParent' (PTexture) member of 'OpRemoveTexture'");
    3081           0 :         return false;
    3082             :     }
    3083             :     // Sentinel = 'texture'
    3084           0 :     if ((!((msg__)->ReadSentinel(iter__, 3654462510)))) {
    3085           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'textureParent' (PTexture) member of 'OpRemoveTexture'");
    3086           0 :         return false;
    3087             :     }
    3088             :     // skipping actor field that's meaningless on this side
    3089           0 :     return true;
    3090             : }
    3091             : 
    3092           0 : auto PLayerTransactionParent::Write(
    3093             :         const TimedTexture& v__,
    3094             :         Message* msg__) -> void
    3095             : {
    3096           0 :     Write((v__).textureParent(), msg__, false);
    3097             :     // Sentinel = 'texture'
    3098           0 :     (msg__)->WriteSentinel(3654462510);
    3099             :     // skipping actor field that's meaningless on this side
    3100           0 :     Write((v__).sharedLock(), msg__);
    3101             :     // Sentinel = 'sharedLock'
    3102           0 :     (msg__)->WriteSentinel(1249896484);
    3103           0 :     Write((v__).timeStamp(), msg__);
    3104             :     // Sentinel = 'timeStamp'
    3105           0 :     (msg__)->WriteSentinel(988250409);
    3106           0 :     Write((v__).picture(), msg__);
    3107             :     // Sentinel = 'picture'
    3108           0 :     (msg__)->WriteSentinel(3195561921);
    3109           0 :     Write((v__).frameID(), msg__);
    3110             :     // Sentinel = 'frameID'
    3111           0 :     (msg__)->WriteSentinel(3054835247);
    3112           0 :     Write((v__).producerID(), msg__);
    3113             :     // Sentinel = 'producerID'
    3114           0 :     (msg__)->WriteSentinel(1942472743);
    3115           0 : }
    3116             : 
    3117          33 : auto PLayerTransactionParent::Read(
    3118             :         TimedTexture* v__,
    3119             :         const Message* msg__,
    3120             :         PickleIterator* iter__) -> bool
    3121             : {
    3122          33 :     if ((!(Read((&((v__)->textureParent())), msg__, iter__, false)))) {
    3123           0 :         FatalError("Error deserializing 'textureParent' (PTexture) member of 'TimedTexture'");
    3124           0 :         return false;
    3125             :     }
    3126             :     // Sentinel = 'texture'
    3127          33 :     if ((!((msg__)->ReadSentinel(iter__, 3654462510)))) {
    3128           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'textureParent' (PTexture) member of 'TimedTexture'");
    3129           0 :         return false;
    3130             :     }
    3131             :     // skipping actor field that's meaningless on this side
    3132          33 :     if ((!(Read((&((v__)->sharedLock())), msg__, iter__)))) {
    3133           0 :         FatalError("Error deserializing 'sharedLock' (ReadLockHandle) member of 'TimedTexture'");
    3134           0 :         return false;
    3135             :     }
    3136             :     // Sentinel = 'sharedLock'
    3137          33 :     if ((!((msg__)->ReadSentinel(iter__, 1249896484)))) {
    3138           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'sharedLock' (ReadLockHandle) member of 'TimedTexture'");
    3139           0 :         return false;
    3140             :     }
    3141          33 :     if ((!(Read((&((v__)->timeStamp())), msg__, iter__)))) {
    3142           0 :         FatalError("Error deserializing 'timeStamp' (TimeStamp) member of 'TimedTexture'");
    3143           0 :         return false;
    3144             :     }
    3145             :     // Sentinel = 'timeStamp'
    3146          33 :     if ((!((msg__)->ReadSentinel(iter__, 988250409)))) {
    3147           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'timeStamp' (TimeStamp) member of 'TimedTexture'");
    3148           0 :         return false;
    3149             :     }
    3150          33 :     if ((!(Read((&((v__)->picture())), msg__, iter__)))) {
    3151           0 :         FatalError("Error deserializing 'picture' (IntRect) member of 'TimedTexture'");
    3152           0 :         return false;
    3153             :     }
    3154             :     // Sentinel = 'picture'
    3155          33 :     if ((!((msg__)->ReadSentinel(iter__, 3195561921)))) {
    3156           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'picture' (IntRect) member of 'TimedTexture'");
    3157           0 :         return false;
    3158             :     }
    3159          33 :     if ((!(Read((&((v__)->frameID())), msg__, iter__)))) {
    3160           0 :         FatalError("Error deserializing 'frameID' (uint32_t) member of 'TimedTexture'");
    3161           0 :         return false;
    3162             :     }
    3163             :     // Sentinel = 'frameID'
    3164          33 :     if ((!((msg__)->ReadSentinel(iter__, 3054835247)))) {
    3165           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'frameID' (uint32_t) member of 'TimedTexture'");
    3166           0 :         return false;
    3167             :     }
    3168          33 :     if ((!(Read((&((v__)->producerID())), msg__, iter__)))) {
    3169           0 :         FatalError("Error deserializing 'producerID' (uint32_t) member of 'TimedTexture'");
    3170           0 :         return false;
    3171             :     }
    3172             :     // Sentinel = 'producerID'
    3173          33 :     if ((!((msg__)->ReadSentinel(iter__, 1942472743)))) {
    3174           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'producerID' (uint32_t) member of 'TimedTexture'");
    3175           0 :         return false;
    3176             :     }
    3177          33 :     return true;
    3178             : }
    3179             : 
    3180           0 : auto PLayerTransactionParent::Write(
    3181             :         const AnimationSegment& v__,
    3182             :         Message* msg__) -> void
    3183             : {
    3184           0 :     Write((v__).startState(), msg__);
    3185             :     // Sentinel = 'startState'
    3186           0 :     (msg__)->WriteSentinel(4108886385);
    3187           0 :     Write((v__).endState(), msg__);
    3188             :     // Sentinel = 'endState'
    3189           0 :     (msg__)->WriteSentinel(1429422250);
    3190           0 :     Write((v__).startPortion(), msg__);
    3191             :     // Sentinel = 'startPortion'
    3192           0 :     (msg__)->WriteSentinel(3719513325);
    3193           0 :     Write((v__).endPortion(), msg__);
    3194             :     // Sentinel = 'endPortion'
    3195           0 :     (msg__)->WriteSentinel(2820069090);
    3196           0 :     Write((v__).startComposite(), msg__);
    3197             :     // Sentinel = 'startComposite'
    3198           0 :     (msg__)->WriteSentinel(293778843);
    3199           0 :     Write((v__).endComposite(), msg__);
    3200             :     // Sentinel = 'endComposite'
    3201           0 :     (msg__)->WriteSentinel(734492384);
    3202           0 :     Write((v__).sampleFn(), msg__);
    3203             :     // Sentinel = 'sampleFn'
    3204           0 :     (msg__)->WriteSentinel(939676522);
    3205           0 : }
    3206             : 
    3207           0 : auto PLayerTransactionParent::Read(
    3208             :         AnimationSegment* v__,
    3209             :         const Message* msg__,
    3210             :         PickleIterator* iter__) -> bool
    3211             : {
    3212           0 :     if ((!(Read((&((v__)->startState())), msg__, iter__)))) {
    3213           0 :         FatalError("Error deserializing 'startState' (Animatable) member of 'AnimationSegment'");
    3214           0 :         return false;
    3215             :     }
    3216             :     // Sentinel = 'startState'
    3217           0 :     if ((!((msg__)->ReadSentinel(iter__, 4108886385)))) {
    3218           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'startState' (Animatable) member of 'AnimationSegment'");
    3219           0 :         return false;
    3220             :     }
    3221           0 :     if ((!(Read((&((v__)->endState())), msg__, iter__)))) {
    3222           0 :         FatalError("Error deserializing 'endState' (Animatable) member of 'AnimationSegment'");
    3223           0 :         return false;
    3224             :     }
    3225             :     // Sentinel = 'endState'
    3226           0 :     if ((!((msg__)->ReadSentinel(iter__, 1429422250)))) {
    3227           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'endState' (Animatable) member of 'AnimationSegment'");
    3228           0 :         return false;
    3229             :     }
    3230           0 :     if ((!(Read((&((v__)->startPortion())), msg__, iter__)))) {
    3231           0 :         FatalError("Error deserializing 'startPortion' (float) member of 'AnimationSegment'");
    3232           0 :         return false;
    3233             :     }
    3234             :     // Sentinel = 'startPortion'
    3235           0 :     if ((!((msg__)->ReadSentinel(iter__, 3719513325)))) {
    3236           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'startPortion' (float) member of 'AnimationSegment'");
    3237           0 :         return false;
    3238             :     }
    3239           0 :     if ((!(Read((&((v__)->endPortion())), msg__, iter__)))) {
    3240           0 :         FatalError("Error deserializing 'endPortion' (float) member of 'AnimationSegment'");
    3241           0 :         return false;
    3242             :     }
    3243             :     // Sentinel = 'endPortion'
    3244           0 :     if ((!((msg__)->ReadSentinel(iter__, 2820069090)))) {
    3245           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'endPortion' (float) member of 'AnimationSegment'");
    3246           0 :         return false;
    3247             :     }
    3248           0 :     if ((!(Read((&((v__)->startComposite())), msg__, iter__)))) {
    3249           0 :         FatalError("Error deserializing 'startComposite' (uint8_t) member of 'AnimationSegment'");
    3250           0 :         return false;
    3251             :     }
    3252             :     // Sentinel = 'startComposite'
    3253           0 :     if ((!((msg__)->ReadSentinel(iter__, 293778843)))) {
    3254           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'startComposite' (uint8_t) member of 'AnimationSegment'");
    3255           0 :         return false;
    3256             :     }
    3257           0 :     if ((!(Read((&((v__)->endComposite())), msg__, iter__)))) {
    3258           0 :         FatalError("Error deserializing 'endComposite' (uint8_t) member of 'AnimationSegment'");
    3259           0 :         return false;
    3260             :     }
    3261             :     // Sentinel = 'endComposite'
    3262           0 :     if ((!((msg__)->ReadSentinel(iter__, 734492384)))) {
    3263           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'endComposite' (uint8_t) member of 'AnimationSegment'");
    3264           0 :         return false;
    3265             :     }
    3266           0 :     if ((!(Read((&((v__)->sampleFn())), msg__, iter__)))) {
    3267           0 :         FatalError("Error deserializing 'sampleFn' (TimingFunction) member of 'AnimationSegment'");
    3268           0 :         return false;
    3269             :     }
    3270             :     // Sentinel = 'sampleFn'
    3271           0 :     if ((!((msg__)->ReadSentinel(iter__, 939676522)))) {
    3272           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'sampleFn' (TimingFunction) member of 'AnimationSegment'");
    3273           0 :         return false;
    3274             :     }
    3275           0 :     return true;
    3276             : }
    3277             : 
    3278           0 : auto PLayerTransactionParent::Write(
    3279             :         const OpSetDiagnosticTypes& v__,
    3280             :         Message* msg__) -> void
    3281             : {
    3282           0 :     Write((v__).diagnostics(), msg__);
    3283             :     // Sentinel = 'diagnostics'
    3284           0 :     (msg__)->WriteSentinel(2961767415);
    3285           0 : }
    3286             : 
    3287           0 : auto PLayerTransactionParent::Read(
    3288             :         OpSetDiagnosticTypes* v__,
    3289             :         const Message* msg__,
    3290             :         PickleIterator* iter__) -> bool
    3291             : {
    3292           0 :     if ((!(Read((&((v__)->diagnostics())), msg__, iter__)))) {
    3293           0 :         FatalError("Error deserializing 'diagnostics' (DiagnosticTypes) member of 'OpSetDiagnosticTypes'");
    3294           0 :         return false;
    3295             :     }
    3296             :     // Sentinel = 'diagnostics'
    3297           0 :     if ((!((msg__)->ReadSentinel(iter__, 2961767415)))) {
    3298           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'diagnostics' (DiagnosticTypes) member of 'OpSetDiagnosticTypes'");
    3299           0 :         return false;
    3300             :     }
    3301           0 :     return true;
    3302             : }
    3303             : 
    3304           0 : auto PLayerTransactionParent::Write(
    3305             :         const FramesFunction& v__,
    3306             :         Message* msg__) -> void
    3307             : {
    3308           0 :     Write((v__).frames(), msg__);
    3309             :     // Sentinel = 'frames'
    3310           0 :     (msg__)->WriteSentinel(3065599768);
    3311           0 : }
    3312             : 
    3313           0 : auto PLayerTransactionParent::Read(
    3314             :         FramesFunction* v__,
    3315             :         const Message* msg__,
    3316             :         PickleIterator* iter__) -> bool
    3317             : {
    3318           0 :     if ((!(Read((&((v__)->frames())), msg__, iter__)))) {
    3319           0 :         FatalError("Error deserializing 'frames' (int) member of 'FramesFunction'");
    3320           0 :         return false;
    3321             :     }
    3322             :     // Sentinel = 'frames'
    3323           0 :     if ((!((msg__)->ReadSentinel(iter__, 3065599768)))) {
    3324           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'frames' (int) member of 'FramesFunction'");
    3325           0 :         return false;
    3326             :     }
    3327           0 :     return true;
    3328             : }
    3329             : 
    3330           0 : auto PLayerTransactionParent::Write(
    3331             :         const SkewX& v__,
    3332             :         Message* msg__) -> void
    3333             : {
    3334           0 :     Write((v__).x(), msg__);
    3335             :     // Sentinel = 'x'
    3336           0 :     (msg__)->WriteSentinel(2475144313);
    3337           0 : }
    3338             : 
    3339           0 : auto PLayerTransactionParent::Read(
    3340             :         SkewX* v__,
    3341             :         const Message* msg__,
    3342             :         PickleIterator* iter__) -> bool
    3343             : {
    3344           0 :     if ((!(Read((&((v__)->x())), msg__, iter__)))) {
    3345           0 :         FatalError("Error deserializing 'x' (CSSAngle) member of 'SkewX'");
    3346           0 :         return false;
    3347             :     }
    3348             :     // Sentinel = 'x'
    3349           0 :     if ((!((msg__)->ReadSentinel(iter__, 2475144313)))) {
    3350           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'x' (CSSAngle) member of 'SkewX'");
    3351           0 :         return false;
    3352             :     }
    3353           0 :     return true;
    3354             : }
    3355             : 
    3356           0 : auto PLayerTransactionParent::Write(
    3357             :         const SkewY& v__,
    3358             :         Message* msg__) -> void
    3359             : {
    3360           0 :     Write((v__).y(), msg__);
    3361             :     // Sentinel = 'y'
    3362           0 :     (msg__)->WriteSentinel(2603144696);
    3363           0 : }
    3364             : 
    3365           0 : auto PLayerTransactionParent::Read(
    3366             :         SkewY* v__,
    3367             :         const Message* msg__,
    3368             :         PickleIterator* iter__) -> bool
    3369             : {
    3370           0 :     if ((!(Read((&((v__)->y())), msg__, iter__)))) {
    3371           0 :         FatalError("Error deserializing 'y' (CSSAngle) member of 'SkewY'");
    3372           0 :         return false;
    3373             :     }
    3374             :     // Sentinel = 'y'
    3375           0 :     if ((!((msg__)->ReadSentinel(iter__, 2603144696)))) {
    3376           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'y' (CSSAngle) member of 'SkewY'");
    3377           0 :         return false;
    3378             :     }
    3379           0 :     return true;
    3380             : }
    3381             : 
    3382           0 : auto PLayerTransactionParent::Write(
    3383             :         Shmem& v__,
    3384             :         Message* msg__) -> void
    3385             : {
    3386           0 :     IPC::WriteParam(msg__, v__);
    3387           0 :     (v__).RevokeRights(Shmem::IHadBetterBeIPDLCodeCallingThis_OtherwiseIAmADoodyhead());
    3388           0 :     (v__).forget(Shmem::IHadBetterBeIPDLCodeCallingThis_OtherwiseIAmADoodyhead());
    3389           0 : }
    3390             : 
    3391           0 : auto PLayerTransactionParent::Read(
    3392             :         Shmem* v__,
    3393             :         const Message* msg__,
    3394             :         PickleIterator* iter__) -> bool
    3395             : {
    3396           0 :     Shmem tmp;
    3397           0 :     if ((!(IPC::ReadParam(msg__, iter__, (&(tmp)))))) {
    3398           0 :         return false;
    3399             :     }
    3400             : 
    3401           0 :     Shmem::id_t shmemid = (tmp).Id(Shmem::IHadBetterBeIPDLCodeCallingThis_OtherwiseIAmADoodyhead());
    3402           0 :     Shmem::SharedMemory* rawmem = LookupSharedMemory(shmemid);
    3403           0 :     if (rawmem) {
    3404           0 :         (*(v__)) = Shmem(Shmem::IHadBetterBeIPDLCodeCallingThis_OtherwiseIAmADoodyhead(), rawmem, shmemid);
    3405           0 :         return true;
    3406             :     }
    3407           0 :     (*(v__)) = Shmem();
    3408           0 :     return true;
    3409             : }
    3410             : 
    3411           0 : auto PLayerTransactionParent::Write(
    3412             :         const OpCreateBorderLayer& v__,
    3413             :         Message* msg__) -> void
    3414             : {
    3415           0 :     Write((v__).layer(), msg__);
    3416             :     // Sentinel = 'layer'
    3417           0 :     (msg__)->WriteSentinel(1899167106);
    3418           0 : }
    3419             : 
    3420           0 : auto PLayerTransactionParent::Read(
    3421             :         OpCreateBorderLayer* v__,
    3422             :         const Message* msg__,
    3423             :         PickleIterator* iter__) -> bool
    3424             : {
    3425           0 :     if ((!(Read((&((v__)->layer())), msg__, iter__)))) {
    3426           0 :         FatalError("Error deserializing 'layer' (LayerHandle) member of 'OpCreateBorderLayer'");
    3427           0 :         return false;
    3428             :     }
    3429             :     // Sentinel = 'layer'
    3430           0 :     if ((!((msg__)->ReadSentinel(iter__, 1899167106)))) {
    3431           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'layer' (LayerHandle) member of 'OpCreateBorderLayer'");
    3432           0 :         return false;
    3433             :     }
    3434           0 :     return true;
    3435             : }
    3436             : 
    3437           0 : auto PLayerTransactionParent::Write(
    3438             :         const MaybeTransform& v__,
    3439             :         Message* msg__) -> void
    3440             : {
    3441             :     typedef MaybeTransform type__;
    3442           0 :     Write(int((v__).type()), msg__);
    3443             :     // Sentinel = 'MaybeTransform'
    3444           0 :     (msg__)->WriteSentinel(3057705086);
    3445             : 
    3446           0 :     switch ((v__).type()) {
    3447             :     case type__::TMatrix4x4:
    3448             :         {
    3449           0 :             Write((v__).get_Matrix4x4(), msg__);
    3450             :             // Sentinel = 'TMatrix4x4'
    3451           0 :             (msg__)->WriteSentinel(1886581935);
    3452           0 :             return;
    3453             :         }
    3454             :     case type__::Tvoid_t:
    3455             :         {
    3456           0 :             Write((v__).get_void_t(), msg__);
    3457             :             // Sentinel = 'Tvoid_t'
    3458           0 :             (msg__)->WriteSentinel(3041273328);
    3459           0 :             return;
    3460             :         }
    3461             :     default:
    3462             :         {
    3463           0 :             FatalError("unknown union type");
    3464           0 :             return;
    3465             :         }
    3466             :     }
    3467             : }
    3468             : 
    3469           0 : auto PLayerTransactionParent::Read(
    3470             :         MaybeTransform* v__,
    3471             :         const Message* msg__,
    3472             :         PickleIterator* iter__) -> bool
    3473             : {
    3474             :     typedef MaybeTransform type__;
    3475             :     int type;
    3476           0 :     if ((!(Read((&(type)), msg__, iter__)))) {
    3477           0 :         mozilla::ipc::UnionTypeReadError("MaybeTransform");
    3478           0 :         return false;
    3479             :     }
    3480             :     // Sentinel = 'MaybeTransform'
    3481           0 :     if ((!((msg__)->ReadSentinel(iter__, 3057705086)))) {
    3482           0 :         mozilla::ipc::SentinelReadError("MaybeTransform");
    3483           0 :         return false;
    3484             :     }
    3485             : 
    3486           0 :     switch (type) {
    3487             :     case type__::TMatrix4x4:
    3488             :         {
    3489           0 :             Matrix4x4 tmp = Matrix4x4();
    3490           0 :             (*(v__)) = tmp;
    3491           0 :             if ((!(Read((&((v__)->get_Matrix4x4())), msg__, iter__)))) {
    3492           0 :                 FatalError("Error deserializing Union type");
    3493           0 :                 return false;
    3494             :             }
    3495             :             // Sentinel = 'TMatrix4x4'
    3496           0 :             if ((!((msg__)->ReadSentinel(iter__, 1886581935)))) {
    3497           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    3498           0 :                 return false;
    3499             :             }
    3500           0 :             return true;
    3501             :         }
    3502             :     case type__::Tvoid_t:
    3503             :         {
    3504             :             void_t tmp = void_t();
    3505           0 :             (*(v__)) = tmp;
    3506           0 :             if ((!(Read((&((v__)->get_void_t())), msg__, iter__)))) {
    3507           0 :                 FatalError("Error deserializing Union type");
    3508           0 :                 return false;
    3509             :             }
    3510             :             // Sentinel = 'Tvoid_t'
    3511           0 :             if ((!((msg__)->ReadSentinel(iter__, 3041273328)))) {
    3512           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    3513           0 :                 return false;
    3514             :             }
    3515           0 :             return true;
    3516             :         }
    3517             :     default:
    3518             :         {
    3519           0 :             FatalError("unknown union type");
    3520           0 :             return false;
    3521             :         }
    3522             :     }
    3523             : }
    3524             : 
    3525           0 : auto PLayerTransactionParent::Write(
    3526             :         const nsTArray<TransformFunction>& v__,
    3527             :         Message* msg__) -> void
    3528             : {
    3529           0 :     uint32_t length = (v__).Length();
    3530           0 :     Write(length, msg__);
    3531             :     // Sentinel = ('length', 'TransformFunction[]')
    3532           0 :     (msg__)->WriteSentinel(2517499252);
    3533             : 
    3534           0 :     for (auto& elem : v__) {
    3535           0 :         Write(elem, msg__);
    3536             :         // Sentinel = 'TransformFunction[]'
    3537           0 :         (msg__)->WriteSentinel(1101525651);
    3538             :     }
    3539           0 : }
    3540             : 
    3541           0 : auto PLayerTransactionParent::Read(
    3542             :         nsTArray<TransformFunction>* v__,
    3543             :         const Message* msg__,
    3544             :         PickleIterator* iter__) -> bool
    3545             : {
    3546           0 :     nsTArray<TransformFunction> fa;
    3547             :     uint32_t length;
    3548           0 :     if ((!(Read((&(length)), msg__, iter__)))) {
    3549           0 :         mozilla::ipc::ArrayLengthReadError("TransformFunction[]");
    3550           0 :         return false;
    3551             :     }
    3552             :     // Sentinel = ('length', 'TransformFunction[]')
    3553           0 :     if ((!((msg__)->ReadSentinel(iter__, 2517499252)))) {
    3554           0 :         mozilla::ipc::SentinelReadError("TransformFunction[]");
    3555           0 :         return false;
    3556             :     }
    3557             : 
    3558           0 :     TransformFunction* elems = (fa).AppendElements(length);
    3559           0 :     for (uint32_t i = 0; (i) < (length); (++(i))) {
    3560           0 :         if ((!(Read((&(elems[i])), msg__, iter__)))) {
    3561           0 :             FatalError("Error deserializing 'TransformFunction[i]'");
    3562           0 :             return false;
    3563             :         }
    3564             :         // Sentinel = 'TransformFunction[]'
    3565           0 :         if ((!((msg__)->ReadSentinel(iter__, 1101525651)))) {
    3566           0 :             mozilla::ipc::SentinelReadError("Error deserializing 'TransformFunction[i]'");
    3567           0 :             return false;
    3568             :         }
    3569             :     }
    3570           0 :     (v__)->SwapElements(fa);
    3571           0 :     return true;
    3572             : }
    3573             : 
    3574           0 : auto PLayerTransactionParent::Write(
    3575             :         const OpPrependChild& v__,
    3576             :         Message* msg__) -> void
    3577             : {
    3578           0 :     Write((v__).container(), msg__);
    3579             :     // Sentinel = 'container'
    3580           0 :     (msg__)->WriteSentinel(613059236);
    3581           0 :     Write((v__).childLayer(), msg__);
    3582             :     // Sentinel = 'childLayer'
    3583           0 :     (msg__)->WriteSentinel(154398963);
    3584           0 : }
    3585             : 
    3586           4 : auto PLayerTransactionParent::Read(
    3587             :         OpPrependChild* v__,
    3588             :         const Message* msg__,
    3589             :         PickleIterator* iter__) -> bool
    3590             : {
    3591           4 :     if ((!(Read((&((v__)->container())), msg__, iter__)))) {
    3592           0 :         FatalError("Error deserializing 'container' (LayerHandle) member of 'OpPrependChild'");
    3593           0 :         return false;
    3594             :     }
    3595             :     // Sentinel = 'container'
    3596           4 :     if ((!((msg__)->ReadSentinel(iter__, 613059236)))) {
    3597           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'container' (LayerHandle) member of 'OpPrependChild'");
    3598           0 :         return false;
    3599             :     }
    3600           4 :     if ((!(Read((&((v__)->childLayer())), msg__, iter__)))) {
    3601           0 :         FatalError("Error deserializing 'childLayer' (LayerHandle) member of 'OpPrependChild'");
    3602           0 :         return false;
    3603             :     }
    3604             :     // Sentinel = 'childLayer'
    3605           4 :     if ((!((msg__)->ReadSentinel(iter__, 154398963)))) {
    3606           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'childLayer' (LayerHandle) member of 'OpPrependChild'");
    3607           0 :         return false;
    3608             :     }
    3609           4 :     return true;
    3610             : }
    3611             : 
    3612           0 : auto PLayerTransactionParent::Write(
    3613             :         const ContainerLayerAttributes& v__,
    3614             :         Message* msg__) -> void
    3615             : {
    3616           0 :     Write((v__).preXScale(), msg__);
    3617             :     // Sentinel = 'preXScale'
    3618           0 :     (msg__)->WriteSentinel(2584362704);
    3619           0 :     Write((v__).preYScale(), msg__);
    3620             :     // Sentinel = 'preYScale'
    3621           0 :     (msg__)->WriteSentinel(970268767);
    3622           0 :     Write((v__).inheritedXScale(), msg__);
    3623             :     // Sentinel = 'inheritedXScale'
    3624           0 :     (msg__)->WriteSentinel(1285237395);
    3625           0 :     Write((v__).inheritedYScale(), msg__);
    3626             :     // Sentinel = 'inheritedYScale'
    3627           0 :     (msg__)->WriteSentinel(3724217552);
    3628           0 :     Write((v__).presShellResolution(), msg__);
    3629             :     // Sentinel = 'presShellResolution'
    3630           0 :     (msg__)->WriteSentinel(526924453);
    3631           0 :     Write((v__).scaleToResolution(), msg__);
    3632             :     // Sentinel = 'scaleToResolution'
    3633           0 :     (msg__)->WriteSentinel(2681979286);
    3634           0 :     Write((v__).eventRegionsOverride(), msg__);
    3635             :     // Sentinel = 'eventRegionsOverride'
    3636           0 :     (msg__)->WriteSentinel(2829940611);
    3637           0 : }
    3638             : 
    3639          43 : auto PLayerTransactionParent::Read(
    3640             :         ContainerLayerAttributes* v__,
    3641             :         const Message* msg__,
    3642             :         PickleIterator* iter__) -> bool
    3643             : {
    3644          43 :     if ((!(Read((&((v__)->preXScale())), msg__, iter__)))) {
    3645           0 :         FatalError("Error deserializing 'preXScale' (float) member of 'ContainerLayerAttributes'");
    3646           0 :         return false;
    3647             :     }
    3648             :     // Sentinel = 'preXScale'
    3649          43 :     if ((!((msg__)->ReadSentinel(iter__, 2584362704)))) {
    3650           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'preXScale' (float) member of 'ContainerLayerAttributes'");
    3651           0 :         return false;
    3652             :     }
    3653          43 :     if ((!(Read((&((v__)->preYScale())), msg__, iter__)))) {
    3654           0 :         FatalError("Error deserializing 'preYScale' (float) member of 'ContainerLayerAttributes'");
    3655           0 :         return false;
    3656             :     }
    3657             :     // Sentinel = 'preYScale'
    3658          43 :     if ((!((msg__)->ReadSentinel(iter__, 970268767)))) {
    3659           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'preYScale' (float) member of 'ContainerLayerAttributes'");
    3660           0 :         return false;
    3661             :     }
    3662          43 :     if ((!(Read((&((v__)->inheritedXScale())), msg__, iter__)))) {
    3663           0 :         FatalError("Error deserializing 'inheritedXScale' (float) member of 'ContainerLayerAttributes'");
    3664           0 :         return false;
    3665             :     }
    3666             :     // Sentinel = 'inheritedXScale'
    3667          43 :     if ((!((msg__)->ReadSentinel(iter__, 1285237395)))) {
    3668           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'inheritedXScale' (float) member of 'ContainerLayerAttributes'");
    3669           0 :         return false;
    3670             :     }
    3671          43 :     if ((!(Read((&((v__)->inheritedYScale())), msg__, iter__)))) {
    3672           0 :         FatalError("Error deserializing 'inheritedYScale' (float) member of 'ContainerLayerAttributes'");
    3673           0 :         return false;
    3674             :     }
    3675             :     // Sentinel = 'inheritedYScale'
    3676          43 :     if ((!((msg__)->ReadSentinel(iter__, 3724217552)))) {
    3677           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'inheritedYScale' (float) member of 'ContainerLayerAttributes'");
    3678           0 :         return false;
    3679             :     }
    3680          43 :     if ((!(Read((&((v__)->presShellResolution())), msg__, iter__)))) {
    3681           0 :         FatalError("Error deserializing 'presShellResolution' (float) member of 'ContainerLayerAttributes'");
    3682           0 :         return false;
    3683             :     }
    3684             :     // Sentinel = 'presShellResolution'
    3685          43 :     if ((!((msg__)->ReadSentinel(iter__, 526924453)))) {
    3686           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'presShellResolution' (float) member of 'ContainerLayerAttributes'");
    3687           0 :         return false;
    3688             :     }
    3689          43 :     if ((!(Read((&((v__)->scaleToResolution())), msg__, iter__)))) {
    3690           0 :         FatalError("Error deserializing 'scaleToResolution' (bool) member of 'ContainerLayerAttributes'");
    3691           0 :         return false;
    3692             :     }
    3693             :     // Sentinel = 'scaleToResolution'
    3694          43 :     if ((!((msg__)->ReadSentinel(iter__, 2681979286)))) {
    3695           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'scaleToResolution' (bool) member of 'ContainerLayerAttributes'");
    3696           0 :         return false;
    3697             :     }
    3698          43 :     if ((!(Read((&((v__)->eventRegionsOverride())), msg__, iter__)))) {
    3699           0 :         FatalError("Error deserializing 'eventRegionsOverride' (EventRegionsOverride) member of 'ContainerLayerAttributes'");
    3700           0 :         return false;
    3701             :     }
    3702             :     // Sentinel = 'eventRegionsOverride'
    3703          43 :     if ((!((msg__)->ReadSentinel(iter__, 2829940611)))) {
    3704           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'eventRegionsOverride' (EventRegionsOverride) member of 'ContainerLayerAttributes'");
    3705           0 :         return false;
    3706             :     }
    3707          43 :     return true;
    3708             : }
    3709             : 
    3710           0 : auto PLayerTransactionParent::Write(
    3711             :         const OpSetLayerAttributes& v__,
    3712             :         Message* msg__) -> void
    3713             : {
    3714           0 :     Write((v__).layer(), msg__);
    3715             :     // Sentinel = 'layer'
    3716           0 :     (msg__)->WriteSentinel(1899167106);
    3717           0 :     Write((v__).attrs(), msg__);
    3718             :     // Sentinel = 'attrs'
    3719           0 :     (msg__)->WriteSentinel(3014987797);
    3720           0 : }
    3721             : 
    3722         124 : auto PLayerTransactionParent::Read(
    3723             :         OpSetLayerAttributes* v__,
    3724             :         const Message* msg__,
    3725             :         PickleIterator* iter__) -> bool
    3726             : {
    3727         124 :     if ((!(Read((&((v__)->layer())), msg__, iter__)))) {
    3728           0 :         FatalError("Error deserializing 'layer' (LayerHandle) member of 'OpSetLayerAttributes'");
    3729           0 :         return false;
    3730             :     }
    3731             :     // Sentinel = 'layer'
    3732         124 :     if ((!((msg__)->ReadSentinel(iter__, 1899167106)))) {
    3733           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'layer' (LayerHandle) member of 'OpSetLayerAttributes'");
    3734           0 :         return false;
    3735             :     }
    3736         124 :     if ((!(Read((&((v__)->attrs())), msg__, iter__)))) {
    3737           0 :         FatalError("Error deserializing 'attrs' (LayerAttributes) member of 'OpSetLayerAttributes'");
    3738           0 :         return false;
    3739             :     }
    3740             :     // Sentinel = 'attrs'
    3741         124 :     if ((!((msg__)->ReadSentinel(iter__, 3014987797)))) {
    3742           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'attrs' (LayerAttributes) member of 'OpSetLayerAttributes'");
    3743           0 :         return false;
    3744             :     }
    3745         124 :     return true;
    3746             : }
    3747             : 
    3748           0 : auto PLayerTransactionParent::Write(
    3749             :         const SpecificLayerAttributes& v__,
    3750             :         Message* msg__) -> void
    3751             : {
    3752             :     typedef SpecificLayerAttributes type__;
    3753           0 :     Write(int((v__).type()), msg__);
    3754             :     // Sentinel = 'SpecificLayerAttributes'
    3755           0 :     (msg__)->WriteSentinel(764973155);
    3756             : 
    3757           0 :     switch ((v__).type()) {
    3758             :     case type__::Tnull_t:
    3759             :         {
    3760           0 :             Write((v__).get_null_t(), msg__);
    3761             :             // Sentinel = 'Tnull_t'
    3762           0 :             (msg__)->WriteSentinel(3731137201);
    3763           0 :             return;
    3764             :         }
    3765             :     case type__::TPaintedLayerAttributes:
    3766             :         {
    3767           0 :             Write((v__).get_PaintedLayerAttributes(), msg__);
    3768             :             // Sentinel = 'TPaintedLayerAttributes'
    3769           0 :             (msg__)->WriteSentinel(299542338);
    3770           0 :             return;
    3771             :         }
    3772             :     case type__::TContainerLayerAttributes:
    3773             :         {
    3774           0 :             Write((v__).get_ContainerLayerAttributes(), msg__);
    3775             :             // Sentinel = 'TContainerLayerAttributes'
    3776           0 :             (msg__)->WriteSentinel(2707677910);
    3777           0 :             return;
    3778             :         }
    3779             :     case type__::TColorLayerAttributes:
    3780             :         {
    3781           0 :             Write((v__).get_ColorLayerAttributes(), msg__);
    3782             :             // Sentinel = 'TColorLayerAttributes'
    3783           0 :             (msg__)->WriteSentinel(1741074522);
    3784           0 :             return;
    3785             :         }
    3786             :     case type__::TCanvasLayerAttributes:
    3787             :         {
    3788           0 :             Write((v__).get_CanvasLayerAttributes(), msg__);
    3789             :             // Sentinel = 'TCanvasLayerAttributes'
    3790           0 :             (msg__)->WriteSentinel(1471416018);
    3791           0 :             return;
    3792             :         }
    3793             :     case type__::TTextLayerAttributes:
    3794             :         {
    3795           0 :             Write((v__).get_TextLayerAttributes(), msg__);
    3796             :             // Sentinel = 'TTextLayerAttributes'
    3797           0 :             (msg__)->WriteSentinel(748812707);
    3798           0 :             return;
    3799             :         }
    3800             :     case type__::TRefLayerAttributes:
    3801             :         {
    3802           0 :             Write((v__).get_RefLayerAttributes(), msg__);
    3803             :             // Sentinel = 'TRefLayerAttributes'
    3804           0 :             (msg__)->WriteSentinel(3960711078);
    3805           0 :             return;
    3806             :         }
    3807             :     case type__::TImageLayerAttributes:
    3808             :         {
    3809           0 :             Write((v__).get_ImageLayerAttributes(), msg__);
    3810             :             // Sentinel = 'TImageLayerAttributes'
    3811           0 :             (msg__)->WriteSentinel(1391450712);
    3812           0 :             return;
    3813             :         }
    3814             :     case type__::TBorderLayerAttributes:
    3815             :         {
    3816           0 :             Write((v__).get_BorderLayerAttributes(), msg__);
    3817             :             // Sentinel = 'TBorderLayerAttributes'
    3818           0 :             (msg__)->WriteSentinel(4114944608);
    3819           0 :             return;
    3820             :         }
    3821             :     default:
    3822             :         {
    3823           0 :             FatalError("unknown union type");
    3824           0 :             return;
    3825             :         }
    3826             :     }
    3827             : }
    3828             : 
    3829         124 : auto PLayerTransactionParent::Read(
    3830             :         SpecificLayerAttributes* v__,
    3831             :         const Message* msg__,
    3832             :         PickleIterator* iter__) -> bool
    3833             : {
    3834             :     typedef SpecificLayerAttributes type__;
    3835             :     int type;
    3836         124 :     if ((!(Read((&(type)), msg__, iter__)))) {
    3837           0 :         mozilla::ipc::UnionTypeReadError("SpecificLayerAttributes");
    3838           0 :         return false;
    3839             :     }
    3840             :     // Sentinel = 'SpecificLayerAttributes'
    3841         124 :     if ((!((msg__)->ReadSentinel(iter__, 764973155)))) {
    3842           0 :         mozilla::ipc::SentinelReadError("SpecificLayerAttributes");
    3843           0 :         return false;
    3844             :     }
    3845             : 
    3846         124 :     switch (type) {
    3847             :     case type__::Tnull_t:
    3848             :         {
    3849             :             null_t tmp = null_t();
    3850           0 :             (*(v__)) = tmp;
    3851           0 :             if ((!(Read((&((v__)->get_null_t())), msg__, iter__)))) {
    3852           0 :                 FatalError("Error deserializing Union type");
    3853           0 :                 return false;
    3854             :             }
    3855             :             // Sentinel = 'Tnull_t'
    3856           0 :             if ((!((msg__)->ReadSentinel(iter__, 3731137201)))) {
    3857           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    3858           0 :                 return false;
    3859             :             }
    3860           0 :             return true;
    3861             :         }
    3862             :     case type__::TPaintedLayerAttributes:
    3863             :         {
    3864         106 :             PaintedLayerAttributes tmp = PaintedLayerAttributes();
    3865          53 :             (*(v__)) = tmp;
    3866          53 :             if ((!(Read((&((v__)->get_PaintedLayerAttributes())), msg__, iter__)))) {
    3867           0 :                 FatalError("Error deserializing Union type");
    3868           0 :                 return false;
    3869             :             }
    3870             :             // Sentinel = 'TPaintedLayerAttributes'
    3871          53 :             if ((!((msg__)->ReadSentinel(iter__, 299542338)))) {
    3872           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    3873           0 :                 return false;
    3874             :             }
    3875          53 :             return true;
    3876             :         }
    3877             :     case type__::TContainerLayerAttributes:
    3878             :         {
    3879          86 :             ContainerLayerAttributes tmp = ContainerLayerAttributes();
    3880          43 :             (*(v__)) = tmp;
    3881          43 :             if ((!(Read((&((v__)->get_ContainerLayerAttributes())), msg__, iter__)))) {
    3882           0 :                 FatalError("Error deserializing Union type");
    3883           0 :                 return false;
    3884             :             }
    3885             :             // Sentinel = 'TContainerLayerAttributes'
    3886          43 :             if ((!((msg__)->ReadSentinel(iter__, 2707677910)))) {
    3887           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    3888           0 :                 return false;
    3889             :             }
    3890          43 :             return true;
    3891             :         }
    3892             :     case type__::TColorLayerAttributes:
    3893             :         {
    3894           8 :             ColorLayerAttributes tmp = ColorLayerAttributes();
    3895           4 :             (*(v__)) = tmp;
    3896           4 :             if ((!(Read((&((v__)->get_ColorLayerAttributes())), msg__, iter__)))) {
    3897           0 :                 FatalError("Error deserializing Union type");
    3898           0 :                 return false;
    3899             :             }
    3900             :             // Sentinel = 'TColorLayerAttributes'
    3901           4 :             if ((!((msg__)->ReadSentinel(iter__, 1741074522)))) {
    3902           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    3903           0 :                 return false;
    3904             :             }
    3905           4 :             return true;
    3906             :         }
    3907             :     case type__::TCanvasLayerAttributes:
    3908             :         {
    3909           0 :             CanvasLayerAttributes tmp = CanvasLayerAttributes();
    3910           0 :             (*(v__)) = tmp;
    3911           0 :             if ((!(Read((&((v__)->get_CanvasLayerAttributes())), msg__, iter__)))) {
    3912           0 :                 FatalError("Error deserializing Union type");
    3913           0 :                 return false;
    3914             :             }
    3915             :             // Sentinel = 'TCanvasLayerAttributes'
    3916           0 :             if ((!((msg__)->ReadSentinel(iter__, 1471416018)))) {
    3917           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    3918           0 :                 return false;
    3919             :             }
    3920           0 :             return true;
    3921             :         }
    3922             :     case type__::TTextLayerAttributes:
    3923             :         {
    3924           0 :             TextLayerAttributes tmp = TextLayerAttributes();
    3925           0 :             (*(v__)) = tmp;
    3926           0 :             if ((!(Read((&((v__)->get_TextLayerAttributes())), msg__, iter__)))) {
    3927           0 :                 FatalError("Error deserializing Union type");
    3928           0 :                 return false;
    3929             :             }
    3930             :             // Sentinel = 'TTextLayerAttributes'
    3931           0 :             if ((!((msg__)->ReadSentinel(iter__, 748812707)))) {
    3932           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    3933           0 :                 return false;
    3934             :             }
    3935           0 :             return true;
    3936             :         }
    3937             :     case type__::TRefLayerAttributes:
    3938             :         {
    3939          48 :             RefLayerAttributes tmp = RefLayerAttributes();
    3940          24 :             (*(v__)) = tmp;
    3941          24 :             if ((!(Read((&((v__)->get_RefLayerAttributes())), msg__, iter__)))) {
    3942           0 :                 FatalError("Error deserializing Union type");
    3943           0 :                 return false;
    3944             :             }
    3945             :             // Sentinel = 'TRefLayerAttributes'
    3946          24 :             if ((!((msg__)->ReadSentinel(iter__, 3960711078)))) {
    3947           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    3948           0 :                 return false;
    3949             :             }
    3950          24 :             return true;
    3951             :         }
    3952             :     case type__::TImageLayerAttributes:
    3953             :         {
    3954           0 :             ImageLayerAttributes tmp = ImageLayerAttributes();
    3955           0 :             (*(v__)) = tmp;
    3956           0 :             if ((!(Read((&((v__)->get_ImageLayerAttributes())), msg__, iter__)))) {
    3957           0 :                 FatalError("Error deserializing Union type");
    3958           0 :                 return false;
    3959             :             }
    3960             :             // Sentinel = 'TImageLayerAttributes'
    3961           0 :             if ((!((msg__)->ReadSentinel(iter__, 1391450712)))) {
    3962           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    3963           0 :                 return false;
    3964             :             }
    3965           0 :             return true;
    3966             :         }
    3967             :     case type__::TBorderLayerAttributes:
    3968             :         {
    3969           0 :             BorderLayerAttributes tmp = BorderLayerAttributes();
    3970           0 :             (*(v__)) = tmp;
    3971           0 :             if ((!(Read((&((v__)->get_BorderLayerAttributes())), msg__, iter__)))) {
    3972           0 :                 FatalError("Error deserializing Union type");
    3973           0 :                 return false;
    3974             :             }
    3975             :             // Sentinel = 'TBorderLayerAttributes'
    3976           0 :             if ((!((msg__)->ReadSentinel(iter__, 4114944608)))) {
    3977           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    3978           0 :                 return false;
    3979             :             }
    3980           0 :             return true;
    3981             :         }
    3982             :     default:
    3983             :         {
    3984           0 :             FatalError("unknown union type");
    3985           0 :             return false;
    3986             :         }
    3987             :     }
    3988             : }
    3989             : 
    3990           0 : auto PLayerTransactionParent::Write(
    3991             :         const OpRaiseToTopChild& v__,
    3992             :         Message* msg__) -> void
    3993             : {
    3994           0 :     Write((v__).container(), msg__);
    3995             :     // Sentinel = 'container'
    3996           0 :     (msg__)->WriteSentinel(613059236);
    3997           0 :     Write((v__).childLayer(), msg__);
    3998             :     // Sentinel = 'childLayer'
    3999           0 :     (msg__)->WriteSentinel(154398963);
    4000           0 : }
    4001             : 
    4002           0 : auto PLayerTransactionParent::Read(
    4003             :         OpRaiseToTopChild* v__,
    4004             :         const Message* msg__,
    4005             :         PickleIterator* iter__) -> bool
    4006             : {
    4007           0 :     if ((!(Read((&((v__)->container())), msg__, iter__)))) {
    4008           0 :         FatalError("Error deserializing 'container' (LayerHandle) member of 'OpRaiseToTopChild'");
    4009           0 :         return false;
    4010             :     }
    4011             :     // Sentinel = 'container'
    4012           0 :     if ((!((msg__)->ReadSentinel(iter__, 613059236)))) {
    4013           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'container' (LayerHandle) member of 'OpRaiseToTopChild'");
    4014           0 :         return false;
    4015             :     }
    4016           0 :     if ((!(Read((&((v__)->childLayer())), msg__, iter__)))) {
    4017           0 :         FatalError("Error deserializing 'childLayer' (LayerHandle) member of 'OpRaiseToTopChild'");
    4018           0 :         return false;
    4019             :     }
    4020             :     // Sentinel = 'childLayer'
    4021           0 :     if ((!((msg__)->ReadSentinel(iter__, 154398963)))) {
    4022           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'childLayer' (LayerHandle) member of 'OpRaiseToTopChild'");
    4023           0 :         return false;
    4024             :     }
    4025           0 :     return true;
    4026             : }
    4027             : 
    4028           0 : auto PLayerTransactionParent::Write(
    4029             :         const GlyphArray& v__,
    4030             :         Message* msg__) -> void
    4031             : {
    4032           0 :     Write((v__).color(), msg__);
    4033             :     // Sentinel = 'color'
    4034           0 :     (msg__)->WriteSentinel(2703551752);
    4035           0 :     Write((v__).glyphs(), msg__);
    4036             :     // Sentinel = 'glyphs'
    4037           0 :     (msg__)->WriteSentinel(2497623611);
    4038           0 : }
    4039             : 
    4040           0 : auto PLayerTransactionParent::Read(
    4041             :         GlyphArray* v__,
    4042             :         const Message* msg__,
    4043             :         PickleIterator* iter__) -> bool
    4044             : {
    4045           0 :     if ((!(Read((&((v__)->color())), msg__, iter__)))) {
    4046           0 :         FatalError("Error deserializing 'color' (LayerColor) member of 'GlyphArray'");
    4047           0 :         return false;
    4048             :     }
    4049             :     // Sentinel = 'color'
    4050           0 :     if ((!((msg__)->ReadSentinel(iter__, 2703551752)))) {
    4051           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'color' (LayerColor) member of 'GlyphArray'");
    4052           0 :         return false;
    4053             :     }
    4054           0 :     if ((!(Read((&((v__)->glyphs())), msg__, iter__)))) {
    4055           0 :         FatalError("Error deserializing 'glyphs' (Glyph[]) member of 'GlyphArray'");
    4056           0 :         return false;
    4057             :     }
    4058             :     // Sentinel = 'glyphs'
    4059           0 :     if ((!((msg__)->ReadSentinel(iter__, 2497623611)))) {
    4060           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'glyphs' (Glyph[]) member of 'GlyphArray'");
    4061           0 :         return false;
    4062             :     }
    4063           0 :     return true;
    4064             : }
    4065             : 
    4066           0 : auto PLayerTransactionParent::Write(
    4067             :         const PluginWindowData& v__,
    4068             :         Message* msg__) -> void
    4069             : {
    4070           0 :     Write((v__).windowId(), msg__);
    4071             :     // Sentinel = 'windowId'
    4072           0 :     (msg__)->WriteSentinel(719502035);
    4073           0 :     Write((v__).clip(), msg__);
    4074             :     // Sentinel = 'clip'
    4075           0 :     (msg__)->WriteSentinel(3899292550);
    4076           0 :     Write((v__).bounds(), msg__);
    4077             :     // Sentinel = 'bounds'
    4078           0 :     (msg__)->WriteSentinel(809584493);
    4079           0 :     Write((v__).visible(), msg__);
    4080             :     // Sentinel = 'visible'
    4081           0 :     (msg__)->WriteSentinel(1037099281);
    4082           0 : }
    4083             : 
    4084           0 : auto PLayerTransactionParent::Read(
    4085             :         PluginWindowData* v__,
    4086             :         const Message* msg__,
    4087             :         PickleIterator* iter__) -> bool
    4088             : {
    4089           0 :     if ((!(Read((&((v__)->windowId())), msg__, iter__)))) {
    4090           0 :         FatalError("Error deserializing 'windowId' (uintptr_t) member of 'PluginWindowData'");
    4091           0 :         return false;
    4092             :     }
    4093             :     // Sentinel = 'windowId'
    4094           0 :     if ((!((msg__)->ReadSentinel(iter__, 719502035)))) {
    4095           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'windowId' (uintptr_t) member of 'PluginWindowData'");
    4096           0 :         return false;
    4097             :     }
    4098           0 :     if ((!(Read((&((v__)->clip())), msg__, iter__)))) {
    4099           0 :         FatalError("Error deserializing 'clip' (LayoutDeviceIntRect[]) member of 'PluginWindowData'");
    4100           0 :         return false;
    4101             :     }
    4102             :     // Sentinel = 'clip'
    4103           0 :     if ((!((msg__)->ReadSentinel(iter__, 3899292550)))) {
    4104           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'clip' (LayoutDeviceIntRect[]) member of 'PluginWindowData'");
    4105           0 :         return false;
    4106             :     }
    4107           0 :     if ((!(Read((&((v__)->bounds())), msg__, iter__)))) {
    4108           0 :         FatalError("Error deserializing 'bounds' (LayoutDeviceIntRect) member of 'PluginWindowData'");
    4109           0 :         return false;
    4110             :     }
    4111             :     // Sentinel = 'bounds'
    4112           0 :     if ((!((msg__)->ReadSentinel(iter__, 809584493)))) {
    4113           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'bounds' (LayoutDeviceIntRect) member of 'PluginWindowData'");
    4114           0 :         return false;
    4115             :     }
    4116           0 :     if ((!(Read((&((v__)->visible())), msg__, iter__)))) {
    4117           0 :         FatalError("Error deserializing 'visible' (bool) member of 'PluginWindowData'");
    4118           0 :         return false;
    4119             :     }
    4120             :     // Sentinel = 'visible'
    4121           0 :     if ((!((msg__)->ReadSentinel(iter__, 1037099281)))) {
    4122           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'visible' (bool) member of 'PluginWindowData'");
    4123           0 :         return false;
    4124             :     }
    4125           0 :     return true;
    4126             : }
    4127             : 
    4128           0 : auto PLayerTransactionParent::Write(
    4129             :         const CommonLayerAttributes& v__,
    4130             :         Message* msg__) -> void
    4131             : {
    4132           0 :     Write((v__).visibleRegion(), msg__);
    4133             :     // Sentinel = 'visibleRegion'
    4134           0 :     (msg__)->WriteSentinel(2676991175);
    4135           0 :     Write((v__).eventRegions(), msg__);
    4136             :     // Sentinel = 'eventRegions'
    4137           0 :     (msg__)->WriteSentinel(438949443);
    4138           0 :     Write((v__).useClipRect(), msg__);
    4139             :     // Sentinel = 'useClipRect'
    4140           0 :     (msg__)->WriteSentinel(677378102);
    4141           0 :     Write((v__).clipRect(), msg__);
    4142             :     // Sentinel = 'clipRect'
    4143           0 :     (msg__)->WriteSentinel(1242385220);
    4144           0 :     Write((v__).maskLayer(), msg__);
    4145             :     // Sentinel = 'maskLayer'
    4146           0 :     (msg__)->WriteSentinel(1412766294);
    4147           0 :     Write((v__).ancestorMaskLayers(), msg__);
    4148             :     // Sentinel = 'ancestorMaskLayers'
    4149           0 :     (msg__)->WriteSentinel(2851099655);
    4150           0 :     Write((v__).compositorAnimations(), msg__);
    4151             :     // Sentinel = 'compositorAnimations'
    4152           0 :     (msg__)->WriteSentinel(1016284326);
    4153           0 :     Write((v__).invalidRegion(), msg__);
    4154             :     // Sentinel = 'invalidRegion'
    4155           0 :     (msg__)->WriteSentinel(3857779772);
    4156           0 :     Write((v__).scrollMetadata(), msg__);
    4157             :     // Sentinel = 'scrollMetadata'
    4158           0 :     (msg__)->WriteSentinel(257252514);
    4159           0 :     Write((v__).displayListLog(), msg__);
    4160             :     // Sentinel = 'displayListLog'
    4161           0 :     (msg__)->WriteSentinel(1994382750);
    4162           0 : }
    4163             : 
    4164         124 : auto PLayerTransactionParent::Read(
    4165             :         CommonLayerAttributes* v__,
    4166             :         const Message* msg__,
    4167             :         PickleIterator* iter__) -> bool
    4168             : {
    4169         124 :     if ((!(Read((&((v__)->visibleRegion())), msg__, iter__)))) {
    4170           0 :         FatalError("Error deserializing 'visibleRegion' (LayerIntRegion) member of 'CommonLayerAttributes'");
    4171           0 :         return false;
    4172             :     }
    4173             :     // Sentinel = 'visibleRegion'
    4174         124 :     if ((!((msg__)->ReadSentinel(iter__, 2676991175)))) {
    4175           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'visibleRegion' (LayerIntRegion) member of 'CommonLayerAttributes'");
    4176           0 :         return false;
    4177             :     }
    4178         124 :     if ((!(Read((&((v__)->eventRegions())), msg__, iter__)))) {
    4179           0 :         FatalError("Error deserializing 'eventRegions' (EventRegions) member of 'CommonLayerAttributes'");
    4180           0 :         return false;
    4181             :     }
    4182             :     // Sentinel = 'eventRegions'
    4183         124 :     if ((!((msg__)->ReadSentinel(iter__, 438949443)))) {
    4184           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'eventRegions' (EventRegions) member of 'CommonLayerAttributes'");
    4185           0 :         return false;
    4186             :     }
    4187         124 :     if ((!(Read((&((v__)->useClipRect())), msg__, iter__)))) {
    4188           0 :         FatalError("Error deserializing 'useClipRect' (bool) member of 'CommonLayerAttributes'");
    4189           0 :         return false;
    4190             :     }
    4191             :     // Sentinel = 'useClipRect'
    4192         124 :     if ((!((msg__)->ReadSentinel(iter__, 677378102)))) {
    4193           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'useClipRect' (bool) member of 'CommonLayerAttributes'");
    4194           0 :         return false;
    4195             :     }
    4196         124 :     if ((!(Read((&((v__)->clipRect())), msg__, iter__)))) {
    4197           0 :         FatalError("Error deserializing 'clipRect' (ParentLayerIntRect) member of 'CommonLayerAttributes'");
    4198           0 :         return false;
    4199             :     }
    4200             :     // Sentinel = 'clipRect'
    4201         124 :     if ((!((msg__)->ReadSentinel(iter__, 1242385220)))) {
    4202           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'clipRect' (ParentLayerIntRect) member of 'CommonLayerAttributes'");
    4203           0 :         return false;
    4204             :     }
    4205         124 :     if ((!(Read((&((v__)->maskLayer())), msg__, iter__)))) {
    4206           0 :         FatalError("Error deserializing 'maskLayer' (LayerHandle) member of 'CommonLayerAttributes'");
    4207           0 :         return false;
    4208             :     }
    4209             :     // Sentinel = 'maskLayer'
    4210         124 :     if ((!((msg__)->ReadSentinel(iter__, 1412766294)))) {
    4211           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'maskLayer' (LayerHandle) member of 'CommonLayerAttributes'");
    4212           0 :         return false;
    4213             :     }
    4214         124 :     if ((!(Read((&((v__)->ancestorMaskLayers())), msg__, iter__)))) {
    4215           0 :         FatalError("Error deserializing 'ancestorMaskLayers' (LayerHandle[]) member of 'CommonLayerAttributes'");
    4216           0 :         return false;
    4217             :     }
    4218             :     // Sentinel = 'ancestorMaskLayers'
    4219         124 :     if ((!((msg__)->ReadSentinel(iter__, 2851099655)))) {
    4220           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'ancestorMaskLayers' (LayerHandle[]) member of 'CommonLayerAttributes'");
    4221           0 :         return false;
    4222             :     }
    4223         124 :     if ((!(Read((&((v__)->compositorAnimations())), msg__, iter__)))) {
    4224           0 :         FatalError("Error deserializing 'compositorAnimations' (CompositorAnimations) member of 'CommonLayerAttributes'");
    4225           0 :         return false;
    4226             :     }
    4227             :     // Sentinel = 'compositorAnimations'
    4228         124 :     if ((!((msg__)->ReadSentinel(iter__, 1016284326)))) {
    4229           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'compositorAnimations' (CompositorAnimations) member of 'CommonLayerAttributes'");
    4230           0 :         return false;
    4231             :     }
    4232         124 :     if ((!(Read((&((v__)->invalidRegion())), msg__, iter__)))) {
    4233           0 :         FatalError("Error deserializing 'invalidRegion' (nsIntRegion) member of 'CommonLayerAttributes'");
    4234           0 :         return false;
    4235             :     }
    4236             :     // Sentinel = 'invalidRegion'
    4237         124 :     if ((!((msg__)->ReadSentinel(iter__, 3857779772)))) {
    4238           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'invalidRegion' (nsIntRegion) member of 'CommonLayerAttributes'");
    4239           0 :         return false;
    4240             :     }
    4241         124 :     if ((!(Read((&((v__)->scrollMetadata())), msg__, iter__)))) {
    4242           0 :         FatalError("Error deserializing 'scrollMetadata' (ScrollMetadata[]) member of 'CommonLayerAttributes'");
    4243           0 :         return false;
    4244             :     }
    4245             :     // Sentinel = 'scrollMetadata'
    4246         124 :     if ((!((msg__)->ReadSentinel(iter__, 257252514)))) {
    4247           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'scrollMetadata' (ScrollMetadata[]) member of 'CommonLayerAttributes'");
    4248           0 :         return false;
    4249             :     }
    4250         124 :     if ((!(Read((&((v__)->displayListLog())), msg__, iter__)))) {
    4251           0 :         FatalError("Error deserializing 'displayListLog' (nsCString) member of 'CommonLayerAttributes'");
    4252           0 :         return false;
    4253             :     }
    4254             :     // Sentinel = 'displayListLog'
    4255         124 :     if ((!((msg__)->ReadSentinel(iter__, 1994382750)))) {
    4256           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'displayListLog' (nsCString) member of 'CommonLayerAttributes'");
    4257           0 :         return false;
    4258             :     }
    4259         124 :     return true;
    4260             : }
    4261             : 
    4262           0 : auto PLayerTransactionParent::Write(
    4263             :         const RefLayerAttributes& v__,
    4264             :         Message* msg__) -> void
    4265             : {
    4266           0 :     Write((v__).id(), msg__);
    4267             :     // Sentinel = 'id'
    4268           0 :     (msg__)->WriteSentinel(2794505629);
    4269           0 :     Write((v__).eventRegionsOverride(), msg__);
    4270             :     // Sentinel = 'eventRegionsOverride'
    4271           0 :     (msg__)->WriteSentinel(2829940611);
    4272           0 : }
    4273             : 
    4274          24 : auto PLayerTransactionParent::Read(
    4275             :         RefLayerAttributes* v__,
    4276             :         const Message* msg__,
    4277             :         PickleIterator* iter__) -> bool
    4278             : {
    4279          24 :     if ((!(Read((&((v__)->id())), msg__, iter__)))) {
    4280           0 :         FatalError("Error deserializing 'id' (uint64_t) member of 'RefLayerAttributes'");
    4281           0 :         return false;
    4282             :     }
    4283             :     // Sentinel = 'id'
    4284          24 :     if ((!((msg__)->ReadSentinel(iter__, 2794505629)))) {
    4285           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'id' (uint64_t) member of 'RefLayerAttributes'");
    4286           0 :         return false;
    4287             :     }
    4288          24 :     if ((!(Read((&((v__)->eventRegionsOverride())), msg__, iter__)))) {
    4289           0 :         FatalError("Error deserializing 'eventRegionsOverride' (EventRegionsOverride) member of 'RefLayerAttributes'");
    4290           0 :         return false;
    4291             :     }
    4292             :     // Sentinel = 'eventRegionsOverride'
    4293          24 :     if ((!((msg__)->ReadSentinel(iter__, 2829940611)))) {
    4294           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'eventRegionsOverride' (EventRegionsOverride) member of 'RefLayerAttributes'");
    4295           0 :         return false;
    4296             :     }
    4297          24 :     return true;
    4298             : }
    4299             : 
    4300           0 : auto PLayerTransactionParent::Write(
    4301             :         const PLayerTransactionParent* v__,
    4302             :         Message* msg__,
    4303             :         bool nullable__) -> void
    4304             : {
    4305             :     int32_t id;
    4306           0 :     if ((!(v__))) {
    4307           0 :         if ((!(nullable__))) {
    4308           0 :             FatalError("NULL actor value passed to non-nullable param");
    4309             :         }
    4310           0 :         id = 0;
    4311             :     }
    4312             :     else {
    4313           0 :         id = (v__)->Id();
    4314           0 :         if ((1) == (id)) {
    4315           0 :             FatalError("actor has been |delete|d");
    4316             :         }
    4317             :     }
    4318             : 
    4319           0 :     Write(id, msg__);
    4320           0 : }
    4321             : 
    4322           0 : auto PLayerTransactionParent::Read(
    4323             :         PLayerTransactionParent** v__,
    4324             :         const Message* msg__,
    4325             :         PickleIterator* iter__,
    4326             :         bool nullable__) -> bool
    4327             : {
    4328           0 :     Maybe<mozilla::ipc::IProtocol*> actor = ReadActor(msg__, iter__, nullable__, "PLayerTransaction", PLayerTransactionMsgStart);
    4329           0 :     if ((actor).isNothing()) {
    4330           0 :         return false;
    4331             :     }
    4332             : 
    4333           0 :     (*(v__)) = static_cast<PLayerTransactionParent*>((actor).value());
    4334           0 :     return true;
    4335             : }
    4336             : 
    4337           0 : auto PLayerTransactionParent::Write(
    4338             :         const nsTArray<ReadLockInit>& v__,
    4339             :         Message* msg__) -> void
    4340             : {
    4341           0 :     uint32_t length = (v__).Length();
    4342           0 :     Write(length, msg__);
    4343             :     // Sentinel = ('length', 'ReadLockInit[]')
    4344           0 :     (msg__)->WriteSentinel(3010682310);
    4345             : 
    4346           0 :     for (auto& elem : v__) {
    4347           0 :         Write(elem, msg__);
    4348             :         // Sentinel = 'ReadLockInit[]'
    4349           0 :         (msg__)->WriteSentinel(1659602585);
    4350             :     }
    4351           0 : }
    4352             : 
    4353          24 : auto PLayerTransactionParent::Read(
    4354             :         nsTArray<ReadLockInit>* v__,
    4355             :         const Message* msg__,
    4356             :         PickleIterator* iter__) -> bool
    4357             : {
    4358          48 :     nsTArray<ReadLockInit> fa;
    4359             :     uint32_t length;
    4360          24 :     if ((!(Read((&(length)), msg__, iter__)))) {
    4361           0 :         mozilla::ipc::ArrayLengthReadError("ReadLockInit[]");
    4362           0 :         return false;
    4363             :     }
    4364             :     // Sentinel = ('length', 'ReadLockInit[]')
    4365          24 :     if ((!((msg__)->ReadSentinel(iter__, 3010682310)))) {
    4366           0 :         mozilla::ipc::SentinelReadError("ReadLockInit[]");
    4367           0 :         return false;
    4368             :     }
    4369             : 
    4370          24 :     ReadLockInit* elems = (fa).AppendElements(length);
    4371          57 :     for (uint32_t i = 0; (i) < (length); (++(i))) {
    4372          33 :         if ((!(Read((&(elems[i])), msg__, iter__)))) {
    4373           0 :             FatalError("Error deserializing 'ReadLockInit[i]'");
    4374           0 :             return false;
    4375             :         }
    4376             :         // Sentinel = 'ReadLockInit[]'
    4377          33 :         if ((!((msg__)->ReadSentinel(iter__, 1659602585)))) {
    4378           0 :             mozilla::ipc::SentinelReadError("Error deserializing 'ReadLockInit[i]'");
    4379           0 :             return false;
    4380             :         }
    4381             :     }
    4382          24 :     (v__)->SwapElements(fa);
    4383          24 :     return true;
    4384             : }
    4385             : 
    4386           0 : auto PLayerTransactionParent::Write(
    4387             :         const MaybeTimeDuration& v__,
    4388             :         Message* msg__) -> void
    4389             : {
    4390             :     typedef MaybeTimeDuration type__;
    4391           0 :     Write(int((v__).type()), msg__);
    4392             :     // Sentinel = 'MaybeTimeDuration'
    4393           0 :     (msg__)->WriteSentinel(2974565326);
    4394             : 
    4395           0 :     switch ((v__).type()) {
    4396             :     case type__::Tnull_t:
    4397             :         {
    4398           0 :             Write((v__).get_null_t(), msg__);
    4399             :             // Sentinel = 'Tnull_t'
    4400           0 :             (msg__)->WriteSentinel(3731137201);
    4401           0 :             return;
    4402             :         }
    4403             :     case type__::TTimeDuration:
    4404             :         {
    4405           0 :             Write((v__).get_TimeDuration(), msg__);
    4406             :             // Sentinel = 'TTimeDuration'
    4407           0 :             (msg__)->WriteSentinel(1576139930);
    4408           0 :             return;
    4409             :         }
    4410             :     default:
    4411             :         {
    4412           0 :             FatalError("unknown union type");
    4413           0 :             return;
    4414             :         }
    4415             :     }
    4416             : }
    4417             : 
    4418           0 : auto PLayerTransactionParent::Read(
    4419             :         MaybeTimeDuration* v__,
    4420             :         const Message* msg__,
    4421             :         PickleIterator* iter__) -> bool
    4422             : {
    4423             :     typedef MaybeTimeDuration type__;
    4424             :     int type;
    4425           0 :     if ((!(Read((&(type)), msg__, iter__)))) {
    4426           0 :         mozilla::ipc::UnionTypeReadError("MaybeTimeDuration");
    4427           0 :         return false;
    4428             :     }
    4429             :     // Sentinel = 'MaybeTimeDuration'
    4430           0 :     if ((!((msg__)->ReadSentinel(iter__, 2974565326)))) {
    4431           0 :         mozilla::ipc::SentinelReadError("MaybeTimeDuration");
    4432           0 :         return false;
    4433             :     }
    4434             : 
    4435           0 :     switch (type) {
    4436             :     case type__::Tnull_t:
    4437             :         {
    4438             :             null_t tmp = null_t();
    4439           0 :             (*(v__)) = tmp;
    4440           0 :             if ((!(Read((&((v__)->get_null_t())), msg__, iter__)))) {
    4441           0 :                 FatalError("Error deserializing Union type");
    4442           0 :                 return false;
    4443             :             }
    4444             :             // Sentinel = 'Tnull_t'
    4445           0 :             if ((!((msg__)->ReadSentinel(iter__, 3731137201)))) {
    4446           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    4447           0 :                 return false;
    4448             :             }
    4449           0 :             return true;
    4450             :         }
    4451             :     case type__::TTimeDuration:
    4452             :         {
    4453           0 :             TimeDuration tmp = TimeDuration();
    4454           0 :             (*(v__)) = tmp;
    4455           0 :             if ((!(Read((&((v__)->get_TimeDuration())), msg__, iter__)))) {
    4456           0 :                 FatalError("Error deserializing Union type");
    4457           0 :                 return false;
    4458             :             }
    4459             :             // Sentinel = 'TTimeDuration'
    4460           0 :             if ((!((msg__)->ReadSentinel(iter__, 1576139930)))) {
    4461           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    4462           0 :                 return false;
    4463             :             }
    4464           0 :             return true;
    4465             :         }
    4466             :     default:
    4467             :         {
    4468           0 :             FatalError("unknown union type");
    4469           0 :             return false;
    4470             :         }
    4471             :     }
    4472             : }
    4473             : 
    4474           0 : auto PLayerTransactionParent::Write(
    4475             :         const nsTArray<TileDescriptor>& v__,
    4476             :         Message* msg__) -> void
    4477             : {
    4478           0 :     uint32_t length = (v__).Length();
    4479           0 :     Write(length, msg__);
    4480             :     // Sentinel = ('length', 'TileDescriptor[]')
    4481           0 :     (msg__)->WriteSentinel(709203120);
    4482             : 
    4483           0 :     for (auto& elem : v__) {
    4484           0 :         Write(elem, msg__);
    4485             :         // Sentinel = 'TileDescriptor[]'
    4486           0 :         (msg__)->WriteSentinel(3848440807);
    4487             :     }
    4488           0 : }
    4489             : 
    4490           0 : auto PLayerTransactionParent::Read(
    4491             :         nsTArray<TileDescriptor>* v__,
    4492             :         const Message* msg__,
    4493             :         PickleIterator* iter__) -> bool
    4494             : {
    4495           0 :     nsTArray<TileDescriptor> fa;
    4496             :     uint32_t length;
    4497           0 :     if ((!(Read((&(length)), msg__, iter__)))) {
    4498           0 :         mozilla::ipc::ArrayLengthReadError("TileDescriptor[]");
    4499           0 :         return false;
    4500             :     }
    4501             :     // Sentinel = ('length', 'TileDescriptor[]')
    4502           0 :     if ((!((msg__)->ReadSentinel(iter__, 709203120)))) {
    4503           0 :         mozilla::ipc::SentinelReadError("TileDescriptor[]");
    4504           0 :         return false;
    4505             :     }
    4506             : 
    4507           0 :     TileDescriptor* elems = (fa).AppendElements(length);
    4508           0 :     for (uint32_t i = 0; (i) < (length); (++(i))) {
    4509           0 :         if ((!(Read((&(elems[i])), msg__, iter__)))) {
    4510           0 :             FatalError("Error deserializing 'TileDescriptor[i]'");
    4511           0 :             return false;
    4512             :         }
    4513             :         // Sentinel = 'TileDescriptor[]'
    4514           0 :         if ((!((msg__)->ReadSentinel(iter__, 3848440807)))) {
    4515           0 :             mozilla::ipc::SentinelReadError("Error deserializing 'TileDescriptor[i]'");
    4516           0 :             return false;
    4517             :         }
    4518             :     }
    4519           0 :     (v__)->SwapElements(fa);
    4520           0 :     return true;
    4521             : }
    4522             : 
    4523           0 : auto PLayerTransactionParent::Write(
    4524             :         const ThebesBufferData& v__,
    4525             :         Message* msg__) -> void
    4526             : {
    4527           0 :     Write((v__).rect(), msg__);
    4528             :     // Sentinel = 'rect'
    4529           0 :     (msg__)->WriteSentinel(438776542);
    4530           0 :     Write((v__).rotation(), msg__);
    4531             :     // Sentinel = 'rotation'
    4532           0 :     (msg__)->WriteSentinel(289872474);
    4533           0 : }
    4534             : 
    4535          33 : auto PLayerTransactionParent::Read(
    4536             :         ThebesBufferData* v__,
    4537             :         const Message* msg__,
    4538             :         PickleIterator* iter__) -> bool
    4539             : {
    4540          33 :     if ((!(Read((&((v__)->rect())), msg__, iter__)))) {
    4541           0 :         FatalError("Error deserializing 'rect' (IntRect) member of 'ThebesBufferData'");
    4542           0 :         return false;
    4543             :     }
    4544             :     // Sentinel = 'rect'
    4545          33 :     if ((!((msg__)->ReadSentinel(iter__, 438776542)))) {
    4546           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'rect' (IntRect) member of 'ThebesBufferData'");
    4547           0 :         return false;
    4548             :     }
    4549          33 :     if ((!(Read((&((v__)->rotation())), msg__, iter__)))) {
    4550           0 :         FatalError("Error deserializing 'rotation' (IntPoint) member of 'ThebesBufferData'");
    4551           0 :         return false;
    4552             :     }
    4553             :     // Sentinel = 'rotation'
    4554          33 :     if ((!((msg__)->ReadSentinel(iter__, 289872474)))) {
    4555           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'rotation' (IntPoint) member of 'ThebesBufferData'");
    4556           0 :         return false;
    4557             :     }
    4558          33 :     return true;
    4559             : }
    4560             : 
    4561           0 : auto PLayerTransactionParent::Write(
    4562             :         const ImageLayerAttributes& v__,
    4563             :         Message* msg__) -> void
    4564             : {
    4565           0 :     Write((v__).samplingFilter(), msg__);
    4566             :     // Sentinel = 'samplingFilter'
    4567           0 :     (msg__)->WriteSentinel(2274374003);
    4568           0 :     Write((v__).scaleToSize(), msg__);
    4569             :     // Sentinel = 'scaleToSize'
    4570           0 :     (msg__)->WriteSentinel(1078440273);
    4571           0 :     Write((v__).scaleMode(), msg__);
    4572             :     // Sentinel = 'scaleMode'
    4573           0 :     (msg__)->WriteSentinel(1807422362);
    4574           0 : }
    4575             : 
    4576           0 : auto PLayerTransactionParent::Read(
    4577             :         ImageLayerAttributes* v__,
    4578             :         const Message* msg__,
    4579             :         PickleIterator* iter__) -> bool
    4580             : {
    4581           0 :     if ((!(Read((&((v__)->samplingFilter())), msg__, iter__)))) {
    4582           0 :         FatalError("Error deserializing 'samplingFilter' (SamplingFilter) member of 'ImageLayerAttributes'");
    4583           0 :         return false;
    4584             :     }
    4585             :     // Sentinel = 'samplingFilter'
    4586           0 :     if ((!((msg__)->ReadSentinel(iter__, 2274374003)))) {
    4587           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'samplingFilter' (SamplingFilter) member of 'ImageLayerAttributes'");
    4588           0 :         return false;
    4589             :     }
    4590           0 :     if ((!(Read((&((v__)->scaleToSize())), msg__, iter__)))) {
    4591           0 :         FatalError("Error deserializing 'scaleToSize' (IntSize) member of 'ImageLayerAttributes'");
    4592           0 :         return false;
    4593             :     }
    4594             :     // Sentinel = 'scaleToSize'
    4595           0 :     if ((!((msg__)->ReadSentinel(iter__, 1078440273)))) {
    4596           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'scaleToSize' (IntSize) member of 'ImageLayerAttributes'");
    4597           0 :         return false;
    4598             :     }
    4599           0 :     if ((!(Read((&((v__)->scaleMode())), msg__, iter__)))) {
    4600           0 :         FatalError("Error deserializing 'scaleMode' (ScaleMode) member of 'ImageLayerAttributes'");
    4601           0 :         return false;
    4602             :     }
    4603             :     // Sentinel = 'scaleMode'
    4604           0 :     if ((!((msg__)->ReadSentinel(iter__, 1807422362)))) {
    4605           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'scaleMode' (ScaleMode) member of 'ImageLayerAttributes'");
    4606           0 :         return false;
    4607             :     }
    4608           0 :     return true;
    4609             : }
    4610             : 
    4611           0 : auto PLayerTransactionParent::Write(
    4612             :         const OpUseTiledLayerBuffer& v__,
    4613             :         Message* msg__) -> void
    4614             : {
    4615           0 :     Write((v__).tileLayerDescriptor(), msg__);
    4616             :     // Sentinel = 'tileLayerDescriptor'
    4617           0 :     (msg__)->WriteSentinel(1059372119);
    4618           0 : }
    4619             : 
    4620           0 : auto PLayerTransactionParent::Read(
    4621             :         OpUseTiledLayerBuffer* v__,
    4622             :         const Message* msg__,
    4623             :         PickleIterator* iter__) -> bool
    4624             : {
    4625           0 :     if ((!(Read((&((v__)->tileLayerDescriptor())), msg__, iter__)))) {
    4626           0 :         FatalError("Error deserializing 'tileLayerDescriptor' (SurfaceDescriptorTiles) member of 'OpUseTiledLayerBuffer'");
    4627           0 :         return false;
    4628             :     }
    4629             :     // Sentinel = 'tileLayerDescriptor'
    4630           0 :     if ((!((msg__)->ReadSentinel(iter__, 1059372119)))) {
    4631           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'tileLayerDescriptor' (SurfaceDescriptorTiles) member of 'OpUseTiledLayerBuffer'");
    4632           0 :         return false;
    4633             :     }
    4634           0 :     return true;
    4635             : }
    4636             : 
    4637           0 : auto PLayerTransactionParent::Write(
    4638             :         const nsTArray<Edit>& v__,
    4639             :         Message* msg__) -> void
    4640             : {
    4641           0 :     uint32_t length = (v__).Length();
    4642           0 :     Write(length, msg__);
    4643             :     // Sentinel = ('length', 'Edit[]')
    4644           0 :     (msg__)->WriteSentinel(2033330003);
    4645             : 
    4646           0 :     for (auto& elem : v__) {
    4647           0 :         Write(elem, msg__);
    4648             :         // Sentinel = 'Edit[]'
    4649           0 :         (msg__)->WriteSentinel(3455210534);
    4650             :     }
    4651           0 : }
    4652             : 
    4653          28 : auto PLayerTransactionParent::Read(
    4654             :         nsTArray<Edit>* v__,
    4655             :         const Message* msg__,
    4656             :         PickleIterator* iter__) -> bool
    4657             : {
    4658          56 :     nsTArray<Edit> fa;
    4659             :     uint32_t length;
    4660          28 :     if ((!(Read((&(length)), msg__, iter__)))) {
    4661           0 :         mozilla::ipc::ArrayLengthReadError("Edit[]");
    4662           0 :         return false;
    4663             :     }
    4664             :     // Sentinel = ('length', 'Edit[]')
    4665          28 :     if ((!((msg__)->ReadSentinel(iter__, 2033330003)))) {
    4666           0 :         mozilla::ipc::SentinelReadError("Edit[]");
    4667           0 :         return false;
    4668             :     }
    4669             : 
    4670          28 :     Edit* elems = (fa).AppendElements(length);
    4671         165 :     for (uint32_t i = 0; (i) < (length); (++(i))) {
    4672         137 :         if ((!(Read((&(elems[i])), msg__, iter__)))) {
    4673           0 :             FatalError("Error deserializing 'Edit[i]'");
    4674           0 :             return false;
    4675             :         }
    4676             :         // Sentinel = 'Edit[]'
    4677         137 :         if ((!((msg__)->ReadSentinel(iter__, 3455210534)))) {
    4678           0 :             mozilla::ipc::SentinelReadError("Error deserializing 'Edit[i]'");
    4679           0 :             return false;
    4680             :         }
    4681             :     }
    4682          28 :     (v__)->SwapElements(fa);
    4683          28 :     return true;
    4684             : }
    4685             : 
    4686           0 : auto PLayerTransactionParent::Write(
    4687             :         const nsTArray<OpSetSimpleLayerAttributes>& v__,
    4688             :         Message* msg__) -> void
    4689             : {
    4690           0 :     uint32_t length = (v__).Length();
    4691           0 :     Write(length, msg__);
    4692             :     // Sentinel = ('length', 'OpSetSimpleLayerAttributes[]')
    4693           0 :     (msg__)->WriteSentinel(1007438984);
    4694             : 
    4695           0 :     for (auto& elem : v__) {
    4696           0 :         Write(elem, msg__);
    4697             :         // Sentinel = 'OpSetSimpleLayerAttributes[]'
    4698           0 :         (msg__)->WriteSentinel(2525001647);
    4699             :     }
    4700           0 : }
    4701             : 
    4702          28 : auto PLayerTransactionParent::Read(
    4703             :         nsTArray<OpSetSimpleLayerAttributes>* v__,
    4704             :         const Message* msg__,
    4705             :         PickleIterator* iter__) -> bool
    4706             : {
    4707          56 :     nsTArray<OpSetSimpleLayerAttributes> fa;
    4708             :     uint32_t length;
    4709          28 :     if ((!(Read((&(length)), msg__, iter__)))) {
    4710           0 :         mozilla::ipc::ArrayLengthReadError("OpSetSimpleLayerAttributes[]");
    4711           0 :         return false;
    4712             :     }
    4713             :     // Sentinel = ('length', 'OpSetSimpleLayerAttributes[]')
    4714          28 :     if ((!((msg__)->ReadSentinel(iter__, 1007438984)))) {
    4715           0 :         mozilla::ipc::SentinelReadError("OpSetSimpleLayerAttributes[]");
    4716           0 :         return false;
    4717             :     }
    4718             : 
    4719          28 :     OpSetSimpleLayerAttributes* elems = (fa).AppendElements(length);
    4720          52 :     for (uint32_t i = 0; (i) < (length); (++(i))) {
    4721          24 :         if ((!(Read((&(elems[i])), msg__, iter__)))) {
    4722           0 :             FatalError("Error deserializing 'OpSetSimpleLayerAttributes[i]'");
    4723           0 :             return false;
    4724             :         }
    4725             :         // Sentinel = 'OpSetSimpleLayerAttributes[]'
    4726          24 :         if ((!((msg__)->ReadSentinel(iter__, 2525001647)))) {
    4727           0 :             mozilla::ipc::SentinelReadError("Error deserializing 'OpSetSimpleLayerAttributes[i]'");
    4728           0 :             return false;
    4729             :         }
    4730             :     }
    4731          28 :     (v__)->SwapElements(fa);
    4732          28 :     return true;
    4733             : }
    4734             : 
    4735           0 : auto PLayerTransactionParent::Write(
    4736             :         const OpCreateTextLayer& v__,
    4737             :         Message* msg__) -> void
    4738             : {
    4739           0 :     Write((v__).layer(), msg__);
    4740             :     // Sentinel = 'layer'
    4741           0 :     (msg__)->WriteSentinel(1899167106);
    4742           0 : }
    4743             : 
    4744           0 : auto PLayerTransactionParent::Read(
    4745             :         OpCreateTextLayer* v__,
    4746             :         const Message* msg__,
    4747             :         PickleIterator* iter__) -> bool
    4748             : {
    4749           0 :     if ((!(Read((&((v__)->layer())), msg__, iter__)))) {
    4750           0 :         FatalError("Error deserializing 'layer' (LayerHandle) member of 'OpCreateTextLayer'");
    4751           0 :         return false;
    4752             :     }
    4753             :     // Sentinel = 'layer'
    4754           0 :     if ((!((msg__)->ReadSentinel(iter__, 1899167106)))) {
    4755           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'layer' (LayerHandle) member of 'OpCreateTextLayer'");
    4756           0 :         return false;
    4757             :     }
    4758           0 :     return true;
    4759             : }
    4760             : 
    4761           0 : auto PLayerTransactionParent::Write(
    4762             :         const BorderLayerAttributes& v__,
    4763             :         Message* msg__) -> void
    4764             : {
    4765           0 :     Write((v__).rect(), msg__);
    4766             :     // Sentinel = 'rect'
    4767           0 :     (msg__)->WriteSentinel(438776542);
    4768           0 :     Write((v__).colors(), msg__);
    4769             :     // Sentinel = 'colors'
    4770           0 :     (msg__)->WriteSentinel(2508874770);
    4771           0 :     Write((v__).corners(), msg__);
    4772             :     // Sentinel = 'corners'
    4773           0 :     (msg__)->WriteSentinel(625732201);
    4774           0 :     Write((v__).widths(), msg__);
    4775             :     // Sentinel = 'widths'
    4776           0 :     (msg__)->WriteSentinel(1424280297);
    4777           0 : }
    4778             : 
    4779           0 : auto PLayerTransactionParent::Read(
    4780             :         BorderLayerAttributes* v__,
    4781             :         const Message* msg__,
    4782             :         PickleIterator* iter__) -> bool
    4783             : {
    4784           0 :     if ((!(Read((&((v__)->rect())), msg__, iter__)))) {
    4785           0 :         FatalError("Error deserializing 'rect' (LayerRect) member of 'BorderLayerAttributes'");
    4786           0 :         return false;
    4787             :     }
    4788             :     // Sentinel = 'rect'
    4789           0 :     if ((!((msg__)->ReadSentinel(iter__, 438776542)))) {
    4790           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'rect' (LayerRect) member of 'BorderLayerAttributes'");
    4791           0 :         return false;
    4792             :     }
    4793           0 :     if ((!(Read((&((v__)->colors())), msg__, iter__)))) {
    4794           0 :         FatalError("Error deserializing 'colors' (BorderColors) member of 'BorderLayerAttributes'");
    4795           0 :         return false;
    4796             :     }
    4797             :     // Sentinel = 'colors'
    4798           0 :     if ((!((msg__)->ReadSentinel(iter__, 2508874770)))) {
    4799           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'colors' (BorderColors) member of 'BorderLayerAttributes'");
    4800           0 :         return false;
    4801             :     }
    4802           0 :     if ((!(Read((&((v__)->corners())), msg__, iter__)))) {
    4803           0 :         FatalError("Error deserializing 'corners' (BorderCorners) member of 'BorderLayerAttributes'");
    4804           0 :         return false;
    4805             :     }
    4806             :     // Sentinel = 'corners'
    4807           0 :     if ((!((msg__)->ReadSentinel(iter__, 625732201)))) {
    4808           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'corners' (BorderCorners) member of 'BorderLayerAttributes'");
    4809           0 :         return false;
    4810             :     }
    4811           0 :     if ((!(Read((&((v__)->widths())), msg__, iter__)))) {
    4812           0 :         FatalError("Error deserializing 'widths' (BorderWidths) member of 'BorderLayerAttributes'");
    4813           0 :         return false;
    4814             :     }
    4815             :     // Sentinel = 'widths'
    4816           0 :     if ((!((msg__)->ReadSentinel(iter__, 1424280297)))) {
    4817           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'widths' (BorderWidths) member of 'BorderLayerAttributes'");
    4818           0 :         return false;
    4819             :     }
    4820           0 :     return true;
    4821             : }
    4822             : 
    4823           0 : auto PLayerTransactionParent::Write(
    4824             :         const OpAttachCompositable& v__,
    4825             :         Message* msg__) -> void
    4826             : {
    4827           0 :     Write((v__).layer(), msg__);
    4828             :     // Sentinel = 'layer'
    4829           0 :     (msg__)->WriteSentinel(1899167106);
    4830           0 :     Write((v__).compositable(), msg__);
    4831             :     // Sentinel = 'compositable'
    4832           0 :     (msg__)->WriteSentinel(4031958248);
    4833           0 : }
    4834             : 
    4835          22 : auto PLayerTransactionParent::Read(
    4836             :         OpAttachCompositable* v__,
    4837             :         const Message* msg__,
    4838             :         PickleIterator* iter__) -> bool
    4839             : {
    4840          22 :     if ((!(Read((&((v__)->layer())), msg__, iter__)))) {
    4841           0 :         FatalError("Error deserializing 'layer' (LayerHandle) member of 'OpAttachCompositable'");
    4842           0 :         return false;
    4843             :     }
    4844             :     // Sentinel = 'layer'
    4845          22 :     if ((!((msg__)->ReadSentinel(iter__, 1899167106)))) {
    4846           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'layer' (LayerHandle) member of 'OpAttachCompositable'");
    4847           0 :         return false;
    4848             :     }
    4849          22 :     if ((!(Read((&((v__)->compositable())), msg__, iter__)))) {
    4850           0 :         FatalError("Error deserializing 'compositable' (CompositableHandle) member of 'OpAttachCompositable'");
    4851           0 :         return false;
    4852             :     }
    4853             :     // Sentinel = 'compositable'
    4854          22 :     if ((!((msg__)->ReadSentinel(iter__, 4031958248)))) {
    4855           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'compositable' (CompositableHandle) member of 'OpAttachCompositable'");
    4856           0 :         return false;
    4857             :     }
    4858          22 :     return true;
    4859             : }
    4860             : 
    4861           0 : auto PLayerTransactionParent::Write(
    4862             :         const OpSetRoot& v__,
    4863             :         Message* msg__) -> void
    4864             : {
    4865           0 :     Write((v__).root(), msg__);
    4866             :     // Sentinel = 'root'
    4867           0 :     (msg__)->WriteSentinel(333463932);
    4868           0 : }
    4869             : 
    4870           4 : auto PLayerTransactionParent::Read(
    4871             :         OpSetRoot* v__,
    4872             :         const Message* msg__,
    4873             :         PickleIterator* iter__) -> bool
    4874             : {
    4875           4 :     if ((!(Read((&((v__)->root())), msg__, iter__)))) {
    4876           0 :         FatalError("Error deserializing 'root' (LayerHandle) member of 'OpSetRoot'");
    4877           0 :         return false;
    4878             :     }
    4879             :     // Sentinel = 'root'
    4880           4 :     if ((!((msg__)->ReadSentinel(iter__, 333463932)))) {
    4881           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'root' (LayerHandle) member of 'OpSetRoot'");
    4882           0 :         return false;
    4883             :     }
    4884           4 :     return true;
    4885             : }
    4886             : 
    4887           0 : auto PLayerTransactionParent::Write(
    4888             :         const OpRemoveChild& v__,
    4889             :         Message* msg__) -> void
    4890             : {
    4891           0 :     Write((v__).container(), msg__);
    4892             :     // Sentinel = 'container'
    4893           0 :     (msg__)->WriteSentinel(613059236);
    4894           0 :     Write((v__).childLayer(), msg__);
    4895             :     // Sentinel = 'childLayer'
    4896           0 :     (msg__)->WriteSentinel(154398963);
    4897           0 : }
    4898             : 
    4899          20 : auto PLayerTransactionParent::Read(
    4900             :         OpRemoveChild* v__,
    4901             :         const Message* msg__,
    4902             :         PickleIterator* iter__) -> bool
    4903             : {
    4904          20 :     if ((!(Read((&((v__)->container())), msg__, iter__)))) {
    4905           0 :         FatalError("Error deserializing 'container' (LayerHandle) member of 'OpRemoveChild'");
    4906           0 :         return false;
    4907             :     }
    4908             :     // Sentinel = 'container'
    4909          20 :     if ((!((msg__)->ReadSentinel(iter__, 613059236)))) {
    4910           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'container' (LayerHandle) member of 'OpRemoveChild'");
    4911           0 :         return false;
    4912             :     }
    4913          20 :     if ((!(Read((&((v__)->childLayer())), msg__, iter__)))) {
    4914           0 :         FatalError("Error deserializing 'childLayer' (LayerHandle) member of 'OpRemoveChild'");
    4915           0 :         return false;
    4916             :     }
    4917             :     // Sentinel = 'childLayer'
    4918          20 :     if ((!((msg__)->ReadSentinel(iter__, 154398963)))) {
    4919           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'childLayer' (LayerHandle) member of 'OpRemoveChild'");
    4920           0 :         return false;
    4921             :     }
    4922          20 :     return true;
    4923             : }
    4924             : 
    4925           0 : auto PLayerTransactionParent::Write(
    4926             :         const nsTArray<AnimationSegment>& v__,
    4927             :         Message* msg__) -> void
    4928             : {
    4929           0 :     uint32_t length = (v__).Length();
    4930           0 :     Write(length, msg__);
    4931             :     // Sentinel = ('length', 'AnimationSegment[]')
    4932           0 :     (msg__)->WriteSentinel(3972020876);
    4933             : 
    4934           0 :     for (auto& elem : v__) {
    4935           0 :         Write(elem, msg__);
    4936             :         // Sentinel = 'AnimationSegment[]'
    4937           0 :         (msg__)->WriteSentinel(3516015771);
    4938             :     }
    4939           0 : }
    4940             : 
    4941           0 : auto PLayerTransactionParent::Read(
    4942             :         nsTArray<AnimationSegment>* v__,
    4943             :         const Message* msg__,
    4944             :         PickleIterator* iter__) -> bool
    4945             : {
    4946           0 :     nsTArray<AnimationSegment> fa;
    4947             :     uint32_t length;
    4948           0 :     if ((!(Read((&(length)), msg__, iter__)))) {
    4949           0 :         mozilla::ipc::ArrayLengthReadError("AnimationSegment[]");
    4950           0 :         return false;
    4951             :     }
    4952             :     // Sentinel = ('length', 'AnimationSegment[]')
    4953           0 :     if ((!((msg__)->ReadSentinel(iter__, 3972020876)))) {
    4954           0 :         mozilla::ipc::SentinelReadError("AnimationSegment[]");
    4955           0 :         return false;
    4956             :     }
    4957             : 
    4958           0 :     AnimationSegment* elems = (fa).AppendElements(length);
    4959           0 :     for (uint32_t i = 0; (i) < (length); (++(i))) {
    4960           0 :         if ((!(Read((&(elems[i])), msg__, iter__)))) {
    4961           0 :             FatalError("Error deserializing 'AnimationSegment[i]'");
    4962           0 :             return false;
    4963             :         }
    4964             :         // Sentinel = 'AnimationSegment[]'
    4965           0 :         if ((!((msg__)->ReadSentinel(iter__, 3516015771)))) {
    4966           0 :             mozilla::ipc::SentinelReadError("Error deserializing 'AnimationSegment[i]'");
    4967           0 :             return false;
    4968             :         }
    4969             :     }
    4970           0 :     (v__)->SwapElements(fa);
    4971           0 :     return true;
    4972             : }
    4973             : 
    4974           0 : auto PLayerTransactionParent::Write(
    4975             :         const OpWindowOverlayChanged& v__,
    4976             :         Message* msg__) -> void
    4977             : {
    4978           0 : }
    4979             : 
    4980           0 : auto PLayerTransactionParent::Read(
    4981             :         OpWindowOverlayChanged* v__,
    4982             :         const Message* msg__,
    4983             :         PickleIterator* iter__) -> bool
    4984             : {
    4985           0 :     return true;
    4986             : }
    4987             : 
    4988           0 : auto PLayerTransactionParent::Write(
    4989             :         const TransformMatrix& v__,
    4990             :         Message* msg__) -> void
    4991             : {
    4992           0 :     Write((v__).value(), msg__);
    4993             :     // Sentinel = 'value'
    4994           0 :     (msg__)->WriteSentinel(3456818542);
    4995           0 : }
    4996             : 
    4997           0 : auto PLayerTransactionParent::Read(
    4998             :         TransformMatrix* v__,
    4999             :         const Message* msg__,
    5000             :         PickleIterator* iter__) -> bool
    5001             : {
    5002           0 :     if ((!(Read((&((v__)->value())), msg__, iter__)))) {
    5003           0 :         FatalError("Error deserializing 'value' (Matrix4x4) member of 'TransformMatrix'");
    5004           0 :         return false;
    5005             :     }
    5006             :     // Sentinel = 'value'
    5007           0 :     if ((!((msg__)->ReadSentinel(iter__, 3456818542)))) {
    5008           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'value' (Matrix4x4) member of 'TransformMatrix'");
    5009           0 :         return false;
    5010             :     }
    5011           0 :     return true;
    5012             : }
    5013             : 
    5014           0 : auto PLayerTransactionParent::Write(
    5015             :         const Scale& v__,
    5016             :         Message* msg__) -> void
    5017             : {
    5018           0 :     Write((v__).x(), msg__);
    5019             :     // Sentinel = 'x'
    5020           0 :     (msg__)->WriteSentinel(2475144313);
    5021           0 :     Write((v__).y(), msg__);
    5022             :     // Sentinel = 'y'
    5023           0 :     (msg__)->WriteSentinel(2603144696);
    5024           0 :     Write((v__).z(), msg__);
    5025             :     // Sentinel = 'z'
    5026           0 :     (msg__)->WriteSentinel(2731145083);
    5027           0 : }
    5028             : 
    5029           0 : auto PLayerTransactionParent::Read(
    5030             :         Scale* v__,
    5031             :         const Message* msg__,
    5032             :         PickleIterator* iter__) -> bool
    5033             : {
    5034           0 :     if ((!(Read((&((v__)->x())), msg__, iter__)))) {
    5035           0 :         FatalError("Error deserializing 'x' (float) member of 'Scale'");
    5036           0 :         return false;
    5037             :     }
    5038             :     // Sentinel = 'x'
    5039           0 :     if ((!((msg__)->ReadSentinel(iter__, 2475144313)))) {
    5040           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'x' (float) member of 'Scale'");
    5041           0 :         return false;
    5042             :     }
    5043           0 :     if ((!(Read((&((v__)->y())), msg__, iter__)))) {
    5044           0 :         FatalError("Error deserializing 'y' (float) member of 'Scale'");
    5045           0 :         return false;
    5046             :     }
    5047             :     // Sentinel = 'y'
    5048           0 :     if ((!((msg__)->ReadSentinel(iter__, 2603144696)))) {
    5049           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'y' (float) member of 'Scale'");
    5050           0 :         return false;
    5051             :     }
    5052           0 :     if ((!(Read((&((v__)->z())), msg__, iter__)))) {
    5053           0 :         FatalError("Error deserializing 'z' (float) member of 'Scale'");
    5054           0 :         return false;
    5055             :     }
    5056             :     // Sentinel = 'z'
    5057           0 :     if ((!((msg__)->ReadSentinel(iter__, 2731145083)))) {
    5058           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'z' (float) member of 'Scale'");
    5059           0 :         return false;
    5060             :     }
    5061           0 :     return true;
    5062             : }
    5063             : 
    5064           0 : auto PLayerTransactionParent::Write(
    5065             :         const OpUseTexture& v__,
    5066             :         Message* msg__) -> void
    5067             : {
    5068           0 :     Write((v__).textures(), msg__);
    5069             :     // Sentinel = 'textures'
    5070           0 :     (msg__)->WriteSentinel(1760338112);
    5071           0 : }
    5072             : 
    5073          33 : auto PLayerTransactionParent::Read(
    5074             :         OpUseTexture* v__,
    5075             :         const Message* msg__,
    5076             :         PickleIterator* iter__) -> bool
    5077             : {
    5078          33 :     if ((!(Read((&((v__)->textures())), msg__, iter__)))) {
    5079           0 :         FatalError("Error deserializing 'textures' (TimedTexture[]) member of 'OpUseTexture'");
    5080           0 :         return false;
    5081             :     }
    5082             :     // Sentinel = 'textures'
    5083          33 :     if ((!((msg__)->ReadSentinel(iter__, 1760338112)))) {
    5084           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'textures' (TimedTexture[]) member of 'OpUseTexture'");
    5085           0 :         return false;
    5086             :     }
    5087          33 :     return true;
    5088             : }
    5089             : 
    5090           0 : auto PLayerTransactionParent::Write(
    5091             :         const TransactionInfo& v__,
    5092             :         Message* msg__) -> void
    5093             : {
    5094           0 :     Write((v__).cset(), msg__);
    5095             :     // Sentinel = 'cset'
    5096           0 :     (msg__)->WriteSentinel(1641215409);
    5097           0 :     Write((v__).setSimpleAttrs(), msg__);
    5098             :     // Sentinel = 'setSimpleAttrs'
    5099           0 :     (msg__)->WriteSentinel(2311501828);
    5100           0 :     Write((v__).setAttrs(), msg__);
    5101             :     // Sentinel = 'setAttrs'
    5102           0 :     (msg__)->WriteSentinel(1753236472);
    5103           0 :     Write((v__).paints(), msg__);
    5104             :     // Sentinel = 'paints'
    5105           0 :     (msg__)->WriteSentinel(4193300201);
    5106           0 :     Write((v__).toDestroy(), msg__);
    5107             :     // Sentinel = 'toDestroy'
    5108           0 :     (msg__)->WriteSentinel(4183172130);
    5109           0 :     Write((v__).fwdTransactionId(), msg__);
    5110             :     // Sentinel = 'fwdTransactionId'
    5111           0 :     (msg__)->WriteSentinel(2023976742);
    5112           0 :     Write((v__).id(), msg__);
    5113             :     // Sentinel = 'id'
    5114           0 :     (msg__)->WriteSentinel(2794505629);
    5115           0 :     Write((v__).targetConfig(), msg__);
    5116             :     // Sentinel = 'targetConfig'
    5117           0 :     (msg__)->WriteSentinel(3027540357);
    5118           0 :     Write((v__).plugins(), msg__);
    5119             :     // Sentinel = 'plugins'
    5120           0 :     (msg__)->WriteSentinel(2745061527);
    5121           0 :     Write((v__).isFirstPaint(), msg__);
    5122             :     // Sentinel = 'isFirstPaint'
    5123           0 :     (msg__)->WriteSentinel(3748149138);
    5124           0 :     Write((v__).focusTarget(), msg__);
    5125             :     // Sentinel = 'focusTarget'
    5126           0 :     (msg__)->WriteSentinel(2511236160);
    5127           0 :     Write((v__).scheduleComposite(), msg__);
    5128             :     // Sentinel = 'scheduleComposite'
    5129           0 :     (msg__)->WriteSentinel(3730535701);
    5130           0 :     Write((v__).paintSequenceNumber(), msg__);
    5131             :     // Sentinel = 'paintSequenceNumber'
    5132           0 :     (msg__)->WriteSentinel(3875026487);
    5133           0 :     Write((v__).isRepeatTransaction(), msg__);
    5134             :     // Sentinel = 'isRepeatTransaction'
    5135           0 :     (msg__)->WriteSentinel(4043798256);
    5136           0 :     Write((v__).transactionStart(), msg__);
    5137             :     // Sentinel = 'transactionStart'
    5138           0 :     (msg__)->WriteSentinel(214152700);
    5139           0 : }
    5140             : 
    5141          28 : auto PLayerTransactionParent::Read(
    5142             :         TransactionInfo* v__,
    5143             :         const Message* msg__,
    5144             :         PickleIterator* iter__) -> bool
    5145             : {
    5146          28 :     if ((!(Read((&((v__)->cset())), msg__, iter__)))) {
    5147           0 :         FatalError("Error deserializing 'cset' (Edit[]) member of 'TransactionInfo'");
    5148           0 :         return false;
    5149             :     }
    5150             :     // Sentinel = 'cset'
    5151          28 :     if ((!((msg__)->ReadSentinel(iter__, 1641215409)))) {
    5152           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'cset' (Edit[]) member of 'TransactionInfo'");
    5153           0 :         return false;
    5154             :     }
    5155          28 :     if ((!(Read((&((v__)->setSimpleAttrs())), msg__, iter__)))) {
    5156           0 :         FatalError("Error deserializing 'setSimpleAttrs' (OpSetSimpleLayerAttributes[]) member of 'TransactionInfo'");
    5157           0 :         return false;
    5158             :     }
    5159             :     // Sentinel = 'setSimpleAttrs'
    5160          28 :     if ((!((msg__)->ReadSentinel(iter__, 2311501828)))) {
    5161           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'setSimpleAttrs' (OpSetSimpleLayerAttributes[]) member of 'TransactionInfo'");
    5162           0 :         return false;
    5163             :     }
    5164          28 :     if ((!(Read((&((v__)->setAttrs())), msg__, iter__)))) {
    5165           0 :         FatalError("Error deserializing 'setAttrs' (OpSetLayerAttributes[]) member of 'TransactionInfo'");
    5166           0 :         return false;
    5167             :     }
    5168             :     // Sentinel = 'setAttrs'
    5169          28 :     if ((!((msg__)->ReadSentinel(iter__, 1753236472)))) {
    5170           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'setAttrs' (OpSetLayerAttributes[]) member of 'TransactionInfo'");
    5171           0 :         return false;
    5172             :     }
    5173          28 :     if ((!(Read((&((v__)->paints())), msg__, iter__)))) {
    5174           0 :         FatalError("Error deserializing 'paints' (CompositableOperation[]) member of 'TransactionInfo'");
    5175           0 :         return false;
    5176             :     }
    5177             :     // Sentinel = 'paints'
    5178          28 :     if ((!((msg__)->ReadSentinel(iter__, 4193300201)))) {
    5179           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'paints' (CompositableOperation[]) member of 'TransactionInfo'");
    5180           0 :         return false;
    5181             :     }
    5182          28 :     if ((!(Read((&((v__)->toDestroy())), msg__, iter__)))) {
    5183           0 :         FatalError("Error deserializing 'toDestroy' (OpDestroy[]) member of 'TransactionInfo'");
    5184           0 :         return false;
    5185             :     }
    5186             :     // Sentinel = 'toDestroy'
    5187          28 :     if ((!((msg__)->ReadSentinel(iter__, 4183172130)))) {
    5188           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'toDestroy' (OpDestroy[]) member of 'TransactionInfo'");
    5189           0 :         return false;
    5190             :     }
    5191          28 :     if ((!(Read((&((v__)->fwdTransactionId())), msg__, iter__)))) {
    5192           0 :         FatalError("Error deserializing 'fwdTransactionId' (uint64_t) member of 'TransactionInfo'");
    5193           0 :         return false;
    5194             :     }
    5195             :     // Sentinel = 'fwdTransactionId'
    5196          28 :     if ((!((msg__)->ReadSentinel(iter__, 2023976742)))) {
    5197           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'fwdTransactionId' (uint64_t) member of 'TransactionInfo'");
    5198           0 :         return false;
    5199             :     }
    5200          28 :     if ((!(Read((&((v__)->id())), msg__, iter__)))) {
    5201           0 :         FatalError("Error deserializing 'id' (uint64_t) member of 'TransactionInfo'");
    5202           0 :         return false;
    5203             :     }
    5204             :     // Sentinel = 'id'
    5205          28 :     if ((!((msg__)->ReadSentinel(iter__, 2794505629)))) {
    5206           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'id' (uint64_t) member of 'TransactionInfo'");
    5207           0 :         return false;
    5208             :     }
    5209          28 :     if ((!(Read((&((v__)->targetConfig())), msg__, iter__)))) {
    5210           0 :         FatalError("Error deserializing 'targetConfig' (TargetConfig) member of 'TransactionInfo'");
    5211           0 :         return false;
    5212             :     }
    5213             :     // Sentinel = 'targetConfig'
    5214          28 :     if ((!((msg__)->ReadSentinel(iter__, 3027540357)))) {
    5215           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'targetConfig' (TargetConfig) member of 'TransactionInfo'");
    5216           0 :         return false;
    5217             :     }
    5218          28 :     if ((!(Read((&((v__)->plugins())), msg__, iter__)))) {
    5219           0 :         FatalError("Error deserializing 'plugins' (PluginWindowData[]) member of 'TransactionInfo'");
    5220           0 :         return false;
    5221             :     }
    5222             :     // Sentinel = 'plugins'
    5223          28 :     if ((!((msg__)->ReadSentinel(iter__, 2745061527)))) {
    5224           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'plugins' (PluginWindowData[]) member of 'TransactionInfo'");
    5225           0 :         return false;
    5226             :     }
    5227          28 :     if ((!(Read((&((v__)->isFirstPaint())), msg__, iter__)))) {
    5228           0 :         FatalError("Error deserializing 'isFirstPaint' (bool) member of 'TransactionInfo'");
    5229           0 :         return false;
    5230             :     }
    5231             :     // Sentinel = 'isFirstPaint'
    5232          28 :     if ((!((msg__)->ReadSentinel(iter__, 3748149138)))) {
    5233           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'isFirstPaint' (bool) member of 'TransactionInfo'");
    5234           0 :         return false;
    5235             :     }
    5236          28 :     if ((!(Read((&((v__)->focusTarget())), msg__, iter__)))) {
    5237           0 :         FatalError("Error deserializing 'focusTarget' (FocusTarget) member of 'TransactionInfo'");
    5238           0 :         return false;
    5239             :     }
    5240             :     // Sentinel = 'focusTarget'
    5241          28 :     if ((!((msg__)->ReadSentinel(iter__, 2511236160)))) {
    5242           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'focusTarget' (FocusTarget) member of 'TransactionInfo'");
    5243           0 :         return false;
    5244             :     }
    5245          28 :     if ((!(Read((&((v__)->scheduleComposite())), msg__, iter__)))) {
    5246           0 :         FatalError("Error deserializing 'scheduleComposite' (bool) member of 'TransactionInfo'");
    5247           0 :         return false;
    5248             :     }
    5249             :     // Sentinel = 'scheduleComposite'
    5250          28 :     if ((!((msg__)->ReadSentinel(iter__, 3730535701)))) {
    5251           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'scheduleComposite' (bool) member of 'TransactionInfo'");
    5252           0 :         return false;
    5253             :     }
    5254          28 :     if ((!(Read((&((v__)->paintSequenceNumber())), msg__, iter__)))) {
    5255           0 :         FatalError("Error deserializing 'paintSequenceNumber' (uint32_t) member of 'TransactionInfo'");
    5256           0 :         return false;
    5257             :     }
    5258             :     // Sentinel = 'paintSequenceNumber'
    5259          28 :     if ((!((msg__)->ReadSentinel(iter__, 3875026487)))) {
    5260           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'paintSequenceNumber' (uint32_t) member of 'TransactionInfo'");
    5261           0 :         return false;
    5262             :     }
    5263          28 :     if ((!(Read((&((v__)->isRepeatTransaction())), msg__, iter__)))) {
    5264           0 :         FatalError("Error deserializing 'isRepeatTransaction' (bool) member of 'TransactionInfo'");
    5265           0 :         return false;
    5266             :     }
    5267             :     // Sentinel = 'isRepeatTransaction'
    5268          28 :     if ((!((msg__)->ReadSentinel(iter__, 4043798256)))) {
    5269           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'isRepeatTransaction' (bool) member of 'TransactionInfo'");
    5270           0 :         return false;
    5271             :     }
    5272          28 :     if ((!(Read((&((v__)->transactionStart())), msg__, iter__)))) {
    5273           0 :         FatalError("Error deserializing 'transactionStart' (TimeStamp) member of 'TransactionInfo'");
    5274           0 :         return false;
    5275             :     }
    5276             :     // Sentinel = 'transactionStart'
    5277          28 :     if ((!((msg__)->ReadSentinel(iter__, 214152700)))) {
    5278           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'transactionStart' (TimeStamp) member of 'TransactionInfo'");
    5279           0 :         return false;
    5280             :     }
    5281          28 :     return true;
    5282             : }
    5283             : 
    5284           0 : auto PLayerTransactionParent::Write(
    5285             :         const TexturedTileDescriptor& v__,
    5286             :         Message* msg__) -> void
    5287             : {
    5288           0 :     Write((v__).textureParent(), msg__, false);
    5289             :     // Sentinel = 'texture'
    5290           0 :     (msg__)->WriteSentinel(3654462510);
    5291             :     // skipping actor field that's meaningless on this side
    5292           0 :     Write((v__).textureOnWhite(), msg__);
    5293             :     // Sentinel = 'textureOnWhite'
    5294           0 :     (msg__)->WriteSentinel(4123373327);
    5295           0 :     Write((v__).updateRect(), msg__);
    5296             :     // Sentinel = 'updateRect'
    5297           0 :     (msg__)->WriteSentinel(655450235);
    5298           0 :     Write((v__).sharedLock(), msg__);
    5299             :     // Sentinel = 'sharedLock'
    5300           0 :     (msg__)->WriteSentinel(1249896484);
    5301           0 :     Write((v__).sharedLockOnWhite(), msg__);
    5302             :     // Sentinel = 'sharedLockOnWhite'
    5303           0 :     (msg__)->WriteSentinel(2954092853);
    5304           0 :     Write((v__).wasPlaceholder(), msg__);
    5305             :     // Sentinel = 'wasPlaceholder'
    5306           0 :     (msg__)->WriteSentinel(3801375384);
    5307           0 : }
    5308             : 
    5309           0 : auto PLayerTransactionParent::Read(
    5310             :         TexturedTileDescriptor* v__,
    5311             :         const Message* msg__,
    5312             :         PickleIterator* iter__) -> bool
    5313             : {
    5314           0 :     if ((!(Read((&((v__)->textureParent())), msg__, iter__, false)))) {
    5315           0 :         FatalError("Error deserializing 'textureParent' (PTexture) member of 'TexturedTileDescriptor'");
    5316           0 :         return false;
    5317             :     }
    5318             :     // Sentinel = 'texture'
    5319           0 :     if ((!((msg__)->ReadSentinel(iter__, 3654462510)))) {
    5320           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'textureParent' (PTexture) member of 'TexturedTileDescriptor'");
    5321           0 :         return false;
    5322             :     }
    5323             :     // skipping actor field that's meaningless on this side
    5324           0 :     if ((!(Read((&((v__)->textureOnWhite())), msg__, iter__)))) {
    5325           0 :         FatalError("Error deserializing 'textureOnWhite' (MaybeTexture) member of 'TexturedTileDescriptor'");
    5326           0 :         return false;
    5327             :     }
    5328             :     // Sentinel = 'textureOnWhite'
    5329           0 :     if ((!((msg__)->ReadSentinel(iter__, 4123373327)))) {
    5330           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'textureOnWhite' (MaybeTexture) member of 'TexturedTileDescriptor'");
    5331           0 :         return false;
    5332             :     }
    5333           0 :     if ((!(Read((&((v__)->updateRect())), msg__, iter__)))) {
    5334           0 :         FatalError("Error deserializing 'updateRect' (IntRect) member of 'TexturedTileDescriptor'");
    5335           0 :         return false;
    5336             :     }
    5337             :     // Sentinel = 'updateRect'
    5338           0 :     if ((!((msg__)->ReadSentinel(iter__, 655450235)))) {
    5339           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'updateRect' (IntRect) member of 'TexturedTileDescriptor'");
    5340           0 :         return false;
    5341             :     }
    5342           0 :     if ((!(Read((&((v__)->sharedLock())), msg__, iter__)))) {
    5343           0 :         FatalError("Error deserializing 'sharedLock' (ReadLockDescriptor) member of 'TexturedTileDescriptor'");
    5344           0 :         return false;
    5345             :     }
    5346             :     // Sentinel = 'sharedLock'
    5347           0 :     if ((!((msg__)->ReadSentinel(iter__, 1249896484)))) {
    5348           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'sharedLock' (ReadLockDescriptor) member of 'TexturedTileDescriptor'");
    5349           0 :         return false;
    5350             :     }
    5351           0 :     if ((!(Read((&((v__)->sharedLockOnWhite())), msg__, iter__)))) {
    5352           0 :         FatalError("Error deserializing 'sharedLockOnWhite' (ReadLockDescriptor) member of 'TexturedTileDescriptor'");
    5353           0 :         return false;
    5354             :     }
    5355             :     // Sentinel = 'sharedLockOnWhite'
    5356           0 :     if ((!((msg__)->ReadSentinel(iter__, 2954092853)))) {
    5357           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'sharedLockOnWhite' (ReadLockDescriptor) member of 'TexturedTileDescriptor'");
    5358           0 :         return false;
    5359             :     }
    5360           0 :     if ((!(Read((&((v__)->wasPlaceholder())), msg__, iter__)))) {
    5361           0 :         FatalError("Error deserializing 'wasPlaceholder' (bool) member of 'TexturedTileDescriptor'");
    5362           0 :         return false;
    5363             :     }
    5364             :     // Sentinel = 'wasPlaceholder'
    5365           0 :     if ((!((msg__)->ReadSentinel(iter__, 3801375384)))) {
    5366           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'wasPlaceholder' (bool) member of 'TexturedTileDescriptor'");
    5367           0 :         return false;
    5368             :     }
    5369           0 :     return true;
    5370             : }
    5371             : 
    5372           0 : auto PLayerTransactionParent::Write(
    5373             :         const Rotation3D& v__,
    5374             :         Message* msg__) -> void
    5375             : {
    5376           0 :     Write((v__).x(), msg__);
    5377             :     // Sentinel = 'x'
    5378           0 :     (msg__)->WriteSentinel(2475144313);
    5379           0 :     Write((v__).y(), msg__);
    5380             :     // Sentinel = 'y'
    5381           0 :     (msg__)->WriteSentinel(2603144696);
    5382           0 :     Write((v__).z(), msg__);
    5383             :     // Sentinel = 'z'
    5384           0 :     (msg__)->WriteSentinel(2731145083);
    5385           0 :     Write((v__).angle(), msg__);
    5386             :     // Sentinel = 'angle'
    5387           0 :     (msg__)->WriteSentinel(3388308388);
    5388           0 : }
    5389             : 
    5390           0 : auto PLayerTransactionParent::Read(
    5391             :         Rotation3D* v__,
    5392             :         const Message* msg__,
    5393             :         PickleIterator* iter__) -> bool
    5394             : {
    5395           0 :     if ((!(Read((&((v__)->x())), msg__, iter__)))) {
    5396           0 :         FatalError("Error deserializing 'x' (float) member of 'Rotation3D'");
    5397           0 :         return false;
    5398             :     }
    5399             :     // Sentinel = 'x'
    5400           0 :     if ((!((msg__)->ReadSentinel(iter__, 2475144313)))) {
    5401           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'x' (float) member of 'Rotation3D'");
    5402           0 :         return false;
    5403             :     }
    5404           0 :     if ((!(Read((&((v__)->y())), msg__, iter__)))) {
    5405           0 :         FatalError("Error deserializing 'y' (float) member of 'Rotation3D'");
    5406           0 :         return false;
    5407             :     }
    5408             :     // Sentinel = 'y'
    5409           0 :     if ((!((msg__)->ReadSentinel(iter__, 2603144696)))) {
    5410           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'y' (float) member of 'Rotation3D'");
    5411           0 :         return false;
    5412             :     }
    5413           0 :     if ((!(Read((&((v__)->z())), msg__, iter__)))) {
    5414           0 :         FatalError("Error deserializing 'z' (float) member of 'Rotation3D'");
    5415           0 :         return false;
    5416             :     }
    5417             :     // Sentinel = 'z'
    5418           0 :     if ((!((msg__)->ReadSentinel(iter__, 2731145083)))) {
    5419           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'z' (float) member of 'Rotation3D'");
    5420           0 :         return false;
    5421             :     }
    5422           0 :     if ((!(Read((&((v__)->angle())), msg__, iter__)))) {
    5423           0 :         FatalError("Error deserializing 'angle' (CSSAngle) member of 'Rotation3D'");
    5424           0 :         return false;
    5425             :     }
    5426             :     // Sentinel = 'angle'
    5427           0 :     if ((!((msg__)->ReadSentinel(iter__, 3388308388)))) {
    5428           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'angle' (CSSAngle) member of 'Rotation3D'");
    5429           0 :         return false;
    5430             :     }
    5431           0 :     return true;
    5432             : }
    5433             : 
    5434           0 : auto PLayerTransactionParent::Write(
    5435             :         const OpUseComponentAlphaTextures& v__,
    5436             :         Message* msg__) -> void
    5437             : {
    5438           0 :     Write((v__).textureOnBlackParent(), msg__, false);
    5439             :     // Sentinel = 'textureOnBlack'
    5440           0 :     (msg__)->WriteSentinel(2782165397);
    5441             :     // skipping actor field that's meaningless on this side
    5442           0 :     Write((v__).textureOnWhiteParent(), msg__, false);
    5443             :     // Sentinel = 'textureOnWhite'
    5444           0 :     (msg__)->WriteSentinel(4123373327);
    5445             :     // skipping actor field that's meaningless on this side
    5446           0 :     Write((v__).sharedLockBlack(), msg__);
    5447             :     // Sentinel = 'sharedLockBlack'
    5448           0 :     (msg__)->WriteSentinel(3577180696);
    5449           0 :     Write((v__).sharedLockWhite(), msg__);
    5450             :     // Sentinel = 'sharedLockWhite'
    5451           0 :     (msg__)->WriteSentinel(3643157938);
    5452           0 : }
    5453             : 
    5454           0 : auto PLayerTransactionParent::Read(
    5455             :         OpUseComponentAlphaTextures* v__,
    5456             :         const Message* msg__,
    5457             :         PickleIterator* iter__) -> bool
    5458             : {
    5459           0 :     if ((!(Read((&((v__)->textureOnBlackParent())), msg__, iter__, false)))) {
    5460           0 :         FatalError("Error deserializing 'textureOnBlackParent' (PTexture) member of 'OpUseComponentAlphaTextures'");
    5461           0 :         return false;
    5462             :     }
    5463             :     // Sentinel = 'textureOnBlack'
    5464           0 :     if ((!((msg__)->ReadSentinel(iter__, 2782165397)))) {
    5465           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'textureOnBlackParent' (PTexture) member of 'OpUseComponentAlphaTextures'");
    5466           0 :         return false;
    5467             :     }
    5468             :     // skipping actor field that's meaningless on this side
    5469           0 :     if ((!(Read((&((v__)->textureOnWhiteParent())), msg__, iter__, false)))) {
    5470           0 :         FatalError("Error deserializing 'textureOnWhiteParent' (PTexture) member of 'OpUseComponentAlphaTextures'");
    5471           0 :         return false;
    5472             :     }
    5473             :     // Sentinel = 'textureOnWhite'
    5474           0 :     if ((!((msg__)->ReadSentinel(iter__, 4123373327)))) {
    5475           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'textureOnWhiteParent' (PTexture) member of 'OpUseComponentAlphaTextures'");
    5476           0 :         return false;
    5477             :     }
    5478             :     // skipping actor field that's meaningless on this side
    5479           0 :     if ((!(Read((&((v__)->sharedLockBlack())), msg__, iter__)))) {
    5480           0 :         FatalError("Error deserializing 'sharedLockBlack' (ReadLockHandle) member of 'OpUseComponentAlphaTextures'");
    5481           0 :         return false;
    5482             :     }
    5483             :     // Sentinel = 'sharedLockBlack'
    5484           0 :     if ((!((msg__)->ReadSentinel(iter__, 3577180696)))) {
    5485           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'sharedLockBlack' (ReadLockHandle) member of 'OpUseComponentAlphaTextures'");
    5486           0 :         return false;
    5487             :     }
    5488           0 :     if ((!(Read((&((v__)->sharedLockWhite())), msg__, iter__)))) {
    5489           0 :         FatalError("Error deserializing 'sharedLockWhite' (ReadLockHandle) member of 'OpUseComponentAlphaTextures'");
    5490           0 :         return false;
    5491             :     }
    5492             :     // Sentinel = 'sharedLockWhite'
    5493           0 :     if ((!((msg__)->ReadSentinel(iter__, 3643157938)))) {
    5494           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'sharedLockWhite' (ReadLockHandle) member of 'OpUseComponentAlphaTextures'");
    5495           0 :         return false;
    5496             :     }
    5497           0 :     return true;
    5498             : }
    5499             : 
    5500           0 : auto PLayerTransactionParent::Write(
    5501             :         const LayerColor& v__,
    5502             :         Message* msg__) -> void
    5503             : {
    5504           0 :     Write((v__).value(), msg__);
    5505             :     // Sentinel = 'value'
    5506           0 :     (msg__)->WriteSentinel(3456818542);
    5507           0 : }
    5508             : 
    5509           4 : auto PLayerTransactionParent::Read(
    5510             :         LayerColor* v__,
    5511             :         const Message* msg__,
    5512             :         PickleIterator* iter__) -> bool
    5513             : {
    5514           4 :     if ((!(Read((&((v__)->value())), msg__, iter__)))) {
    5515           0 :         FatalError("Error deserializing 'value' (Color) member of 'LayerColor'");
    5516           0 :         return false;
    5517             :     }
    5518             :     // Sentinel = 'value'
    5519           4 :     if ((!((msg__)->ReadSentinel(iter__, 3456818542)))) {
    5520           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'value' (Color) member of 'LayerColor'");
    5521           0 :         return false;
    5522             :     }
    5523           4 :     return true;
    5524             : }
    5525             : 
    5526           0 : auto PLayerTransactionParent::Write(
    5527             :         const nsTArray<GlyphArray>& v__,
    5528             :         Message* msg__) -> void
    5529             : {
    5530           0 :     uint32_t length = (v__).Length();
    5531           0 :     Write(length, msg__);
    5532             :     // Sentinel = ('length', 'GlyphArray[]')
    5533           0 :     (msg__)->WriteSentinel(2784346266);
    5534             : 
    5535           0 :     for (auto& elem : v__) {
    5536           0 :         Write(elem, msg__);
    5537             :         // Sentinel = 'GlyphArray[]'
    5538           0 :         (msg__)->WriteSentinel(1884738165);
    5539             :     }
    5540           0 : }
    5541             : 
    5542           0 : auto PLayerTransactionParent::Read(
    5543             :         nsTArray<GlyphArray>* v__,
    5544             :         const Message* msg__,
    5545             :         PickleIterator* iter__) -> bool
    5546             : {
    5547           0 :     nsTArray<GlyphArray> fa;
    5548             :     uint32_t length;
    5549           0 :     if ((!(Read((&(length)), msg__, iter__)))) {
    5550           0 :         mozilla::ipc::ArrayLengthReadError("GlyphArray[]");
    5551           0 :         return false;
    5552             :     }
    5553             :     // Sentinel = ('length', 'GlyphArray[]')
    5554           0 :     if ((!((msg__)->ReadSentinel(iter__, 2784346266)))) {
    5555           0 :         mozilla::ipc::SentinelReadError("GlyphArray[]");
    5556           0 :         return false;
    5557             :     }
    5558             : 
    5559           0 :     GlyphArray* elems = (fa).AppendElements(length);
    5560           0 :     for (uint32_t i = 0; (i) < (length); (++(i))) {
    5561           0 :         if ((!(Read((&(elems[i])), msg__, iter__)))) {
    5562           0 :             FatalError("Error deserializing 'GlyphArray[i]'");
    5563           0 :             return false;
    5564             :         }
    5565             :         // Sentinel = 'GlyphArray[]'
    5566           0 :         if ((!((msg__)->ReadSentinel(iter__, 1884738165)))) {
    5567           0 :             mozilla::ipc::SentinelReadError("Error deserializing 'GlyphArray[i]'");
    5568           0 :             return false;
    5569             :         }
    5570             :     }
    5571           0 :     (v__)->SwapElements(fa);
    5572           0 :     return true;
    5573             : }
    5574             : 
    5575           0 : auto PLayerTransactionParent::Write(
    5576             :         const Animation& v__,
    5577             :         Message* msg__) -> void
    5578             : {
    5579           0 :     Write((v__).originTime(), msg__);
    5580             :     // Sentinel = 'originTime'
    5581           0 :     (msg__)->WriteSentinel(1478411195);
    5582           0 :     Write((v__).startTime(), msg__);
    5583             :     // Sentinel = 'startTime'
    5584           0 :     (msg__)->WriteSentinel(2351600086);
    5585           0 :     Write((v__).delay(), msg__);
    5586             :     // Sentinel = 'delay'
    5587           0 :     (msg__)->WriteSentinel(1275664816);
    5588           0 :     Write((v__).endDelay(), msg__);
    5589             :     // Sentinel = 'endDelay'
    5590           0 :     (msg__)->WriteSentinel(3866533328);
    5591           0 :     Write((v__).holdTime(), msg__);
    5592             :     // Sentinel = 'holdTime'
    5593           0 :     (msg__)->WriteSentinel(1802005980);
    5594           0 :     Write((v__).duration(), msg__);
    5595             :     // Sentinel = 'duration'
    5596           0 :     (msg__)->WriteSentinel(1938599576);
    5597           0 :     Write((v__).segments(), msg__);
    5598             :     // Sentinel = 'segments'
    5599           0 :     (msg__)->WriteSentinel(2098446378);
    5600           0 :     Write((v__).iterations(), msg__);
    5601             :     // Sentinel = 'iterations'
    5602           0 :     (msg__)->WriteSentinel(3248319766);
    5603           0 :     Write((v__).iterationStart(), msg__);
    5604             :     // Sentinel = 'iterationStart'
    5605           0 :     (msg__)->WriteSentinel(335770313);
    5606           0 :     Write((v__).direction(), msg__);
    5607             :     // Sentinel = 'direction'
    5608           0 :     (msg__)->WriteSentinel(1283484994);
    5609           0 :     Write((v__).fillMode(), msg__);
    5610             :     // Sentinel = 'fillMode'
    5611           0 :     (msg__)->WriteSentinel(319252690);
    5612           0 :     Write((v__).property(), msg__);
    5613             :     // Sentinel = 'property'
    5614           0 :     (msg__)->WriteSentinel(1482237307);
    5615           0 :     Write((v__).data(), msg__);
    5616             :     // Sentinel = 'data'
    5617           0 :     (msg__)->WriteSentinel(843352540);
    5618           0 :     Write((v__).playbackRate(), msg__);
    5619             :     // Sentinel = 'playbackRate'
    5620           0 :     (msg__)->WriteSentinel(1664611053);
    5621           0 :     Write((v__).easingFunction(), msg__);
    5622             :     // Sentinel = 'easingFunction'
    5623           0 :     (msg__)->WriteSentinel(2740589013);
    5624           0 :     Write((v__).iterationComposite(), msg__);
    5625             :     // Sentinel = 'iterationComposite'
    5626           0 :     (msg__)->WriteSentinel(3806204580);
    5627           0 :     Write((v__).isNotPlaying(), msg__);
    5628             :     // Sentinel = 'isNotPlaying'
    5629           0 :     (msg__)->WriteSentinel(3910541071);
    5630           0 :     Write((v__).baseStyle(), msg__);
    5631             :     // Sentinel = 'baseStyle'
    5632           0 :     (msg__)->WriteSentinel(2514776219);
    5633           0 : }
    5634             : 
    5635           0 : auto PLayerTransactionParent::Read(
    5636             :         Animation* v__,
    5637             :         const Message* msg__,
    5638             :         PickleIterator* iter__) -> bool
    5639             : {
    5640           0 :     if ((!(Read((&((v__)->originTime())), msg__, iter__)))) {
    5641           0 :         FatalError("Error deserializing 'originTime' (TimeStamp) member of 'Animation'");
    5642           0 :         return false;
    5643             :     }
    5644             :     // Sentinel = 'originTime'
    5645           0 :     if ((!((msg__)->ReadSentinel(iter__, 1478411195)))) {
    5646           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'originTime' (TimeStamp) member of 'Animation'");
    5647           0 :         return false;
    5648             :     }
    5649           0 :     if ((!(Read((&((v__)->startTime())), msg__, iter__)))) {
    5650           0 :         FatalError("Error deserializing 'startTime' (MaybeTimeDuration) member of 'Animation'");
    5651           0 :         return false;
    5652             :     }
    5653             :     // Sentinel = 'startTime'
    5654           0 :     if ((!((msg__)->ReadSentinel(iter__, 2351600086)))) {
    5655           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'startTime' (MaybeTimeDuration) member of 'Animation'");
    5656           0 :         return false;
    5657             :     }
    5658           0 :     if ((!(Read((&((v__)->delay())), msg__, iter__)))) {
    5659           0 :         FatalError("Error deserializing 'delay' (TimeDuration) member of 'Animation'");
    5660           0 :         return false;
    5661             :     }
    5662             :     // Sentinel = 'delay'
    5663           0 :     if ((!((msg__)->ReadSentinel(iter__, 1275664816)))) {
    5664           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'delay' (TimeDuration) member of 'Animation'");
    5665           0 :         return false;
    5666             :     }
    5667           0 :     if ((!(Read((&((v__)->endDelay())), msg__, iter__)))) {
    5668           0 :         FatalError("Error deserializing 'endDelay' (TimeDuration) member of 'Animation'");
    5669           0 :         return false;
    5670             :     }
    5671             :     // Sentinel = 'endDelay'
    5672           0 :     if ((!((msg__)->ReadSentinel(iter__, 3866533328)))) {
    5673           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'endDelay' (TimeDuration) member of 'Animation'");
    5674           0 :         return false;
    5675             :     }
    5676           0 :     if ((!(Read((&((v__)->holdTime())), msg__, iter__)))) {
    5677           0 :         FatalError("Error deserializing 'holdTime' (TimeDuration) member of 'Animation'");
    5678           0 :         return false;
    5679             :     }
    5680             :     // Sentinel = 'holdTime'
    5681           0 :     if ((!((msg__)->ReadSentinel(iter__, 1802005980)))) {
    5682           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'holdTime' (TimeDuration) member of 'Animation'");
    5683           0 :         return false;
    5684             :     }
    5685           0 :     if ((!(Read((&((v__)->duration())), msg__, iter__)))) {
    5686           0 :         FatalError("Error deserializing 'duration' (TimeDuration) member of 'Animation'");
    5687           0 :         return false;
    5688             :     }
    5689             :     // Sentinel = 'duration'
    5690           0 :     if ((!((msg__)->ReadSentinel(iter__, 1938599576)))) {
    5691           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'duration' (TimeDuration) member of 'Animation'");
    5692           0 :         return false;
    5693             :     }
    5694           0 :     if ((!(Read((&((v__)->segments())), msg__, iter__)))) {
    5695           0 :         FatalError("Error deserializing 'segments' (AnimationSegment[]) member of 'Animation'");
    5696           0 :         return false;
    5697             :     }
    5698             :     // Sentinel = 'segments'
    5699           0 :     if ((!((msg__)->ReadSentinel(iter__, 2098446378)))) {
    5700           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'segments' (AnimationSegment[]) member of 'Animation'");
    5701           0 :         return false;
    5702             :     }
    5703           0 :     if ((!(Read((&((v__)->iterations())), msg__, iter__)))) {
    5704           0 :         FatalError("Error deserializing 'iterations' (float) member of 'Animation'");
    5705           0 :         return false;
    5706             :     }
    5707             :     // Sentinel = 'iterations'
    5708           0 :     if ((!((msg__)->ReadSentinel(iter__, 3248319766)))) {
    5709           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'iterations' (float) member of 'Animation'");
    5710           0 :         return false;
    5711             :     }
    5712           0 :     if ((!(Read((&((v__)->iterationStart())), msg__, iter__)))) {
    5713           0 :         FatalError("Error deserializing 'iterationStart' (float) member of 'Animation'");
    5714           0 :         return false;
    5715             :     }
    5716             :     // Sentinel = 'iterationStart'
    5717           0 :     if ((!((msg__)->ReadSentinel(iter__, 335770313)))) {
    5718           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'iterationStart' (float) member of 'Animation'");
    5719           0 :         return false;
    5720             :     }
    5721           0 :     if ((!(Read((&((v__)->direction())), msg__, iter__)))) {
    5722           0 :         FatalError("Error deserializing 'direction' (uint8_t) member of 'Animation'");
    5723           0 :         return false;
    5724             :     }
    5725             :     // Sentinel = 'direction'
    5726           0 :     if ((!((msg__)->ReadSentinel(iter__, 1283484994)))) {
    5727           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'direction' (uint8_t) member of 'Animation'");
    5728           0 :         return false;
    5729             :     }
    5730           0 :     if ((!(Read((&((v__)->fillMode())), msg__, iter__)))) {
    5731           0 :         FatalError("Error deserializing 'fillMode' (uint8_t) member of 'Animation'");
    5732           0 :         return false;
    5733             :     }
    5734             :     // Sentinel = 'fillMode'
    5735           0 :     if ((!((msg__)->ReadSentinel(iter__, 319252690)))) {
    5736           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'fillMode' (uint8_t) member of 'Animation'");
    5737           0 :         return false;
    5738             :     }
    5739           0 :     if ((!(Read((&((v__)->property())), msg__, iter__)))) {
    5740           0 :         FatalError("Error deserializing 'property' (nsCSSPropertyID) member of 'Animation'");
    5741           0 :         return false;
    5742             :     }
    5743             :     // Sentinel = 'property'
    5744           0 :     if ((!((msg__)->ReadSentinel(iter__, 1482237307)))) {
    5745           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'property' (nsCSSPropertyID) member of 'Animation'");
    5746           0 :         return false;
    5747             :     }
    5748           0 :     if ((!(Read((&((v__)->data())), msg__, iter__)))) {
    5749           0 :         FatalError("Error deserializing 'data' (AnimationData) member of 'Animation'");
    5750           0 :         return false;
    5751             :     }
    5752             :     // Sentinel = 'data'
    5753           0 :     if ((!((msg__)->ReadSentinel(iter__, 843352540)))) {
    5754           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'data' (AnimationData) member of 'Animation'");
    5755           0 :         return false;
    5756             :     }
    5757           0 :     if ((!(Read((&((v__)->playbackRate())), msg__, iter__)))) {
    5758           0 :         FatalError("Error deserializing 'playbackRate' (float) member of 'Animation'");
    5759           0 :         return false;
    5760             :     }
    5761             :     // Sentinel = 'playbackRate'
    5762           0 :     if ((!((msg__)->ReadSentinel(iter__, 1664611053)))) {
    5763           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'playbackRate' (float) member of 'Animation'");
    5764           0 :         return false;
    5765             :     }
    5766           0 :     if ((!(Read((&((v__)->easingFunction())), msg__, iter__)))) {
    5767           0 :         FatalError("Error deserializing 'easingFunction' (TimingFunction) member of 'Animation'");
    5768           0 :         return false;
    5769             :     }
    5770             :     // Sentinel = 'easingFunction'
    5771           0 :     if ((!((msg__)->ReadSentinel(iter__, 2740589013)))) {
    5772           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'easingFunction' (TimingFunction) member of 'Animation'");
    5773           0 :         return false;
    5774             :     }
    5775           0 :     if ((!(Read((&((v__)->iterationComposite())), msg__, iter__)))) {
    5776           0 :         FatalError("Error deserializing 'iterationComposite' (uint8_t) member of 'Animation'");
    5777           0 :         return false;
    5778             :     }
    5779             :     // Sentinel = 'iterationComposite'
    5780           0 :     if ((!((msg__)->ReadSentinel(iter__, 3806204580)))) {
    5781           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'iterationComposite' (uint8_t) member of 'Animation'");
    5782           0 :         return false;
    5783             :     }
    5784           0 :     if ((!(Read((&((v__)->isNotPlaying())), msg__, iter__)))) {
    5785           0 :         FatalError("Error deserializing 'isNotPlaying' (bool) member of 'Animation'");
    5786           0 :         return false;
    5787             :     }
    5788             :     // Sentinel = 'isNotPlaying'
    5789           0 :     if ((!((msg__)->ReadSentinel(iter__, 3910541071)))) {
    5790           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'isNotPlaying' (bool) member of 'Animation'");
    5791           0 :         return false;
    5792             :     }
    5793           0 :     if ((!(Read((&((v__)->baseStyle())), msg__, iter__)))) {
    5794           0 :         FatalError("Error deserializing 'baseStyle' (Animatable) member of 'Animation'");
    5795           0 :         return false;
    5796             :     }
    5797             :     // Sentinel = 'baseStyle'
    5798           0 :     if ((!((msg__)->ReadSentinel(iter__, 2514776219)))) {
    5799           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'baseStyle' (Animatable) member of 'Animation'");
    5800           0 :         return false;
    5801             :     }
    5802           0 :     return true;
    5803             : }
    5804             : 
    5805           0 : auto PLayerTransactionParent::Write(
    5806             :         const CanvasLayerAttributes& v__,
    5807             :         Message* msg__) -> void
    5808             : {
    5809           0 :     Write((v__).samplingFilter(), msg__);
    5810             :     // Sentinel = 'samplingFilter'
    5811           0 :     (msg__)->WriteSentinel(2274374003);
    5812           0 :     Write((v__).bounds(), msg__);
    5813             :     // Sentinel = 'bounds'
    5814           0 :     (msg__)->WriteSentinel(809584493);
    5815           0 : }
    5816             : 
    5817           0 : auto PLayerTransactionParent::Read(
    5818             :         CanvasLayerAttributes* v__,
    5819             :         const Message* msg__,
    5820             :         PickleIterator* iter__) -> bool
    5821             : {
    5822           0 :     if ((!(Read((&((v__)->samplingFilter())), msg__, iter__)))) {
    5823           0 :         FatalError("Error deserializing 'samplingFilter' (SamplingFilter) member of 'CanvasLayerAttributes'");
    5824           0 :         return false;
    5825             :     }
    5826             :     // Sentinel = 'samplingFilter'
    5827           0 :     if ((!((msg__)->ReadSentinel(iter__, 2274374003)))) {
    5828           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'samplingFilter' (SamplingFilter) member of 'CanvasLayerAttributes'");
    5829           0 :         return false;
    5830             :     }
    5831           0 :     if ((!(Read((&((v__)->bounds())), msg__, iter__)))) {
    5832           0 :         FatalError("Error deserializing 'bounds' (IntRect) member of 'CanvasLayerAttributes'");
    5833           0 :         return false;
    5834             :     }
    5835             :     // Sentinel = 'bounds'
    5836           0 :     if ((!((msg__)->ReadSentinel(iter__, 809584493)))) {
    5837           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'bounds' (IntRect) member of 'CanvasLayerAttributes'");
    5838           0 :         return false;
    5839             :     }
    5840           0 :     return true;
    5841             : }
    5842             : 
    5843           0 : auto PLayerTransactionParent::Write(
    5844             :         const OpCreatePaintedLayer& v__,
    5845             :         Message* msg__) -> void
    5846             : {
    5847           0 :     Write((v__).layer(), msg__);
    5848             :     // Sentinel = 'layer'
    5849           0 :     (msg__)->WriteSentinel(1899167106);
    5850           0 : }
    5851             : 
    5852          22 : auto PLayerTransactionParent::Read(
    5853             :         OpCreatePaintedLayer* v__,
    5854             :         const Message* msg__,
    5855             :         PickleIterator* iter__) -> bool
    5856             : {
    5857          22 :     if ((!(Read((&((v__)->layer())), msg__, iter__)))) {
    5858           0 :         FatalError("Error deserializing 'layer' (LayerHandle) member of 'OpCreatePaintedLayer'");
    5859           0 :         return false;
    5860             :     }
    5861             :     // Sentinel = 'layer'
    5862          22 :     if ((!((msg__)->ReadSentinel(iter__, 1899167106)))) {
    5863           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'layer' (LayerHandle) member of 'OpCreatePaintedLayer'");
    5864           0 :         return false;
    5865             :     }
    5866          22 :     return true;
    5867             : }
    5868             : 
    5869           0 : auto PLayerTransactionParent::Write(
    5870             :         const SurfaceDescriptorTiles& v__,
    5871             :         Message* msg__) -> void
    5872             : {
    5873           0 :     Write((v__).validRegion(), msg__);
    5874             :     // Sentinel = 'validRegion'
    5875           0 :     (msg__)->WriteSentinel(1063106721);
    5876           0 :     Write((v__).tiles(), msg__);
    5877             :     // Sentinel = 'tiles'
    5878           0 :     (msg__)->WriteSentinel(2787066946);
    5879           0 :     Write((v__).tileOrigin(), msg__);
    5880             :     // Sentinel = 'tileOrigin'
    5881           0 :     (msg__)->WriteSentinel(41129744);
    5882           0 :     Write((v__).tileSize(), msg__);
    5883             :     // Sentinel = 'tileSize'
    5884           0 :     (msg__)->WriteSentinel(2603105767);
    5885           0 :     Write((v__).firstTileX(), msg__);
    5886             :     // Sentinel = 'firstTileX'
    5887           0 :     (msg__)->WriteSentinel(1961114936);
    5888           0 :     Write((v__).firstTileY(), msg__);
    5889             :     // Sentinel = 'firstTileY'
    5890           0 :     (msg__)->WriteSentinel(1961114937);
    5891           0 :     Write((v__).retainedWidth(), msg__);
    5892             :     // Sentinel = 'retainedWidth'
    5893           0 :     (msg__)->WriteSentinel(2490297853);
    5894           0 :     Write((v__).retainedHeight(), msg__);
    5895             :     // Sentinel = 'retainedHeight'
    5896           0 :     (msg__)->WriteSentinel(3230772307);
    5897           0 :     Write((v__).resolution(), msg__);
    5898             :     // Sentinel = 'resolution'
    5899           0 :     (msg__)->WriteSentinel(4077768700);
    5900           0 :     Write((v__).frameXResolution(), msg__);
    5901             :     // Sentinel = 'frameXResolution'
    5902           0 :     (msg__)->WriteSentinel(876167199);
    5903           0 :     Write((v__).frameYResolution(), msg__);
    5904             :     // Sentinel = 'frameYResolution'
    5905           0 :     (msg__)->WriteSentinel(2856703858);
    5906           0 :     Write((v__).isProgressive(), msg__);
    5907             :     // Sentinel = 'isProgressive'
    5908           0 :     (msg__)->WriteSentinel(1291560808);
    5909           0 : }
    5910             : 
    5911           0 : auto PLayerTransactionParent::Read(
    5912             :         SurfaceDescriptorTiles* v__,
    5913             :         const Message* msg__,
    5914             :         PickleIterator* iter__) -> bool
    5915             : {
    5916           0 :     if ((!(Read((&((v__)->validRegion())), msg__, iter__)))) {
    5917           0 :         FatalError("Error deserializing 'validRegion' (nsIntRegion) member of 'SurfaceDescriptorTiles'");
    5918           0 :         return false;
    5919             :     }
    5920             :     // Sentinel = 'validRegion'
    5921           0 :     if ((!((msg__)->ReadSentinel(iter__, 1063106721)))) {
    5922           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'validRegion' (nsIntRegion) member of 'SurfaceDescriptorTiles'");
    5923           0 :         return false;
    5924             :     }
    5925           0 :     if ((!(Read((&((v__)->tiles())), msg__, iter__)))) {
    5926           0 :         FatalError("Error deserializing 'tiles' (TileDescriptor[]) member of 'SurfaceDescriptorTiles'");
    5927           0 :         return false;
    5928             :     }
    5929             :     // Sentinel = 'tiles'
    5930           0 :     if ((!((msg__)->ReadSentinel(iter__, 2787066946)))) {
    5931           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'tiles' (TileDescriptor[]) member of 'SurfaceDescriptorTiles'");
    5932           0 :         return false;
    5933             :     }
    5934           0 :     if ((!(Read((&((v__)->tileOrigin())), msg__, iter__)))) {
    5935           0 :         FatalError("Error deserializing 'tileOrigin' (IntPoint) member of 'SurfaceDescriptorTiles'");
    5936           0 :         return false;
    5937             :     }
    5938             :     // Sentinel = 'tileOrigin'
    5939           0 :     if ((!((msg__)->ReadSentinel(iter__, 41129744)))) {
    5940           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'tileOrigin' (IntPoint) member of 'SurfaceDescriptorTiles'");
    5941           0 :         return false;
    5942             :     }
    5943           0 :     if ((!(Read((&((v__)->tileSize())), msg__, iter__)))) {
    5944           0 :         FatalError("Error deserializing 'tileSize' (IntSize) member of 'SurfaceDescriptorTiles'");
    5945           0 :         return false;
    5946             :     }
    5947             :     // Sentinel = 'tileSize'
    5948           0 :     if ((!((msg__)->ReadSentinel(iter__, 2603105767)))) {
    5949           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'tileSize' (IntSize) member of 'SurfaceDescriptorTiles'");
    5950           0 :         return false;
    5951             :     }
    5952           0 :     if ((!(Read((&((v__)->firstTileX())), msg__, iter__)))) {
    5953           0 :         FatalError("Error deserializing 'firstTileX' (int) member of 'SurfaceDescriptorTiles'");
    5954           0 :         return false;
    5955             :     }
    5956             :     // Sentinel = 'firstTileX'
    5957           0 :     if ((!((msg__)->ReadSentinel(iter__, 1961114936)))) {
    5958           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'firstTileX' (int) member of 'SurfaceDescriptorTiles'");
    5959           0 :         return false;
    5960             :     }
    5961           0 :     if ((!(Read((&((v__)->firstTileY())), msg__, iter__)))) {
    5962           0 :         FatalError("Error deserializing 'firstTileY' (int) member of 'SurfaceDescriptorTiles'");
    5963           0 :         return false;
    5964             :     }
    5965             :     // Sentinel = 'firstTileY'
    5966           0 :     if ((!((msg__)->ReadSentinel(iter__, 1961114937)))) {
    5967           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'firstTileY' (int) member of 'SurfaceDescriptorTiles'");
    5968           0 :         return false;
    5969             :     }
    5970           0 :     if ((!(Read((&((v__)->retainedWidth())), msg__, iter__)))) {
    5971           0 :         FatalError("Error deserializing 'retainedWidth' (int) member of 'SurfaceDescriptorTiles'");
    5972           0 :         return false;
    5973             :     }
    5974             :     // Sentinel = 'retainedWidth'
    5975           0 :     if ((!((msg__)->ReadSentinel(iter__, 2490297853)))) {
    5976           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'retainedWidth' (int) member of 'SurfaceDescriptorTiles'");
    5977           0 :         return false;
    5978             :     }
    5979           0 :     if ((!(Read((&((v__)->retainedHeight())), msg__, iter__)))) {
    5980           0 :         FatalError("Error deserializing 'retainedHeight' (int) member of 'SurfaceDescriptorTiles'");
    5981           0 :         return false;
    5982             :     }
    5983             :     // Sentinel = 'retainedHeight'
    5984           0 :     if ((!((msg__)->ReadSentinel(iter__, 3230772307)))) {
    5985           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'retainedHeight' (int) member of 'SurfaceDescriptorTiles'");
    5986           0 :         return false;
    5987             :     }
    5988           0 :     if ((!(Read((&((v__)->resolution())), msg__, iter__)))) {
    5989           0 :         FatalError("Error deserializing 'resolution' (float) member of 'SurfaceDescriptorTiles'");
    5990           0 :         return false;
    5991             :     }
    5992             :     // Sentinel = 'resolution'
    5993           0 :     if ((!((msg__)->ReadSentinel(iter__, 4077768700)))) {
    5994           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'resolution' (float) member of 'SurfaceDescriptorTiles'");
    5995           0 :         return false;
    5996             :     }
    5997           0 :     if ((!(Read((&((v__)->frameXResolution())), msg__, iter__)))) {
    5998           0 :         FatalError("Error deserializing 'frameXResolution' (float) member of 'SurfaceDescriptorTiles'");
    5999           0 :         return false;
    6000             :     }
    6001             :     // Sentinel = 'frameXResolution'
    6002           0 :     if ((!((msg__)->ReadSentinel(iter__, 876167199)))) {
    6003           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'frameXResolution' (float) member of 'SurfaceDescriptorTiles'");
    6004           0 :         return false;
    6005             :     }
    6006           0 :     if ((!(Read((&((v__)->frameYResolution())), msg__, iter__)))) {
    6007           0 :         FatalError("Error deserializing 'frameYResolution' (float) member of 'SurfaceDescriptorTiles'");
    6008           0 :         return false;
    6009             :     }
    6010             :     // Sentinel = 'frameYResolution'
    6011           0 :     if ((!((msg__)->ReadSentinel(iter__, 2856703858)))) {
    6012           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'frameYResolution' (float) member of 'SurfaceDescriptorTiles'");
    6013           0 :         return false;
    6014             :     }
    6015           0 :     if ((!(Read((&((v__)->isProgressive())), msg__, iter__)))) {
    6016           0 :         FatalError("Error deserializing 'isProgressive' (bool) member of 'SurfaceDescriptorTiles'");
    6017           0 :         return false;
    6018             :     }
    6019             :     // Sentinel = 'isProgressive'
    6020           0 :     if ((!((msg__)->ReadSentinel(iter__, 1291560808)))) {
    6021           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'isProgressive' (bool) member of 'SurfaceDescriptorTiles'");
    6022           0 :         return false;
    6023             :     }
    6024           0 :     return true;
    6025             : }
    6026             : 
    6027           0 : auto PLayerTransactionParent::Write(
    6028             :         const CSSAngle& v__,
    6029             :         Message* msg__) -> void
    6030             : {
    6031           0 :     Write((v__).value(), msg__);
    6032             :     // Sentinel = 'value'
    6033           0 :     (msg__)->WriteSentinel(3456818542);
    6034           0 :     Write((v__).unit(), msg__);
    6035             :     // Sentinel = 'unit'
    6036           0 :     (msg__)->WriteSentinel(1305575710);
    6037           0 : }
    6038             : 
    6039           0 : auto PLayerTransactionParent::Read(
    6040             :         CSSAngle* v__,
    6041             :         const Message* msg__,
    6042             :         PickleIterator* iter__) -> bool
    6043             : {
    6044           0 :     if ((!(Read((&((v__)->value())), msg__, iter__)))) {
    6045           0 :         FatalError("Error deserializing 'value' (float) member of 'CSSAngle'");
    6046           0 :         return false;
    6047             :     }
    6048             :     // Sentinel = 'value'
    6049           0 :     if ((!((msg__)->ReadSentinel(iter__, 3456818542)))) {
    6050           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'value' (float) member of 'CSSAngle'");
    6051           0 :         return false;
    6052             :     }
    6053           0 :     if ((!(Read((&((v__)->unit())), msg__, iter__)))) {
    6054           0 :         FatalError("Error deserializing 'unit' (int) member of 'CSSAngle'");
    6055           0 :         return false;
    6056             :     }
    6057             :     // Sentinel = 'unit'
    6058           0 :     if ((!((msg__)->ReadSentinel(iter__, 1305575710)))) {
    6059           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'unit' (int) member of 'CSSAngle'");
    6060           0 :         return false;
    6061             :     }
    6062           0 :     return true;
    6063             : }
    6064             : 
    6065           0 : auto PLayerTransactionParent::Write(
    6066             :         const RotationZ& v__,
    6067             :         Message* msg__) -> void
    6068             : {
    6069           0 :     Write((v__).angle(), msg__);
    6070             :     // Sentinel = 'angle'
    6071           0 :     (msg__)->WriteSentinel(3388308388);
    6072           0 : }
    6073             : 
    6074           0 : auto PLayerTransactionParent::Read(
    6075             :         RotationZ* v__,
    6076             :         const Message* msg__,
    6077             :         PickleIterator* iter__) -> bool
    6078             : {
    6079           0 :     if ((!(Read((&((v__)->angle())), msg__, iter__)))) {
    6080           0 :         FatalError("Error deserializing 'angle' (CSSAngle) member of 'RotationZ'");
    6081           0 :         return false;
    6082             :     }
    6083             :     // Sentinel = 'angle'
    6084           0 :     if ((!((msg__)->ReadSentinel(iter__, 3388308388)))) {
    6085           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'angle' (CSSAngle) member of 'RotationZ'");
    6086           0 :         return false;
    6087             :     }
    6088           0 :     return true;
    6089             : }
    6090             : 
    6091           0 : auto PLayerTransactionParent::Write(
    6092             :         const RotationX& v__,
    6093             :         Message* msg__) -> void
    6094             : {
    6095           0 :     Write((v__).angle(), msg__);
    6096             :     // Sentinel = 'angle'
    6097           0 :     (msg__)->WriteSentinel(3388308388);
    6098           0 : }
    6099             : 
    6100           0 : auto PLayerTransactionParent::Read(
    6101             :         RotationX* v__,
    6102             :         const Message* msg__,
    6103             :         PickleIterator* iter__) -> bool
    6104             : {
    6105           0 :     if ((!(Read((&((v__)->angle())), msg__, iter__)))) {
    6106           0 :         FatalError("Error deserializing 'angle' (CSSAngle) member of 'RotationX'");
    6107           0 :         return false;
    6108             :     }
    6109             :     // Sentinel = 'angle'
    6110           0 :     if ((!((msg__)->ReadSentinel(iter__, 3388308388)))) {
    6111           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'angle' (CSSAngle) member of 'RotationX'");
    6112           0 :         return false;
    6113             :     }
    6114           0 :     return true;
    6115             : }
    6116             : 
    6117           0 : auto PLayerTransactionParent::Write(
    6118             :         const RotationY& v__,
    6119             :         Message* msg__) -> void
    6120             : {
    6121           0 :     Write((v__).angle(), msg__);
    6122             :     // Sentinel = 'angle'
    6123           0 :     (msg__)->WriteSentinel(3388308388);
    6124           0 : }
    6125             : 
    6126           0 : auto PLayerTransactionParent::Read(
    6127             :         RotationY* v__,
    6128             :         const Message* msg__,
    6129             :         PickleIterator* iter__) -> bool
    6130             : {
    6131           0 :     if ((!(Read((&((v__)->angle())), msg__, iter__)))) {
    6132           0 :         FatalError("Error deserializing 'angle' (CSSAngle) member of 'RotationY'");
    6133           0 :         return false;
    6134             :     }
    6135             :     // Sentinel = 'angle'
    6136           0 :     if ((!((msg__)->ReadSentinel(iter__, 3388308388)))) {
    6137           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'angle' (CSSAngle) member of 'RotationY'");
    6138           0 :         return false;
    6139             :     }
    6140           0 :     return true;
    6141             : }
    6142             : 
    6143           0 : auto PLayerTransactionParent::Write(
    6144             :         const Animatable& v__,
    6145             :         Message* msg__) -> void
    6146             : {
    6147             :     typedef Animatable type__;
    6148           0 :     Write(int((v__).type()), msg__);
    6149             :     // Sentinel = 'Animatable'
    6150           0 :     (msg__)->WriteSentinel(1922875594);
    6151             : 
    6152           0 :     switch ((v__).type()) {
    6153             :     case type__::Tnull_t:
    6154             :         {
    6155           0 :             Write((v__).get_null_t(), msg__);
    6156             :             // Sentinel = 'Tnull_t'
    6157           0 :             (msg__)->WriteSentinel(3731137201);
    6158           0 :             return;
    6159             :         }
    6160             :     case type__::Tfloat:
    6161             :         {
    6162           0 :             Write((v__).get_float(), msg__);
    6163             :             // Sentinel = 'Tfloat'
    6164           0 :             (msg__)->WriteSentinel(2693237468);
    6165           0 :             return;
    6166             :         }
    6167             :     case type__::TArrayOfTransformFunction:
    6168             :         {
    6169           0 :             Write((v__).get_ArrayOfTransformFunction(), msg__);
    6170             :             // Sentinel = 'TArrayOfTransformFunction'
    6171           0 :             (msg__)->WriteSentinel(2388656529);
    6172           0 :             return;
    6173             :         }
    6174             :     default:
    6175             :         {
    6176           0 :             FatalError("unknown union type");
    6177           0 :             return;
    6178             :         }
    6179             :     }
    6180             : }
    6181             : 
    6182           0 : auto PLayerTransactionParent::Read(
    6183             :         Animatable* v__,
    6184             :         const Message* msg__,
    6185             :         PickleIterator* iter__) -> bool
    6186             : {
    6187             :     typedef Animatable type__;
    6188             :     int type;
    6189           0 :     if ((!(Read((&(type)), msg__, iter__)))) {
    6190           0 :         mozilla::ipc::UnionTypeReadError("Animatable");
    6191           0 :         return false;
    6192             :     }
    6193             :     // Sentinel = 'Animatable'
    6194           0 :     if ((!((msg__)->ReadSentinel(iter__, 1922875594)))) {
    6195           0 :         mozilla::ipc::SentinelReadError("Animatable");
    6196           0 :         return false;
    6197             :     }
    6198             : 
    6199           0 :     switch (type) {
    6200             :     case type__::Tnull_t:
    6201             :         {
    6202             :             null_t tmp = null_t();
    6203           0 :             (*(v__)) = tmp;
    6204           0 :             if ((!(Read((&((v__)->get_null_t())), msg__, iter__)))) {
    6205           0 :                 FatalError("Error deserializing Union type");
    6206           0 :                 return false;
    6207             :             }
    6208             :             // Sentinel = 'Tnull_t'
    6209           0 :             if ((!((msg__)->ReadSentinel(iter__, 3731137201)))) {
    6210           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    6211           0 :                 return false;
    6212             :             }
    6213           0 :             return true;
    6214             :         }
    6215             :     case type__::Tfloat:
    6216             :         {
    6217           0 :             float tmp = float();
    6218           0 :             (*(v__)) = tmp;
    6219           0 :             if ((!(Read((&((v__)->get_float())), msg__, iter__)))) {
    6220           0 :                 FatalError("Error deserializing Union type");
    6221           0 :                 return false;
    6222             :             }
    6223             :             // Sentinel = 'Tfloat'
    6224           0 :             if ((!((msg__)->ReadSentinel(iter__, 2693237468)))) {
    6225           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    6226           0 :                 return false;
    6227             :             }
    6228           0 :             return true;
    6229             :         }
    6230             :     case type__::TArrayOfTransformFunction:
    6231             :         {
    6232           0 :             nsTArray<TransformFunction> tmp;
    6233           0 :             (*(v__)) = tmp;
    6234           0 :             if ((!(Read((&((v__)->get_ArrayOfTransformFunction())), msg__, iter__)))) {
    6235           0 :                 FatalError("Error deserializing Union type");
    6236           0 :                 return false;
    6237             :             }
    6238             :             // Sentinel = 'TArrayOfTransformFunction'
    6239           0 :             if ((!((msg__)->ReadSentinel(iter__, 2388656529)))) {
    6240           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    6241           0 :                 return false;
    6242             :             }
    6243           0 :             return true;
    6244             :         }
    6245             :     default:
    6246             :         {
    6247           0 :             FatalError("unknown union type");
    6248           0 :             return false;
    6249             :         }
    6250             :     }
    6251             : }
    6252             : 
    6253           0 : auto PLayerTransactionParent::Write(
    6254             :         const TileDescriptor& v__,
    6255             :         Message* msg__) -> void
    6256             : {
    6257             :     typedef TileDescriptor type__;
    6258           0 :     Write(int((v__).type()), msg__);
    6259             :     // Sentinel = 'TileDescriptor'
    6260           0 :     (msg__)->WriteSentinel(1522454921);
    6261             : 
    6262           0 :     switch ((v__).type()) {
    6263             :     case type__::TTexturedTileDescriptor:
    6264             :         {
    6265           0 :             Write((v__).get_TexturedTileDescriptor(), msg__);
    6266             :             // Sentinel = 'TTexturedTileDescriptor'
    6267           0 :             (msg__)->WriteSentinel(2237132903);
    6268           0 :             return;
    6269             :         }
    6270             :     case type__::TPlaceholderTileDescriptor:
    6271             :         {
    6272           0 :             Write((v__).get_PlaceholderTileDescriptor(), msg__);
    6273             :             // Sentinel = 'TPlaceholderTileDescriptor'
    6274           0 :             (msg__)->WriteSentinel(1643451770);
    6275           0 :             return;
    6276             :         }
    6277             :     default:
    6278             :         {
    6279           0 :             FatalError("unknown union type");
    6280           0 :             return;
    6281             :         }
    6282             :     }
    6283             : }
    6284             : 
    6285           0 : auto PLayerTransactionParent::Read(
    6286             :         TileDescriptor* v__,
    6287             :         const Message* msg__,
    6288             :         PickleIterator* iter__) -> bool
    6289             : {
    6290             :     typedef TileDescriptor type__;
    6291             :     int type;
    6292           0 :     if ((!(Read((&(type)), msg__, iter__)))) {
    6293           0 :         mozilla::ipc::UnionTypeReadError("TileDescriptor");
    6294           0 :         return false;
    6295             :     }
    6296             :     // Sentinel = 'TileDescriptor'
    6297           0 :     if ((!((msg__)->ReadSentinel(iter__, 1522454921)))) {
    6298           0 :         mozilla::ipc::SentinelReadError("TileDescriptor");
    6299           0 :         return false;
    6300             :     }
    6301             : 
    6302           0 :     switch (type) {
    6303             :     case type__::TTexturedTileDescriptor:
    6304             :         {
    6305           0 :             TexturedTileDescriptor tmp = TexturedTileDescriptor();
    6306           0 :             (*(v__)) = tmp;
    6307           0 :             if ((!(Read((&((v__)->get_TexturedTileDescriptor())), msg__, iter__)))) {
    6308           0 :                 FatalError("Error deserializing Union type");
    6309           0 :                 return false;
    6310             :             }
    6311             :             // Sentinel = 'TTexturedTileDescriptor'
    6312           0 :             if ((!((msg__)->ReadSentinel(iter__, 2237132903)))) {
    6313           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    6314           0 :                 return false;
    6315             :             }
    6316           0 :             return true;
    6317             :         }
    6318             :     case type__::TPlaceholderTileDescriptor:
    6319             :         {
    6320           0 :             PlaceholderTileDescriptor tmp = PlaceholderTileDescriptor();
    6321           0 :             (*(v__)) = tmp;
    6322           0 :             if ((!(Read((&((v__)->get_PlaceholderTileDescriptor())), msg__, iter__)))) {
    6323           0 :                 FatalError("Error deserializing Union type");
    6324           0 :                 return false;
    6325             :             }
    6326             :             // Sentinel = 'TPlaceholderTileDescriptor'
    6327           0 :             if ((!((msg__)->ReadSentinel(iter__, 1643451770)))) {
    6328           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    6329           0 :                 return false;
    6330             :             }
    6331           0 :             return true;
    6332             :         }
    6333             :     default:
    6334             :         {
    6335           0 :             FatalError("unknown union type");
    6336           0 :             return false;
    6337             :         }
    6338             :     }
    6339             : }
    6340             : 
    6341           0 : auto PLayerTransactionParent::Write(
    6342             :         const OpCreateRefLayer& v__,
    6343             :         Message* msg__) -> void
    6344             : {
    6345           0 :     Write((v__).layer(), msg__);
    6346             :     // Sentinel = 'layer'
    6347           0 :     (msg__)->WriteSentinel(1899167106);
    6348           0 : }
    6349             : 
    6350           1 : auto PLayerTransactionParent::Read(
    6351             :         OpCreateRefLayer* v__,
    6352             :         const Message* msg__,
    6353             :         PickleIterator* iter__) -> bool
    6354             : {
    6355           1 :     if ((!(Read((&((v__)->layer())), msg__, iter__)))) {
    6356           0 :         FatalError("Error deserializing 'layer' (LayerHandle) member of 'OpCreateRefLayer'");
    6357           0 :         return false;
    6358             :     }
    6359             :     // Sentinel = 'layer'
    6360           1 :     if ((!((msg__)->ReadSentinel(iter__, 1899167106)))) {
    6361           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'layer' (LayerHandle) member of 'OpCreateRefLayer'");
    6362           0 :         return false;
    6363             :     }
    6364           1 :     return true;
    6365             : }
    6366             : 
    6367           0 : auto PLayerTransactionParent::Write(
    6368             :         const OpCreateContainerLayer& v__,
    6369             :         Message* msg__) -> void
    6370             : {
    6371           0 :     Write((v__).layer(), msg__);
    6372             :     // Sentinel = 'layer'
    6373           0 :     (msg__)->WriteSentinel(1899167106);
    6374           0 : }
    6375             : 
    6376           4 : auto PLayerTransactionParent::Read(
    6377             :         OpCreateContainerLayer* v__,
    6378             :         const Message* msg__,
    6379             :         PickleIterator* iter__) -> bool
    6380             : {
    6381           4 :     if ((!(Read((&((v__)->layer())), msg__, iter__)))) {
    6382           0 :         FatalError("Error deserializing 'layer' (LayerHandle) member of 'OpCreateContainerLayer'");
    6383           0 :         return false;
    6384             :     }
    6385             :     // Sentinel = 'layer'
    6386           4 :     if ((!((msg__)->ReadSentinel(iter__, 1899167106)))) {
    6387           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'layer' (LayerHandle) member of 'OpCreateContainerLayer'");
    6388           0 :         return false;
    6389             :     }
    6390           4 :     return true;
    6391             : }
    6392             : 
    6393           0 : auto PLayerTransactionParent::Write(
    6394             :         const PaintedLayerAttributes& v__,
    6395             :         Message* msg__) -> void
    6396             : {
    6397           0 :     Write((v__).validRegion(), msg__);
    6398             :     // Sentinel = 'validRegion'
    6399           0 :     (msg__)->WriteSentinel(1063106721);
    6400           0 : }
    6401             : 
    6402          53 : auto PLayerTransactionParent::Read(
    6403             :         PaintedLayerAttributes* v__,
    6404             :         const Message* msg__,
    6405             :         PickleIterator* iter__) -> bool
    6406             : {
    6407          53 :     if ((!(Read((&((v__)->validRegion())), msg__, iter__)))) {
    6408           0 :         FatalError("Error deserializing 'validRegion' (nsIntRegion) member of 'PaintedLayerAttributes'");
    6409           0 :         return false;
    6410             :     }
    6411             :     // Sentinel = 'validRegion'
    6412          53 :     if ((!((msg__)->ReadSentinel(iter__, 1063106721)))) {
    6413           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'validRegion' (nsIntRegion) member of 'PaintedLayerAttributes'");
    6414           0 :         return false;
    6415             :     }
    6416          53 :     return true;
    6417             : }
    6418             : 
    6419           0 : auto PLayerTransactionParent::Write(
    6420             :         const AnimationData& v__,
    6421             :         Message* msg__) -> void
    6422             : {
    6423             :     typedef AnimationData type__;
    6424           0 :     Write(int((v__).type()), msg__);
    6425             :     // Sentinel = 'AnimationData'
    6426           0 :     (msg__)->WriteSentinel(3226711031);
    6427             : 
    6428           0 :     switch ((v__).type()) {
    6429             :     case type__::Tnull_t:
    6430             :         {
    6431           0 :             Write((v__).get_null_t(), msg__);
    6432             :             // Sentinel = 'Tnull_t'
    6433           0 :             (msg__)->WriteSentinel(3731137201);
    6434           0 :             return;
    6435             :         }
    6436             :     case type__::TTransformData:
    6437             :         {
    6438           0 :             Write((v__).get_TransformData(), msg__);
    6439             :             // Sentinel = 'TTransformData'
    6440           0 :             (msg__)->WriteSentinel(3843342686);
    6441           0 :             return;
    6442             :         }
    6443             :     default:
    6444             :         {
    6445           0 :             FatalError("unknown union type");
    6446           0 :             return;
    6447             :         }
    6448             :     }
    6449             : }
    6450             : 
    6451           0 : auto PLayerTransactionParent::Read(
    6452             :         AnimationData* v__,
    6453             :         const Message* msg__,
    6454             :         PickleIterator* iter__) -> bool
    6455             : {
    6456             :     typedef AnimationData type__;
    6457             :     int type;
    6458           0 :     if ((!(Read((&(type)), msg__, iter__)))) {
    6459           0 :         mozilla::ipc::UnionTypeReadError("AnimationData");
    6460           0 :         return false;
    6461             :     }
    6462             :     // Sentinel = 'AnimationData'
    6463           0 :     if ((!((msg__)->ReadSentinel(iter__, 3226711031)))) {
    6464           0 :         mozilla::ipc::SentinelReadError("AnimationData");
    6465           0 :         return false;
    6466             :     }
    6467             : 
    6468           0 :     switch (type) {
    6469             :     case type__::Tnull_t:
    6470             :         {
    6471             :             null_t tmp = null_t();
    6472           0 :             (*(v__)) = tmp;
    6473           0 :             if ((!(Read((&((v__)->get_null_t())), msg__, iter__)))) {
    6474           0 :                 FatalError("Error deserializing Union type");
    6475           0 :                 return false;
    6476             :             }
    6477             :             // Sentinel = 'Tnull_t'
    6478           0 :             if ((!((msg__)->ReadSentinel(iter__, 3731137201)))) {
    6479           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    6480           0 :                 return false;
    6481             :             }
    6482           0 :             return true;
    6483             :         }
    6484             :     case type__::TTransformData:
    6485             :         {
    6486           0 :             TransformData tmp = TransformData();
    6487           0 :             (*(v__)) = tmp;
    6488           0 :             if ((!(Read((&((v__)->get_TransformData())), msg__, iter__)))) {
    6489           0 :                 FatalError("Error deserializing Union type");
    6490           0 :                 return false;
    6491             :             }
    6492             :             // Sentinel = 'TTransformData'
    6493           0 :             if ((!((msg__)->ReadSentinel(iter__, 3843342686)))) {
    6494           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    6495           0 :                 return false;
    6496             :             }
    6497           0 :             return true;
    6498             :         }
    6499             :     default:
    6500             :         {
    6501           0 :             FatalError("unknown union type");
    6502           0 :             return false;
    6503             :         }
    6504             :     }
    6505             : }
    6506             : 
    6507           0 : auto PLayerTransactionParent::Write(
    6508             :         const ReadLockInit& v__,
    6509             :         Message* msg__) -> void
    6510             : {
    6511           0 :     Write((v__).sharedLock(), msg__);
    6512             :     // Sentinel = 'sharedLock'
    6513           0 :     (msg__)->WriteSentinel(1249896484);
    6514           0 :     Write((v__).handle(), msg__);
    6515             :     // Sentinel = 'handle'
    6516           0 :     (msg__)->WriteSentinel(453975108);
    6517           0 : }
    6518             : 
    6519          33 : auto PLayerTransactionParent::Read(
    6520             :         ReadLockInit* v__,
    6521             :         const Message* msg__,
    6522             :         PickleIterator* iter__) -> bool
    6523             : {
    6524          33 :     if ((!(Read((&((v__)->sharedLock())), msg__, iter__)))) {
    6525           0 :         FatalError("Error deserializing 'sharedLock' (ReadLockDescriptor) member of 'ReadLockInit'");
    6526           0 :         return false;
    6527             :     }
    6528             :     // Sentinel = 'sharedLock'
    6529          33 :     if ((!((msg__)->ReadSentinel(iter__, 1249896484)))) {
    6530           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'sharedLock' (ReadLockDescriptor) member of 'ReadLockInit'");
    6531           0 :         return false;
    6532             :     }
    6533          33 :     if ((!(Read((&((v__)->handle())), msg__, iter__)))) {
    6534           0 :         FatalError("Error deserializing 'handle' (ReadLockHandle) member of 'ReadLockInit'");
    6535           0 :         return false;
    6536             :     }
    6537             :     // Sentinel = 'handle'
    6538          33 :     if ((!((msg__)->ReadSentinel(iter__, 453975108)))) {
    6539           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'handle' (ReadLockHandle) member of 'ReadLockInit'");
    6540           0 :         return false;
    6541             :     }
    6542          33 :     return true;
    6543             : }
    6544             : 
    6545           0 : auto PLayerTransactionParent::Write(
    6546             :         const nsTArray<TimedTexture>& v__,
    6547             :         Message* msg__) -> void
    6548             : {
    6549           0 :     uint32_t length = (v__).Length();
    6550           0 :     Write(length, msg__);
    6551             :     // Sentinel = ('length', 'TimedTexture[]')
    6552           0 :     (msg__)->WriteSentinel(3681527117);
    6553             : 
    6554           0 :     for (auto& elem : v__) {
    6555           0 :         Write(elem, msg__);
    6556             :         // Sentinel = 'TimedTexture[]'
    6557           0 :         (msg__)->WriteSentinel(1531351012);
    6558             :     }
    6559           0 : }
    6560             : 
    6561          33 : auto PLayerTransactionParent::Read(
    6562             :         nsTArray<TimedTexture>* v__,
    6563             :         const Message* msg__,
    6564             :         PickleIterator* iter__) -> bool
    6565             : {
    6566          66 :     nsTArray<TimedTexture> fa;
    6567             :     uint32_t length;
    6568          33 :     if ((!(Read((&(length)), msg__, iter__)))) {
    6569           0 :         mozilla::ipc::ArrayLengthReadError("TimedTexture[]");
    6570           0 :         return false;
    6571             :     }
    6572             :     // Sentinel = ('length', 'TimedTexture[]')
    6573          33 :     if ((!((msg__)->ReadSentinel(iter__, 3681527117)))) {
    6574           0 :         mozilla::ipc::SentinelReadError("TimedTexture[]");
    6575           0 :         return false;
    6576             :     }
    6577             : 
    6578          33 :     TimedTexture* elems = (fa).AppendElements(length);
    6579          66 :     for (uint32_t i = 0; (i) < (length); (++(i))) {
    6580          33 :         if ((!(Read((&(elems[i])), msg__, iter__)))) {
    6581           0 :             FatalError("Error deserializing 'TimedTexture[i]'");
    6582           0 :             return false;
    6583             :         }
    6584             :         // Sentinel = 'TimedTexture[]'
    6585          33 :         if ((!((msg__)->ReadSentinel(iter__, 1531351012)))) {
    6586           0 :             mozilla::ipc::SentinelReadError("Error deserializing 'TimedTexture[i]'");
    6587           0 :             return false;
    6588             :         }
    6589             :     }
    6590          33 :     (v__)->SwapElements(fa);
    6591          33 :     return true;
    6592             : }
    6593             : 
    6594           0 : auto PLayerTransactionParent::Write(
    6595             :         const CompositableOperation& v__,
    6596             :         Message* msg__) -> void
    6597             : {
    6598           0 :     Write((v__).compositable(), msg__);
    6599             :     // Sentinel = 'compositable'
    6600           0 :     (msg__)->WriteSentinel(4031958248);
    6601           0 :     Write((v__).detail(), msg__);
    6602             :     // Sentinel = 'detail'
    6603           0 :     (msg__)->WriteSentinel(3931660205);
    6604           0 : }
    6605             : 
    6606          66 : auto PLayerTransactionParent::Read(
    6607             :         CompositableOperation* v__,
    6608             :         const Message* msg__,
    6609             :         PickleIterator* iter__) -> bool
    6610             : {
    6611          66 :     if ((!(Read((&((v__)->compositable())), msg__, iter__)))) {
    6612           0 :         FatalError("Error deserializing 'compositable' (CompositableHandle) member of 'CompositableOperation'");
    6613           0 :         return false;
    6614             :     }
    6615             :     // Sentinel = 'compositable'
    6616          66 :     if ((!((msg__)->ReadSentinel(iter__, 4031958248)))) {
    6617           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'compositable' (CompositableHandle) member of 'CompositableOperation'");
    6618           0 :         return false;
    6619             :     }
    6620          66 :     if ((!(Read((&((v__)->detail())), msg__, iter__)))) {
    6621           0 :         FatalError("Error deserializing 'detail' (CompositableOperationDetail) member of 'CompositableOperation'");
    6622           0 :         return false;
    6623             :     }
    6624             :     // Sentinel = 'detail'
    6625          66 :     if ((!((msg__)->ReadSentinel(iter__, 3931660205)))) {
    6626           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'detail' (CompositableOperationDetail) member of 'CompositableOperation'");
    6627           0 :         return false;
    6628             :     }
    6629          66 :     return true;
    6630             : }
    6631             : 
    6632           0 : auto PLayerTransactionParent::Write(
    6633             :         const Skew& v__,
    6634             :         Message* msg__) -> void
    6635             : {
    6636           0 :     Write((v__).x(), msg__);
    6637             :     // Sentinel = 'x'
    6638           0 :     (msg__)->WriteSentinel(2475144313);
    6639           0 :     Write((v__).y(), msg__);
    6640             :     // Sentinel = 'y'
    6641           0 :     (msg__)->WriteSentinel(2603144696);
    6642           0 : }
    6643             : 
    6644           0 : auto PLayerTransactionParent::Read(
    6645             :         Skew* v__,
    6646             :         const Message* msg__,
    6647             :         PickleIterator* iter__) -> bool
    6648             : {
    6649           0 :     if ((!(Read((&((v__)->x())), msg__, iter__)))) {
    6650           0 :         FatalError("Error deserializing 'x' (CSSAngle) member of 'Skew'");
    6651           0 :         return false;
    6652             :     }
    6653             :     // Sentinel = 'x'
    6654           0 :     if ((!((msg__)->ReadSentinel(iter__, 2475144313)))) {
    6655           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'x' (CSSAngle) member of 'Skew'");
    6656           0 :         return false;
    6657             :     }
    6658           0 :     if ((!(Read((&((v__)->y())), msg__, iter__)))) {
    6659           0 :         FatalError("Error deserializing 'y' (CSSAngle) member of 'Skew'");
    6660           0 :         return false;
    6661             :     }
    6662             :     // Sentinel = 'y'
    6663           0 :     if ((!((msg__)->ReadSentinel(iter__, 2603144696)))) {
    6664           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'y' (CSSAngle) member of 'Skew'");
    6665           0 :         return false;
    6666             :     }
    6667           0 :     return true;
    6668             : }
    6669             : 
    6670           0 : auto PLayerTransactionParent::Write(
    6671             :         const CompositableOperationDetail& v__,
    6672             :         Message* msg__) -> void
    6673             : {
    6674             :     typedef CompositableOperationDetail type__;
    6675           0 :     Write(int((v__).type()), msg__);
    6676             :     // Sentinel = 'CompositableOperationDetail'
    6677           0 :     (msg__)->WriteSentinel(676020439);
    6678             : 
    6679           0 :     switch ((v__).type()) {
    6680             :     case type__::TOpPaintTextureRegion:
    6681             :         {
    6682           0 :             Write((v__).get_OpPaintTextureRegion(), msg__);
    6683             :             // Sentinel = 'TOpPaintTextureRegion'
    6684           0 :             (msg__)->WriteSentinel(734509049);
    6685           0 :             return;
    6686             :         }
    6687             :     case type__::TOpUseTiledLayerBuffer:
    6688             :         {
    6689           0 :             Write((v__).get_OpUseTiledLayerBuffer(), msg__);
    6690             :             // Sentinel = 'TOpUseTiledLayerBuffer'
    6691           0 :             (msg__)->WriteSentinel(916924693);
    6692           0 :             return;
    6693             :         }
    6694             :     case type__::TOpRemoveTexture:
    6695             :         {
    6696           0 :             Write((v__).get_OpRemoveTexture(), msg__);
    6697             :             // Sentinel = 'TOpRemoveTexture'
    6698           0 :             (msg__)->WriteSentinel(2379906162);
    6699           0 :             return;
    6700             :         }
    6701             :     case type__::TOpUseTexture:
    6702             :         {
    6703           0 :             Write((v__).get_OpUseTexture(), msg__);
    6704             :             // Sentinel = 'TOpUseTexture'
    6705           0 :             (msg__)->WriteSentinel(581630962);
    6706           0 :             return;
    6707             :         }
    6708             :     case type__::TOpUseComponentAlphaTextures:
    6709             :         {
    6710           0 :             Write((v__).get_OpUseComponentAlphaTextures(), msg__);
    6711             :             // Sentinel = 'TOpUseComponentAlphaTextures'
    6712           0 :             (msg__)->WriteSentinel(457985329);
    6713           0 :             return;
    6714             :         }
    6715             :     default:
    6716             :         {
    6717           0 :             FatalError("unknown union type");
    6718           0 :             return;
    6719             :         }
    6720             :     }
    6721             : }
    6722             : 
    6723          66 : auto PLayerTransactionParent::Read(
    6724             :         CompositableOperationDetail* v__,
    6725             :         const Message* msg__,
    6726             :         PickleIterator* iter__) -> bool
    6727             : {
    6728             :     typedef CompositableOperationDetail type__;
    6729             :     int type;
    6730          66 :     if ((!(Read((&(type)), msg__, iter__)))) {
    6731           0 :         mozilla::ipc::UnionTypeReadError("CompositableOperationDetail");
    6732           0 :         return false;
    6733             :     }
    6734             :     // Sentinel = 'CompositableOperationDetail'
    6735          66 :     if ((!((msg__)->ReadSentinel(iter__, 676020439)))) {
    6736           0 :         mozilla::ipc::SentinelReadError("CompositableOperationDetail");
    6737           0 :         return false;
    6738             :     }
    6739             : 
    6740          66 :     switch (type) {
    6741             :     case type__::TOpPaintTextureRegion:
    6742             :         {
    6743          66 :             OpPaintTextureRegion tmp = OpPaintTextureRegion();
    6744          33 :             (*(v__)) = tmp;
    6745          33 :             if ((!(Read((&((v__)->get_OpPaintTextureRegion())), msg__, iter__)))) {
    6746           0 :                 FatalError("Error deserializing Union type");
    6747           0 :                 return false;
    6748             :             }
    6749             :             // Sentinel = 'TOpPaintTextureRegion'
    6750          33 :             if ((!((msg__)->ReadSentinel(iter__, 734509049)))) {
    6751           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    6752           0 :                 return false;
    6753             :             }
    6754          33 :             return true;
    6755             :         }
    6756             :     case type__::TOpUseTiledLayerBuffer:
    6757             :         {
    6758           0 :             OpUseTiledLayerBuffer tmp = OpUseTiledLayerBuffer();
    6759           0 :             (*(v__)) = tmp;
    6760           0 :             if ((!(Read((&((v__)->get_OpUseTiledLayerBuffer())), msg__, iter__)))) {
    6761           0 :                 FatalError("Error deserializing Union type");
    6762           0 :                 return false;
    6763             :             }
    6764             :             // Sentinel = 'TOpUseTiledLayerBuffer'
    6765           0 :             if ((!((msg__)->ReadSentinel(iter__, 916924693)))) {
    6766           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    6767           0 :                 return false;
    6768             :             }
    6769           0 :             return true;
    6770             :         }
    6771             :     case type__::TOpRemoveTexture:
    6772             :         {
    6773           0 :             OpRemoveTexture tmp = OpRemoveTexture();
    6774           0 :             (*(v__)) = tmp;
    6775           0 :             if ((!(Read((&((v__)->get_OpRemoveTexture())), msg__, iter__)))) {
    6776           0 :                 FatalError("Error deserializing Union type");
    6777           0 :                 return false;
    6778             :             }
    6779             :             // Sentinel = 'TOpRemoveTexture'
    6780           0 :             if ((!((msg__)->ReadSentinel(iter__, 2379906162)))) {
    6781           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    6782           0 :                 return false;
    6783             :             }
    6784           0 :             return true;
    6785             :         }
    6786             :     case type__::TOpUseTexture:
    6787             :         {
    6788          66 :             OpUseTexture tmp = OpUseTexture();
    6789          33 :             (*(v__)) = tmp;
    6790          33 :             if ((!(Read((&((v__)->get_OpUseTexture())), msg__, iter__)))) {
    6791           0 :                 FatalError("Error deserializing Union type");
    6792           0 :                 return false;
    6793             :             }
    6794             :             // Sentinel = 'TOpUseTexture'
    6795          33 :             if ((!((msg__)->ReadSentinel(iter__, 581630962)))) {
    6796           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    6797           0 :                 return false;
    6798             :             }
    6799          33 :             return true;
    6800             :         }
    6801             :     case type__::TOpUseComponentAlphaTextures:
    6802             :         {
    6803           0 :             OpUseComponentAlphaTextures tmp = OpUseComponentAlphaTextures();
    6804           0 :             (*(v__)) = tmp;
    6805           0 :             if ((!(Read((&((v__)->get_OpUseComponentAlphaTextures())), msg__, iter__)))) {
    6806           0 :                 FatalError("Error deserializing Union type");
    6807           0 :                 return false;
    6808             :             }
    6809             :             // Sentinel = 'TOpUseComponentAlphaTextures'
    6810           0 :             if ((!((msg__)->ReadSentinel(iter__, 457985329)))) {
    6811           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    6812           0 :                 return false;
    6813             :             }
    6814           0 :             return true;
    6815             :         }
    6816             :     default:
    6817             :         {
    6818           0 :             FatalError("unknown union type");
    6819           0 :             return false;
    6820             :         }
    6821             :     }
    6822             : }
    6823             : 
    6824           0 : auto PLayerTransactionParent::Write(
    6825             :         const ReadLockDescriptor& v__,
    6826             :         Message* msg__) -> void
    6827             : {
    6828             :     typedef ReadLockDescriptor type__;
    6829           0 :     Write(int((v__).type()), msg__);
    6830             :     // Sentinel = 'ReadLockDescriptor'
    6831           0 :     (msg__)->WriteSentinel(3238270764);
    6832             : 
    6833           0 :     switch ((v__).type()) {
    6834             :     case type__::TShmemSection:
    6835             :         {
    6836           0 :             Write((v__).get_ShmemSection(), msg__);
    6837             :             // Sentinel = 'TShmemSection'
    6838           0 :             (msg__)->WriteSentinel(3037204004);
    6839           0 :             return;
    6840             :         }
    6841             :     case type__::TCrossProcessSemaphoreDescriptor:
    6842             :         {
    6843           0 :             Write((v__).get_CrossProcessSemaphoreDescriptor(), msg__);
    6844             :             // Sentinel = 'TCrossProcessSemaphoreDescriptor'
    6845           0 :             (msg__)->WriteSentinel(2516853580);
    6846           0 :             return;
    6847             :         }
    6848             :     case type__::Tuintptr_t:
    6849             :         {
    6850           0 :             Write((v__).get_uintptr_t(), msg__);
    6851             :             // Sentinel = 'Tuintptr_t'
    6852           0 :             (msg__)->WriteSentinel(3218141805);
    6853           0 :             return;
    6854             :         }
    6855             :     case type__::Tnull_t:
    6856             :         {
    6857           0 :             Write((v__).get_null_t(), msg__);
    6858             :             // Sentinel = 'Tnull_t'
    6859           0 :             (msg__)->WriteSentinel(3731137201);
    6860           0 :             return;
    6861             :         }
    6862             :     default:
    6863             :         {
    6864           0 :             FatalError("unknown union type");
    6865           0 :             return;
    6866             :         }
    6867             :     }
    6868             : }
    6869             : 
    6870          33 : auto PLayerTransactionParent::Read(
    6871             :         ReadLockDescriptor* v__,
    6872             :         const Message* msg__,
    6873             :         PickleIterator* iter__) -> bool
    6874             : {
    6875             :     typedef ReadLockDescriptor type__;
    6876             :     int type;
    6877          33 :     if ((!(Read((&(type)), msg__, iter__)))) {
    6878           0 :         mozilla::ipc::UnionTypeReadError("ReadLockDescriptor");
    6879           0 :         return false;
    6880             :     }
    6881             :     // Sentinel = 'ReadLockDescriptor'
    6882          33 :     if ((!((msg__)->ReadSentinel(iter__, 3238270764)))) {
    6883           0 :         mozilla::ipc::SentinelReadError("ReadLockDescriptor");
    6884           0 :         return false;
    6885             :     }
    6886             : 
    6887          33 :     switch (type) {
    6888             :     case type__::TShmemSection:
    6889             :         {
    6890           0 :             ShmemSection tmp = ShmemSection();
    6891           0 :             (*(v__)) = tmp;
    6892           0 :             if ((!(Read((&((v__)->get_ShmemSection())), msg__, iter__)))) {
    6893           0 :                 FatalError("Error deserializing Union type");
    6894           0 :                 return false;
    6895             :             }
    6896             :             // Sentinel = 'TShmemSection'
    6897           0 :             if ((!((msg__)->ReadSentinel(iter__, 3037204004)))) {
    6898           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    6899           0 :                 return false;
    6900             :             }
    6901           0 :             return true;
    6902             :         }
    6903             :     case type__::TCrossProcessSemaphoreDescriptor:
    6904             :         {
    6905          66 :             CrossProcessSemaphoreDescriptor tmp = CrossProcessSemaphoreDescriptor();
    6906          33 :             (*(v__)) = tmp;
    6907          33 :             if ((!(Read((&((v__)->get_CrossProcessSemaphoreDescriptor())), msg__, iter__)))) {
    6908           0 :                 FatalError("Error deserializing Union type");
    6909           0 :                 return false;
    6910             :             }
    6911             :             // Sentinel = 'TCrossProcessSemaphoreDescriptor'
    6912          33 :             if ((!((msg__)->ReadSentinel(iter__, 2516853580)))) {
    6913           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    6914           0 :                 return false;
    6915             :             }
    6916          33 :             return true;
    6917             :         }
    6918             :     case type__::Tuintptr_t:
    6919             :         {
    6920           0 :             uintptr_t tmp = uintptr_t();
    6921           0 :             (*(v__)) = tmp;
    6922           0 :             if ((!(Read((&((v__)->get_uintptr_t())), msg__, iter__)))) {
    6923           0 :                 FatalError("Error deserializing Union type");
    6924           0 :                 return false;
    6925             :             }
    6926             :             // Sentinel = 'Tuintptr_t'
    6927           0 :             if ((!((msg__)->ReadSentinel(iter__, 3218141805)))) {
    6928           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    6929           0 :                 return false;
    6930             :             }
    6931           0 :             return true;
    6932             :         }
    6933             :     case type__::Tnull_t:
    6934             :         {
    6935             :             null_t tmp = null_t();
    6936           0 :             (*(v__)) = tmp;
    6937           0 :             if ((!(Read((&((v__)->get_null_t())), msg__, iter__)))) {
    6938           0 :                 FatalError("Error deserializing Union type");
    6939           0 :                 return false;
    6940             :             }
    6941             :             // Sentinel = 'Tnull_t'
    6942           0 :             if ((!((msg__)->ReadSentinel(iter__, 3731137201)))) {
    6943           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    6944           0 :                 return false;
    6945             :             }
    6946           0 :             return true;
    6947             :         }
    6948             :     default:
    6949             :         {
    6950           0 :             FatalError("unknown union type");
    6951           0 :             return false;
    6952             :         }
    6953             :     }
    6954             : }
    6955             : 
    6956           0 : auto PLayerTransactionParent::Write(
    6957             :         const PaintTiming& v__,
    6958             :         Message* msg__) -> void
    6959             : {
    6960           0 :     Write((v__).serializeMs(), msg__);
    6961             :     // Sentinel = 'serializeMs'
    6962           0 :     (msg__)->WriteSentinel(1679155289);
    6963           0 :     Write((v__).sendMs(), msg__);
    6964             :     // Sentinel = 'sendMs'
    6965           0 :     (msg__)->WriteSentinel(1895220908);
    6966           0 :     Write((v__).dlMs(), msg__);
    6967             :     // Sentinel = 'dlMs'
    6968           0 :     (msg__)->WriteSentinel(1536357008);
    6969           0 :     Write((v__).flbMs(), msg__);
    6970             :     // Sentinel = 'flbMs'
    6971           0 :     (msg__)->WriteSentinel(315691481);
    6972           0 :     Write((v__).rasterMs(), msg__);
    6973             :     // Sentinel = 'rasterMs'
    6974           0 :     (msg__)->WriteSentinel(3876624083);
    6975           0 : }
    6976             : 
    6977           0 : auto PLayerTransactionParent::Read(
    6978             :         PaintTiming* v__,
    6979             :         const Message* msg__,
    6980             :         PickleIterator* iter__) -> bool
    6981             : {
    6982           0 :     if ((!(Read((&((v__)->serializeMs())), msg__, iter__)))) {
    6983           0 :         FatalError("Error deserializing 'serializeMs' (float) member of 'PaintTiming'");
    6984           0 :         return false;
    6985             :     }
    6986             :     // Sentinel = 'serializeMs'
    6987           0 :     if ((!((msg__)->ReadSentinel(iter__, 1679155289)))) {
    6988           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'serializeMs' (float) member of 'PaintTiming'");
    6989           0 :         return false;
    6990             :     }
    6991           0 :     if ((!(Read((&((v__)->sendMs())), msg__, iter__)))) {
    6992           0 :         FatalError("Error deserializing 'sendMs' (float) member of 'PaintTiming'");
    6993           0 :         return false;
    6994             :     }
    6995             :     // Sentinel = 'sendMs'
    6996           0 :     if ((!((msg__)->ReadSentinel(iter__, 1895220908)))) {
    6997           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'sendMs' (float) member of 'PaintTiming'");
    6998           0 :         return false;
    6999             :     }
    7000           0 :     if ((!(Read((&((v__)->dlMs())), msg__, iter__)))) {
    7001           0 :         FatalError("Error deserializing 'dlMs' (float) member of 'PaintTiming'");
    7002           0 :         return false;
    7003             :     }
    7004             :     // Sentinel = 'dlMs'
    7005           0 :     if ((!((msg__)->ReadSentinel(iter__, 1536357008)))) {
    7006           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'dlMs' (float) member of 'PaintTiming'");
    7007           0 :         return false;
    7008             :     }
    7009           0 :     if ((!(Read((&((v__)->flbMs())), msg__, iter__)))) {
    7010           0 :         FatalError("Error deserializing 'flbMs' (float) member of 'PaintTiming'");
    7011           0 :         return false;
    7012             :     }
    7013             :     // Sentinel = 'flbMs'
    7014           0 :     if ((!((msg__)->ReadSentinel(iter__, 315691481)))) {
    7015           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'flbMs' (float) member of 'PaintTiming'");
    7016           0 :         return false;
    7017             :     }
    7018           0 :     if ((!(Read((&((v__)->rasterMs())), msg__, iter__)))) {
    7019           0 :         FatalError("Error deserializing 'rasterMs' (float) member of 'PaintTiming'");
    7020           0 :         return false;
    7021             :     }
    7022             :     // Sentinel = 'rasterMs'
    7023           0 :     if ((!((msg__)->ReadSentinel(iter__, 3876624083)))) {
    7024           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'rasterMs' (float) member of 'PaintTiming'");
    7025           0 :         return false;
    7026             :     }
    7027           0 :     return true;
    7028             : }
    7029             : 
    7030           0 : auto PLayerTransactionParent::Write(
    7031             :         const nsTArray<Animation>& v__,
    7032             :         Message* msg__) -> void
    7033             : {
    7034           0 :     uint32_t length = (v__).Length();
    7035           0 :     Write(length, msg__);
    7036             :     // Sentinel = ('length', 'Animation[]')
    7037           0 :     (msg__)->WriteSentinel(4007294134);
    7038             : 
    7039           0 :     for (auto& elem : v__) {
    7040           0 :         Write(elem, msg__);
    7041             :         // Sentinel = 'Animation[]'
    7042           0 :         (msg__)->WriteSentinel(2603867689);
    7043             :     }
    7044           0 : }
    7045             : 
    7046         124 : auto PLayerTransactionParent::Read(
    7047             :         nsTArray<Animation>* v__,
    7048             :         const Message* msg__,
    7049             :         PickleIterator* iter__) -> bool
    7050             : {
    7051         248 :     nsTArray<Animation> fa;
    7052             :     uint32_t length;
    7053         124 :     if ((!(Read((&(length)), msg__, iter__)))) {
    7054           0 :         mozilla::ipc::ArrayLengthReadError("Animation[]");
    7055           0 :         return false;
    7056             :     }
    7057             :     // Sentinel = ('length', 'Animation[]')
    7058         124 :     if ((!((msg__)->ReadSentinel(iter__, 4007294134)))) {
    7059           0 :         mozilla::ipc::SentinelReadError("Animation[]");
    7060           0 :         return false;
    7061             :     }
    7062             : 
    7063         124 :     Animation* elems = (fa).AppendElements(length);
    7064         124 :     for (uint32_t i = 0; (i) < (length); (++(i))) {
    7065           0 :         if ((!(Read((&(elems[i])), msg__, iter__)))) {
    7066           0 :             FatalError("Error deserializing 'Animation[i]'");
    7067           0 :             return false;
    7068             :         }
    7069             :         // Sentinel = 'Animation[]'
    7070           0 :         if ((!((msg__)->ReadSentinel(iter__, 2603867689)))) {
    7071           0 :             mozilla::ipc::SentinelReadError("Error deserializing 'Animation[i]'");
    7072           0 :             return false;
    7073             :         }
    7074             :     }
    7075         124 :     (v__)->SwapElements(fa);
    7076         124 :     return true;
    7077             : }
    7078             : 
    7079           0 : auto PLayerTransactionParent::Write(
    7080             :         const nsTArray<CompositableOperation>& v__,
    7081             :         Message* msg__) -> void
    7082             : {
    7083           0 :     uint32_t length = (v__).Length();
    7084           0 :     Write(length, msg__);
    7085             :     // Sentinel = ('length', 'CompositableOperation[]')
    7086           0 :     (msg__)->WriteSentinel(1164254785);
    7087             : 
    7088           0 :     for (auto& elem : v__) {
    7089           0 :         Write(elem, msg__);
    7090             :         // Sentinel = 'CompositableOperation[]'
    7091           0 :         (msg__)->WriteSentinel(574132320);
    7092             :     }
    7093           0 : }
    7094             : 
    7095          28 : auto PLayerTransactionParent::Read(
    7096             :         nsTArray<CompositableOperation>* v__,
    7097             :         const Message* msg__,
    7098             :         PickleIterator* iter__) -> bool
    7099             : {
    7100          56 :     nsTArray<CompositableOperation> fa;
    7101             :     uint32_t length;
    7102          28 :     if ((!(Read((&(length)), msg__, iter__)))) {
    7103           0 :         mozilla::ipc::ArrayLengthReadError("CompositableOperation[]");
    7104           0 :         return false;
    7105             :     }
    7106             :     // Sentinel = ('length', 'CompositableOperation[]')
    7107          28 :     if ((!((msg__)->ReadSentinel(iter__, 1164254785)))) {
    7108           0 :         mozilla::ipc::SentinelReadError("CompositableOperation[]");
    7109           0 :         return false;
    7110             :     }
    7111             : 
    7112          28 :     CompositableOperation* elems = (fa).AppendElements(length);
    7113          61 :     for (uint32_t i = 0; (i) < (length); (++(i))) {
    7114          33 :         if ((!(Read((&(elems[i])), msg__, iter__)))) {
    7115           0 :             FatalError("Error deserializing 'CompositableOperation[i]'");
    7116           0 :             return false;
    7117             :         }
    7118             :         // Sentinel = 'CompositableOperation[]'
    7119          33 :         if ((!((msg__)->ReadSentinel(iter__, 574132320)))) {
    7120           0 :             mozilla::ipc::SentinelReadError("Error deserializing 'CompositableOperation[i]'");
    7121           0 :             return false;
    7122             :         }
    7123             :     }
    7124          28 :     (v__)->SwapElements(fa);
    7125          28 :     return true;
    7126             : }
    7127             : 
    7128             : 
    7129             : 
    7130             : } // namespace layers
    7131             : } // namespace mozilla

Generated by: LCOV version 1.13