LCOV - code coverage report
Current view: top level - obj-x86_64-pc-linux-gnu/ipc/ipdl - PWebRenderBridgeParent.cpp (source / functions) Hit Total Coverage
Test: output.info Lines: 0 3016 0.0 %
Date: 2017-07-14 16:53:18 Functions: 0 138 0.0 %
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/PWebRenderBridgeParent.h"
       8             : #include "FrameMetrics.h"
       9             : #include "mozilla/layers/CompositorTypes.h"
      10             : 
      11             : #include "mozilla/layers/PCompositorBridgeParent.h"
      12             : #include "mozilla/layers/PTextureParent.h"
      13             : 
      14             : #include "nsIFile.h"
      15             : #include "GeckoProfiler.h"
      16             : 
      17             : namespace mozilla {
      18             : namespace layers {
      19             : 
      20             : 
      21             : 
      22           0 : MOZ_IMPLICIT PWebRenderBridgeParent::PWebRenderBridgeParent() :
      23             :     mozilla::ipc::IProtocol(mozilla::ipc::ParentSide),
      24           0 :     mState(PWebRenderBridge::__Dead)
      25             : {
      26           0 :     MOZ_COUNT_CTOR(PWebRenderBridgeParent);
      27           0 : }
      28             : 
      29           0 : PWebRenderBridgeParent::~PWebRenderBridgeParent()
      30             : {
      31           0 :     MOZ_COUNT_DTOR(PWebRenderBridgeParent);
      32           0 : }
      33             : 
      34           0 : auto PWebRenderBridgeParent::Manager() const -> PCompositorBridgeParent*
      35             : {
      36           0 :     return static_cast<PCompositorBridgeParent*>(IProtocol::Manager());
      37             : }
      38             : 
      39           0 : auto PWebRenderBridgeParent::SendWrUpdated(const uint32_t& newIdNameSpace) -> bool
      40             : {
      41           0 :     IPC::Message* msg__ = PWebRenderBridge::Msg_WrUpdated(Id());
      42             : 
      43           0 :     Write(newIdNameSpace, msg__);
      44             :     // Sentinel = 'newIdNameSpace'
      45           0 :     (msg__)->WriteSentinel(553867124);
      46             : 
      47             : 
      48             : 
      49             : 
      50           0 :     if (mozilla::ipc::LoggingEnabledFor("PWebRenderBridgeParent")) {
      51           0 :         mozilla::ipc::LogMessageForProtocol("PWebRenderBridgeParent", OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
      52             :     }
      53           0 :     AUTO_PROFILER_LABEL("PWebRenderBridge::Msg_WrUpdated", OTHER);
      54           0 :     PWebRenderBridge::Transition(PWebRenderBridge::Msg_WrUpdated__ID, (&(mState)));
      55             : 
      56           0 :     bool sendok__ = (GetIPCChannel())->Send(msg__);
      57           0 :     return sendok__;
      58             : }
      59             : 
      60           0 : auto PWebRenderBridgeParent::Send__delete__(PWebRenderBridgeParent* actor) -> bool
      61             : {
      62           0 :     if ((!(actor))) {
      63           0 :         return false;
      64             :     }
      65             : 
      66           0 :     IPC::Message* msg__ = PWebRenderBridge::Msg___delete__((actor)->Id());
      67             : 
      68           0 :     (actor)->Write(actor, msg__, false);
      69             :     // Sentinel = 'actor'
      70           0 :     (msg__)->WriteSentinel(875202478);
      71             : 
      72             : 
      73             : 
      74           0 :     if (mozilla::ipc::LoggingEnabledFor("PWebRenderBridgeParent")) {
      75           0 :         mozilla::ipc::LogMessageForProtocol("PWebRenderBridgeParent", (actor)->OtherPid(), "Sending ", (msg__)->type(), mozilla::ipc::MessageDirection::eSending);
      76             :     }
      77           0 :     AUTO_PROFILER_LABEL("PWebRenderBridge::Msg___delete__", OTHER);
      78           0 :     PWebRenderBridge::Transition(PWebRenderBridge::Msg___delete____ID, (&((actor)->mState)));
      79             : 
      80           0 :     bool sendok__ = ((actor)->GetIPCChannel())->Send(msg__);
      81             : 
      82           0 :     IProtocol* mgr = (actor)->Manager();
      83           0 :     (actor)->DestroySubtree(Deletion);
      84           0 :     (actor)->DeallocSubtree();
      85           0 :     (mgr)->RemoveManagee(PWebRenderBridgeMsgStart, actor);
      86           0 :     return sendok__;
      87             : }
      88             : 
      89           0 : auto PWebRenderBridgeParent::RemoveManagee(
      90             :         int32_t aProtocolId,
      91             :         ProtocolBase* aListener) -> void
      92             : {
      93           0 :     FatalError("unreached");
      94           0 :     return;
      95             : }
      96             : 
      97           0 : auto PWebRenderBridgeParent::OnMessageReceived(const Message& msg__) -> PWebRenderBridgeParent::Result
      98             : {
      99           0 :     switch ((msg__).type()) {
     100             :     case PWebRenderBridge::Msg_NewCompositable__ID:
     101             :         {
     102           0 :             if (mozilla::ipc::LoggingEnabledFor("PWebRenderBridgeParent")) {
     103           0 :                 mozilla::ipc::LogMessageForProtocol("PWebRenderBridgeParent", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
     104             :             }
     105           0 :             AUTO_PROFILER_LABEL("PWebRenderBridge::Msg_NewCompositable", OTHER);
     106             : 
     107           0 :             PickleIterator iter__(msg__);
     108           0 :             CompositableHandle handle;
     109           0 :             TextureInfo info;
     110             : 
     111           0 :             if ((!(Read((&(handle)), (&(msg__)), (&(iter__)))))) {
     112           0 :                 FatalError("Error deserializing 'CompositableHandle'");
     113           0 :                 return MsgValueError;
     114             :             }
     115             :             // Sentinel = 'handle'
     116           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 453975108)))) {
     117           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'CompositableHandle'");
     118           0 :                 return MsgValueError;
     119             :             }
     120           0 :             if ((!(Read((&(info)), (&(msg__)), (&(iter__)))))) {
     121           0 :                 FatalError("Error deserializing 'TextureInfo'");
     122           0 :                 return MsgValueError;
     123             :             }
     124             :             // Sentinel = 'info'
     125           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 3750868832)))) {
     126           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'TextureInfo'");
     127           0 :                 return MsgValueError;
     128             :             }
     129           0 :             (msg__).EndRead(iter__, (msg__).type());
     130           0 :             PWebRenderBridge::Transition(PWebRenderBridge::Msg_NewCompositable__ID, (&(mState)));
     131           0 :             if ((!(RecvNewCompositable(mozilla::Move(handle), mozilla::Move(info))))) {
     132           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
     133             :                 // Error handled in mozilla::ipc::IPCResult
     134           0 :                 return MsgProcessingError;
     135             :             }
     136             : 
     137           0 :             return MsgProcessed;
     138             :         }
     139             :     case PWebRenderBridge::Msg_ReleaseCompositable__ID:
     140             :         {
     141           0 :             if (mozilla::ipc::LoggingEnabledFor("PWebRenderBridgeParent")) {
     142           0 :                 mozilla::ipc::LogMessageForProtocol("PWebRenderBridgeParent", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
     143             :             }
     144           0 :             AUTO_PROFILER_LABEL("PWebRenderBridge::Msg_ReleaseCompositable", OTHER);
     145             : 
     146           0 :             PickleIterator iter__(msg__);
     147           0 :             CompositableHandle compositable;
     148             : 
     149           0 :             if ((!(Read((&(compositable)), (&(msg__)), (&(iter__)))))) {
     150           0 :                 FatalError("Error deserializing 'CompositableHandle'");
     151           0 :                 return MsgValueError;
     152             :             }
     153             :             // Sentinel = 'compositable'
     154           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 4031958248)))) {
     155           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'CompositableHandle'");
     156           0 :                 return MsgValueError;
     157             :             }
     158           0 :             (msg__).EndRead(iter__, (msg__).type());
     159           0 :             PWebRenderBridge::Transition(PWebRenderBridge::Msg_ReleaseCompositable__ID, (&(mState)));
     160           0 :             if ((!(RecvReleaseCompositable(mozilla::Move(compositable))))) {
     161           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
     162             :                 // Error handled in mozilla::ipc::IPCResult
     163           0 :                 return MsgProcessingError;
     164             :             }
     165             : 
     166           0 :             return MsgProcessed;
     167             :         }
     168             :     case PWebRenderBridge::Msg_InitReadLocks__ID:
     169             :         {
     170           0 :             if (mozilla::ipc::LoggingEnabledFor("PWebRenderBridgeParent")) {
     171           0 :                 mozilla::ipc::LogMessageForProtocol("PWebRenderBridgeParent", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
     172             :             }
     173           0 :             AUTO_PROFILER_LABEL("PWebRenderBridge::Msg_InitReadLocks", OTHER);
     174             : 
     175           0 :             PickleIterator iter__(msg__);
     176           0 :             nsTArray<ReadLockInit> locks;
     177             : 
     178           0 :             if ((!(Read((&(locks)), (&(msg__)), (&(iter__)))))) {
     179           0 :                 FatalError("Error deserializing 'nsTArray'");
     180           0 :                 return MsgValueError;
     181             :             }
     182             :             // Sentinel = 'locks'
     183           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 4169533841)))) {
     184           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'nsTArray'");
     185           0 :                 return MsgValueError;
     186             :             }
     187           0 :             (msg__).EndRead(iter__, (msg__).type());
     188           0 :             PWebRenderBridge::Transition(PWebRenderBridge::Msg_InitReadLocks__ID, (&(mState)));
     189           0 :             if ((!(RecvInitReadLocks(mozilla::Move(locks))))) {
     190           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
     191             :                 // Error handled in mozilla::ipc::IPCResult
     192           0 :                 return MsgProcessingError;
     193             :             }
     194             : 
     195           0 :             return MsgProcessed;
     196             :         }
     197             :     case PWebRenderBridge::Msg_AddImage__ID:
     198             :         {
     199           0 :             if (mozilla::ipc::LoggingEnabledFor("PWebRenderBridgeParent")) {
     200           0 :                 mozilla::ipc::LogMessageForProtocol("PWebRenderBridgeParent", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
     201             :             }
     202           0 :             AUTO_PROFILER_LABEL("PWebRenderBridge::Msg_AddImage", OTHER);
     203             : 
     204           0 :             PickleIterator iter__(msg__);
     205             :             ImageKey aImageKey;
     206           0 :             IntSize aSize;
     207             :             uint32_t aStride;
     208             :             SurfaceFormat aFormat;
     209           0 :             ByteBuffer aBytes;
     210             : 
     211           0 :             if ((!(Read((&(aImageKey)), (&(msg__)), (&(iter__)))))) {
     212           0 :                 FatalError("Error deserializing 'ImageKey'");
     213           0 :                 return MsgValueError;
     214             :             }
     215             :             // Sentinel = 'aImageKey'
     216           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 326675268)))) {
     217           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'ImageKey'");
     218           0 :                 return MsgValueError;
     219             :             }
     220           0 :             if ((!(Read((&(aSize)), (&(msg__)), (&(iter__)))))) {
     221           0 :                 FatalError("Error deserializing 'IntSize'");
     222           0 :                 return MsgValueError;
     223             :             }
     224             :             // Sentinel = 'aSize'
     225           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2556665555)))) {
     226           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'IntSize'");
     227           0 :                 return MsgValueError;
     228             :             }
     229           0 :             if ((!(Read((&(aStride)), (&(msg__)), (&(iter__)))))) {
     230           0 :                 FatalError("Error deserializing 'uint32_t'");
     231           0 :                 return MsgValueError;
     232             :             }
     233             :             // Sentinel = 'aStride'
     234           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 3550945365)))) {
     235           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'uint32_t'");
     236           0 :                 return MsgValueError;
     237             :             }
     238           0 :             if ((!(Read((&(aFormat)), (&(msg__)), (&(iter__)))))) {
     239           0 :                 FatalError("Error deserializing 'SurfaceFormat'");
     240           0 :                 return MsgValueError;
     241             :             }
     242             :             // Sentinel = 'aFormat'
     243           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 1690832643)))) {
     244           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'SurfaceFormat'");
     245           0 :                 return MsgValueError;
     246             :             }
     247           0 :             if ((!(Read((&(aBytes)), (&(msg__)), (&(iter__)))))) {
     248           0 :                 FatalError("Error deserializing 'ByteBuffer'");
     249           0 :                 return MsgValueError;
     250             :             }
     251             :             // Sentinel = 'aBytes'
     252           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 4118068628)))) {
     253           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'ByteBuffer'");
     254           0 :                 return MsgValueError;
     255             :             }
     256           0 :             (msg__).EndRead(iter__, (msg__).type());
     257           0 :             PWebRenderBridge::Transition(PWebRenderBridge::Msg_AddImage__ID, (&(mState)));
     258           0 :             if ((!(RecvAddImage(mozilla::Move(aImageKey), mozilla::Move(aSize), mozilla::Move(aStride), mozilla::Move(aFormat), mozilla::Move(aBytes))))) {
     259           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
     260             :                 // Error handled in mozilla::ipc::IPCResult
     261           0 :                 return MsgProcessingError;
     262             :             }
     263             : 
     264           0 :             return MsgProcessed;
     265             :         }
     266             :     case PWebRenderBridge::Msg_AddBlobImage__ID:
     267             :         {
     268           0 :             if (mozilla::ipc::LoggingEnabledFor("PWebRenderBridgeParent")) {
     269           0 :                 mozilla::ipc::LogMessageForProtocol("PWebRenderBridgeParent", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
     270             :             }
     271           0 :             AUTO_PROFILER_LABEL("PWebRenderBridge::Msg_AddBlobImage", OTHER);
     272             : 
     273           0 :             PickleIterator iter__(msg__);
     274             :             ImageKey aImageKey;
     275           0 :             IntSize aSize;
     276             :             uint32_t aStride;
     277             :             SurfaceFormat aFormat;
     278           0 :             ByteBuffer aBytes;
     279             : 
     280           0 :             if ((!(Read((&(aImageKey)), (&(msg__)), (&(iter__)))))) {
     281           0 :                 FatalError("Error deserializing 'ImageKey'");
     282           0 :                 return MsgValueError;
     283             :             }
     284             :             // Sentinel = 'aImageKey'
     285           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 326675268)))) {
     286           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'ImageKey'");
     287           0 :                 return MsgValueError;
     288             :             }
     289           0 :             if ((!(Read((&(aSize)), (&(msg__)), (&(iter__)))))) {
     290           0 :                 FatalError("Error deserializing 'IntSize'");
     291           0 :                 return MsgValueError;
     292             :             }
     293             :             // Sentinel = 'aSize'
     294           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2556665555)))) {
     295           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'IntSize'");
     296           0 :                 return MsgValueError;
     297             :             }
     298           0 :             if ((!(Read((&(aStride)), (&(msg__)), (&(iter__)))))) {
     299           0 :                 FatalError("Error deserializing 'uint32_t'");
     300           0 :                 return MsgValueError;
     301             :             }
     302             :             // Sentinel = 'aStride'
     303           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 3550945365)))) {
     304           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'uint32_t'");
     305           0 :                 return MsgValueError;
     306             :             }
     307           0 :             if ((!(Read((&(aFormat)), (&(msg__)), (&(iter__)))))) {
     308           0 :                 FatalError("Error deserializing 'SurfaceFormat'");
     309           0 :                 return MsgValueError;
     310             :             }
     311             :             // Sentinel = 'aFormat'
     312           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 1690832643)))) {
     313           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'SurfaceFormat'");
     314           0 :                 return MsgValueError;
     315             :             }
     316           0 :             if ((!(Read((&(aBytes)), (&(msg__)), (&(iter__)))))) {
     317           0 :                 FatalError("Error deserializing 'ByteBuffer'");
     318           0 :                 return MsgValueError;
     319             :             }
     320             :             // Sentinel = 'aBytes'
     321           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 4118068628)))) {
     322           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'ByteBuffer'");
     323           0 :                 return MsgValueError;
     324             :             }
     325           0 :             (msg__).EndRead(iter__, (msg__).type());
     326           0 :             PWebRenderBridge::Transition(PWebRenderBridge::Msg_AddBlobImage__ID, (&(mState)));
     327           0 :             if ((!(RecvAddBlobImage(mozilla::Move(aImageKey), mozilla::Move(aSize), mozilla::Move(aStride), mozilla::Move(aFormat), mozilla::Move(aBytes))))) {
     328           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
     329             :                 // Error handled in mozilla::ipc::IPCResult
     330           0 :                 return MsgProcessingError;
     331             :             }
     332             : 
     333           0 :             return MsgProcessed;
     334             :         }
     335             :     case PWebRenderBridge::Msg_UpdateImage__ID:
     336             :         {
     337           0 :             if (mozilla::ipc::LoggingEnabledFor("PWebRenderBridgeParent")) {
     338           0 :                 mozilla::ipc::LogMessageForProtocol("PWebRenderBridgeParent", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
     339             :             }
     340           0 :             AUTO_PROFILER_LABEL("PWebRenderBridge::Msg_UpdateImage", OTHER);
     341             : 
     342           0 :             PickleIterator iter__(msg__);
     343             :             ImageKey aImageKey;
     344           0 :             IntSize aSize;
     345             :             SurfaceFormat aFormat;
     346           0 :             ByteBuffer aBytes;
     347             : 
     348           0 :             if ((!(Read((&(aImageKey)), (&(msg__)), (&(iter__)))))) {
     349           0 :                 FatalError("Error deserializing 'ImageKey'");
     350           0 :                 return MsgValueError;
     351             :             }
     352             :             // Sentinel = 'aImageKey'
     353           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 326675268)))) {
     354           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'ImageKey'");
     355           0 :                 return MsgValueError;
     356             :             }
     357           0 :             if ((!(Read((&(aSize)), (&(msg__)), (&(iter__)))))) {
     358           0 :                 FatalError("Error deserializing 'IntSize'");
     359           0 :                 return MsgValueError;
     360             :             }
     361             :             // Sentinel = 'aSize'
     362           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2556665555)))) {
     363           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'IntSize'");
     364           0 :                 return MsgValueError;
     365             :             }
     366           0 :             if ((!(Read((&(aFormat)), (&(msg__)), (&(iter__)))))) {
     367           0 :                 FatalError("Error deserializing 'SurfaceFormat'");
     368           0 :                 return MsgValueError;
     369             :             }
     370             :             // Sentinel = 'aFormat'
     371           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 1690832643)))) {
     372           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'SurfaceFormat'");
     373           0 :                 return MsgValueError;
     374             :             }
     375           0 :             if ((!(Read((&(aBytes)), (&(msg__)), (&(iter__)))))) {
     376           0 :                 FatalError("Error deserializing 'ByteBuffer'");
     377           0 :                 return MsgValueError;
     378             :             }
     379             :             // Sentinel = 'aBytes'
     380           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 4118068628)))) {
     381           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'ByteBuffer'");
     382           0 :                 return MsgValueError;
     383             :             }
     384           0 :             (msg__).EndRead(iter__, (msg__).type());
     385           0 :             PWebRenderBridge::Transition(PWebRenderBridge::Msg_UpdateImage__ID, (&(mState)));
     386           0 :             if ((!(RecvUpdateImage(mozilla::Move(aImageKey), mozilla::Move(aSize), mozilla::Move(aFormat), mozilla::Move(aBytes))))) {
     387           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
     388             :                 // Error handled in mozilla::ipc::IPCResult
     389           0 :                 return MsgProcessingError;
     390             :             }
     391             : 
     392           0 :             return MsgProcessed;
     393             :         }
     394             :     case PWebRenderBridge::Msg_DeleteImage__ID:
     395             :         {
     396           0 :             if (mozilla::ipc::LoggingEnabledFor("PWebRenderBridgeParent")) {
     397           0 :                 mozilla::ipc::LogMessageForProtocol("PWebRenderBridgeParent", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
     398             :             }
     399           0 :             AUTO_PROFILER_LABEL("PWebRenderBridge::Msg_DeleteImage", OTHER);
     400             : 
     401           0 :             PickleIterator iter__(msg__);
     402             :             ImageKey aImageKey;
     403             : 
     404           0 :             if ((!(Read((&(aImageKey)), (&(msg__)), (&(iter__)))))) {
     405           0 :                 FatalError("Error deserializing 'ImageKey'");
     406           0 :                 return MsgValueError;
     407             :             }
     408             :             // Sentinel = 'aImageKey'
     409           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 326675268)))) {
     410           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'ImageKey'");
     411           0 :                 return MsgValueError;
     412             :             }
     413           0 :             (msg__).EndRead(iter__, (msg__).type());
     414           0 :             PWebRenderBridge::Transition(PWebRenderBridge::Msg_DeleteImage__ID, (&(mState)));
     415           0 :             if ((!(RecvDeleteImage(mozilla::Move(aImageKey))))) {
     416           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
     417             :                 // Error handled in mozilla::ipc::IPCResult
     418           0 :                 return MsgProcessingError;
     419             :             }
     420             : 
     421           0 :             return MsgProcessed;
     422             :         }
     423             :     case PWebRenderBridge::Msg_DeleteCompositorAnimations__ID:
     424             :         {
     425           0 :             if (mozilla::ipc::LoggingEnabledFor("PWebRenderBridgeParent")) {
     426           0 :                 mozilla::ipc::LogMessageForProtocol("PWebRenderBridgeParent", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
     427             :             }
     428           0 :             AUTO_PROFILER_LABEL("PWebRenderBridge::Msg_DeleteCompositorAnimations", OTHER);
     429             : 
     430           0 :             PickleIterator iter__(msg__);
     431           0 :             nsTArray<uint64_t> aIds;
     432             : 
     433           0 :             if ((!(Read((&(aIds)), (&(msg__)), (&(iter__)))))) {
     434           0 :                 FatalError("Error deserializing 'nsTArray'");
     435           0 :                 return MsgValueError;
     436             :             }
     437             :             // Sentinel = 'aIds'
     438           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 1964130745)))) {
     439           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'nsTArray'");
     440           0 :                 return MsgValueError;
     441             :             }
     442           0 :             (msg__).EndRead(iter__, (msg__).type());
     443           0 :             PWebRenderBridge::Transition(PWebRenderBridge::Msg_DeleteCompositorAnimations__ID, (&(mState)));
     444           0 :             if ((!(RecvDeleteCompositorAnimations(mozilla::Move(aIds))))) {
     445           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
     446             :                 // Error handled in mozilla::ipc::IPCResult
     447           0 :                 return MsgProcessingError;
     448             :             }
     449             : 
     450           0 :             return MsgProcessed;
     451             :         }
     452             :     case PWebRenderBridge::Msg_AddRawFont__ID:
     453             :         {
     454           0 :             if (mozilla::ipc::LoggingEnabledFor("PWebRenderBridgeParent")) {
     455           0 :                 mozilla::ipc::LogMessageForProtocol("PWebRenderBridgeParent", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
     456             :             }
     457           0 :             AUTO_PROFILER_LABEL("PWebRenderBridge::Msg_AddRawFont", OTHER);
     458             : 
     459           0 :             PickleIterator iter__(msg__);
     460             :             FontKey aFontKey;
     461           0 :             ByteBuffer aBytes;
     462             :             uint32_t aFontIndex;
     463             : 
     464           0 :             if ((!(Read((&(aFontKey)), (&(msg__)), (&(iter__)))))) {
     465           0 :                 FatalError("Error deserializing 'FontKey'");
     466           0 :                 return MsgValueError;
     467             :             }
     468             :             // Sentinel = 'aFontKey'
     469           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 4029832403)))) {
     470           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'FontKey'");
     471           0 :                 return MsgValueError;
     472             :             }
     473           0 :             if ((!(Read((&(aBytes)), (&(msg__)), (&(iter__)))))) {
     474           0 :                 FatalError("Error deserializing 'ByteBuffer'");
     475           0 :                 return MsgValueError;
     476             :             }
     477             :             // Sentinel = 'aBytes'
     478           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 4118068628)))) {
     479           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'ByteBuffer'");
     480           0 :                 return MsgValueError;
     481             :             }
     482           0 :             if ((!(Read((&(aFontIndex)), (&(msg__)), (&(iter__)))))) {
     483           0 :                 FatalError("Error deserializing 'uint32_t'");
     484           0 :                 return MsgValueError;
     485             :             }
     486             :             // Sentinel = 'aFontIndex'
     487           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 162121600)))) {
     488           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'uint32_t'");
     489           0 :                 return MsgValueError;
     490             :             }
     491           0 :             (msg__).EndRead(iter__, (msg__).type());
     492           0 :             PWebRenderBridge::Transition(PWebRenderBridge::Msg_AddRawFont__ID, (&(mState)));
     493           0 :             if ((!(RecvAddRawFont(mozilla::Move(aFontKey), mozilla::Move(aBytes), mozilla::Move(aFontIndex))))) {
     494           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
     495             :                 // Error handled in mozilla::ipc::IPCResult
     496           0 :                 return MsgProcessingError;
     497             :             }
     498             : 
     499           0 :             return MsgProcessed;
     500             :         }
     501             :     case PWebRenderBridge::Msg_DeleteFont__ID:
     502             :         {
     503           0 :             if (mozilla::ipc::LoggingEnabledFor("PWebRenderBridgeParent")) {
     504           0 :                 mozilla::ipc::LogMessageForProtocol("PWebRenderBridgeParent", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
     505             :             }
     506           0 :             AUTO_PROFILER_LABEL("PWebRenderBridge::Msg_DeleteFont", OTHER);
     507             : 
     508           0 :             PickleIterator iter__(msg__);
     509             :             FontKey aFontKey;
     510             : 
     511           0 :             if ((!(Read((&(aFontKey)), (&(msg__)), (&(iter__)))))) {
     512           0 :                 FatalError("Error deserializing 'FontKey'");
     513           0 :                 return MsgValueError;
     514             :             }
     515             :             // Sentinel = 'aFontKey'
     516           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 4029832403)))) {
     517           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'FontKey'");
     518           0 :                 return MsgValueError;
     519             :             }
     520           0 :             (msg__).EndRead(iter__, (msg__).type());
     521           0 :             PWebRenderBridge::Transition(PWebRenderBridge::Msg_DeleteFont__ID, (&(mState)));
     522           0 :             if ((!(RecvDeleteFont(mozilla::Move(aFontKey))))) {
     523           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
     524             :                 // Error handled in mozilla::ipc::IPCResult
     525           0 :                 return MsgProcessingError;
     526             :             }
     527             : 
     528           0 :             return MsgProcessed;
     529             :         }
     530             :     case PWebRenderBridge::Msg_DPBegin__ID:
     531             :         {
     532           0 :             if (mozilla::ipc::LoggingEnabledFor("PWebRenderBridgeParent")) {
     533           0 :                 mozilla::ipc::LogMessageForProtocol("PWebRenderBridgeParent", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
     534             :             }
     535           0 :             AUTO_PROFILER_LABEL("PWebRenderBridge::Msg_DPBegin", OTHER);
     536             : 
     537           0 :             PickleIterator iter__(msg__);
     538           0 :             IntSize aSize;
     539             : 
     540           0 :             if ((!(Read((&(aSize)), (&(msg__)), (&(iter__)))))) {
     541           0 :                 FatalError("Error deserializing 'IntSize'");
     542           0 :                 return MsgValueError;
     543             :             }
     544             :             // Sentinel = 'aSize'
     545           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2556665555)))) {
     546           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'IntSize'");
     547           0 :                 return MsgValueError;
     548             :             }
     549           0 :             (msg__).EndRead(iter__, (msg__).type());
     550           0 :             PWebRenderBridge::Transition(PWebRenderBridge::Msg_DPBegin__ID, (&(mState)));
     551           0 :             if ((!(RecvDPBegin(mozilla::Move(aSize))))) {
     552           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
     553             :                 // Error handled in mozilla::ipc::IPCResult
     554           0 :                 return MsgProcessingError;
     555             :             }
     556             : 
     557           0 :             return MsgProcessed;
     558             :         }
     559             :     case PWebRenderBridge::Msg_DPEnd__ID:
     560             :         {
     561           0 :             if (mozilla::ipc::LoggingEnabledFor("PWebRenderBridgeParent")) {
     562           0 :                 mozilla::ipc::LogMessageForProtocol("PWebRenderBridgeParent", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
     563             :             }
     564           0 :             AUTO_PROFILER_LABEL("PWebRenderBridge::Msg_DPEnd", OTHER);
     565             : 
     566           0 :             PickleIterator iter__(msg__);
     567           0 :             IntSize aSize;
     568           0 :             nsTArray<WebRenderParentCommand> commands;
     569           0 :             nsTArray<OpDestroy> toDestroy;
     570             :             uint64_t fwdTransactionId;
     571             :             uint64_t transactionId;
     572             :             WrSize aContentSize;
     573           0 :             ByteBuffer aDL;
     574             :             WrBuiltDisplayListDescriptor aDLDesc;
     575           0 :             WebRenderScrollData aScrollData;
     576             :             uint32_t idNameSpace;
     577             : 
     578           0 :             if ((!(Read((&(aSize)), (&(msg__)), (&(iter__)))))) {
     579           0 :                 FatalError("Error deserializing 'IntSize'");
     580           0 :                 return MsgValueError;
     581             :             }
     582             :             // Sentinel = 'aSize'
     583           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2556665555)))) {
     584           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'IntSize'");
     585           0 :                 return MsgValueError;
     586             :             }
     587           0 :             if ((!(Read((&(commands)), (&(msg__)), (&(iter__)))))) {
     588           0 :                 FatalError("Error deserializing 'nsTArray'");
     589           0 :                 return MsgValueError;
     590             :             }
     591             :             // Sentinel = 'commands'
     592           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 766311650)))) {
     593           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'nsTArray'");
     594           0 :                 return MsgValueError;
     595             :             }
     596           0 :             if ((!(Read((&(toDestroy)), (&(msg__)), (&(iter__)))))) {
     597           0 :                 FatalError("Error deserializing 'nsTArray'");
     598           0 :                 return MsgValueError;
     599             :             }
     600             :             // Sentinel = 'toDestroy'
     601           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 4183172130)))) {
     602           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'nsTArray'");
     603           0 :                 return MsgValueError;
     604             :             }
     605           0 :             if ((!(Read((&(fwdTransactionId)), (&(msg__)), (&(iter__)))))) {
     606           0 :                 FatalError("Error deserializing 'uint64_t'");
     607           0 :                 return MsgValueError;
     608             :             }
     609             :             // Sentinel = 'fwdTransactionId'
     610           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2023976742)))) {
     611           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'");
     612           0 :                 return MsgValueError;
     613             :             }
     614           0 :             if ((!(Read((&(transactionId)), (&(msg__)), (&(iter__)))))) {
     615           0 :                 FatalError("Error deserializing 'uint64_t'");
     616           0 :                 return MsgValueError;
     617             :             }
     618             :             // Sentinel = 'transactionId'
     619           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 3330976378)))) {
     620           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'");
     621           0 :                 return MsgValueError;
     622             :             }
     623           0 :             if ((!(Read((&(aContentSize)), (&(msg__)), (&(iter__)))))) {
     624           0 :                 FatalError("Error deserializing 'WrSize'");
     625           0 :                 return MsgValueError;
     626             :             }
     627             :             // Sentinel = 'aContentSize'
     628           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2717297443)))) {
     629           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'WrSize'");
     630           0 :                 return MsgValueError;
     631             :             }
     632           0 :             if ((!(Read((&(aDL)), (&(msg__)), (&(iter__)))))) {
     633           0 :                 FatalError("Error deserializing 'ByteBuffer'");
     634           0 :                 return MsgValueError;
     635             :             }
     636             :             // Sentinel = 'aDL'
     637           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2732041978)))) {
     638           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'ByteBuffer'");
     639           0 :                 return MsgValueError;
     640             :             }
     641           0 :             if ((!(Read((&(aDLDesc)), (&(msg__)), (&(iter__)))))) {
     642           0 :                 FatalError("Error deserializing 'WrBuiltDisplayListDescriptor'");
     643           0 :                 return MsgValueError;
     644             :             }
     645             :             // Sentinel = 'aDLDesc'
     646           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 582673605)))) {
     647           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'WrBuiltDisplayListDescriptor'");
     648           0 :                 return MsgValueError;
     649             :             }
     650           0 :             if ((!(Read((&(aScrollData)), (&(msg__)), (&(iter__)))))) {
     651           0 :                 FatalError("Error deserializing 'WebRenderScrollData'");
     652           0 :                 return MsgValueError;
     653             :             }
     654             :             // Sentinel = 'aScrollData'
     655           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 3371626533)))) {
     656           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'WebRenderScrollData'");
     657           0 :                 return MsgValueError;
     658             :             }
     659           0 :             if ((!(Read((&(idNameSpace)), (&(msg__)), (&(iter__)))))) {
     660           0 :                 FatalError("Error deserializing 'uint32_t'");
     661           0 :                 return MsgValueError;
     662             :             }
     663             :             // Sentinel = 'idNameSpace'
     664           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 42927491)))) {
     665           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'uint32_t'");
     666           0 :                 return MsgValueError;
     667             :             }
     668           0 :             (msg__).EndRead(iter__, (msg__).type());
     669           0 :             PWebRenderBridge::Transition(PWebRenderBridge::Msg_DPEnd__ID, (&(mState)));
     670           0 :             if ((!(RecvDPEnd(mozilla::Move(aSize), mozilla::Move(commands), mozilla::Move(toDestroy), mozilla::Move(fwdTransactionId), mozilla::Move(transactionId), mozilla::Move(aContentSize), mozilla::Move(aDL), mozilla::Move(aDLDesc), mozilla::Move(aScrollData), mozilla::Move(idNameSpace))))) {
     671           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
     672             :                 // Error handled in mozilla::ipc::IPCResult
     673           0 :                 return MsgProcessingError;
     674             :             }
     675             : 
     676           0 :             return MsgProcessed;
     677             :         }
     678             :     case PWebRenderBridge::Msg_ParentCommands__ID:
     679             :         {
     680           0 :             if (mozilla::ipc::LoggingEnabledFor("PWebRenderBridgeParent")) {
     681           0 :                 mozilla::ipc::LogMessageForProtocol("PWebRenderBridgeParent", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
     682             :             }
     683           0 :             AUTO_PROFILER_LABEL("PWebRenderBridge::Msg_ParentCommands", OTHER);
     684             : 
     685           0 :             PickleIterator iter__(msg__);
     686           0 :             nsTArray<WebRenderParentCommand> commands;
     687             : 
     688           0 :             if ((!(Read((&(commands)), (&(msg__)), (&(iter__)))))) {
     689           0 :                 FatalError("Error deserializing 'nsTArray'");
     690           0 :                 return MsgValueError;
     691             :             }
     692             :             // Sentinel = 'commands'
     693           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 766311650)))) {
     694           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'nsTArray'");
     695           0 :                 return MsgValueError;
     696             :             }
     697           0 :             (msg__).EndRead(iter__, (msg__).type());
     698           0 :             PWebRenderBridge::Transition(PWebRenderBridge::Msg_ParentCommands__ID, (&(mState)));
     699           0 :             if ((!(RecvParentCommands(mozilla::Move(commands))))) {
     700           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
     701             :                 // Error handled in mozilla::ipc::IPCResult
     702           0 :                 return MsgProcessingError;
     703             :             }
     704             : 
     705           0 :             return MsgProcessed;
     706             :         }
     707             :     case PWebRenderBridge::Msg_AddPipelineIdForAsyncCompositable__ID:
     708             :         {
     709           0 :             if (mozilla::ipc::LoggingEnabledFor("PWebRenderBridgeParent")) {
     710           0 :                 mozilla::ipc::LogMessageForProtocol("PWebRenderBridgeParent", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
     711             :             }
     712           0 :             AUTO_PROFILER_LABEL("PWebRenderBridge::Msg_AddPipelineIdForAsyncCompositable", OTHER);
     713             : 
     714           0 :             PickleIterator iter__(msg__);
     715             :             PipelineId aImageId;
     716           0 :             CompositableHandle aHandle;
     717             : 
     718           0 :             if ((!(Read((&(aImageId)), (&(msg__)), (&(iter__)))))) {
     719           0 :                 FatalError("Error deserializing 'PipelineId'");
     720           0 :                 return MsgValueError;
     721             :             }
     722             :             // Sentinel = 'aImageId'
     723           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 1602376255)))) {
     724           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'PipelineId'");
     725           0 :                 return MsgValueError;
     726             :             }
     727           0 :             if ((!(Read((&(aHandle)), (&(msg__)), (&(iter__)))))) {
     728           0 :                 FatalError("Error deserializing 'CompositableHandle'");
     729           0 :                 return MsgValueError;
     730             :             }
     731             :             // Sentinel = 'aHandle'
     732           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2892339440)))) {
     733           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'CompositableHandle'");
     734           0 :                 return MsgValueError;
     735             :             }
     736           0 :             (msg__).EndRead(iter__, (msg__).type());
     737           0 :             PWebRenderBridge::Transition(PWebRenderBridge::Msg_AddPipelineIdForAsyncCompositable__ID, (&(mState)));
     738           0 :             if ((!(RecvAddPipelineIdForAsyncCompositable(mozilla::Move(aImageId), mozilla::Move(aHandle))))) {
     739           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
     740             :                 // Error handled in mozilla::ipc::IPCResult
     741           0 :                 return MsgProcessingError;
     742             :             }
     743             : 
     744           0 :             return MsgProcessed;
     745             :         }
     746             :     case PWebRenderBridge::Msg_RemovePipelineIdForAsyncCompositable__ID:
     747             :         {
     748           0 :             if (mozilla::ipc::LoggingEnabledFor("PWebRenderBridgeParent")) {
     749           0 :                 mozilla::ipc::LogMessageForProtocol("PWebRenderBridgeParent", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
     750             :             }
     751           0 :             AUTO_PROFILER_LABEL("PWebRenderBridge::Msg_RemovePipelineIdForAsyncCompositable", OTHER);
     752             : 
     753           0 :             PickleIterator iter__(msg__);
     754             :             PipelineId aPipelineId;
     755             : 
     756           0 :             if ((!(Read((&(aPipelineId)), (&(msg__)), (&(iter__)))))) {
     757           0 :                 FatalError("Error deserializing 'PipelineId'");
     758           0 :                 return MsgValueError;
     759             :             }
     760             :             // Sentinel = 'aPipelineId'
     761           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 3599776611)))) {
     762           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'PipelineId'");
     763           0 :                 return MsgValueError;
     764             :             }
     765           0 :             (msg__).EndRead(iter__, (msg__).type());
     766           0 :             PWebRenderBridge::Transition(PWebRenderBridge::Msg_RemovePipelineIdForAsyncCompositable__ID, (&(mState)));
     767           0 :             if ((!(RecvRemovePipelineIdForAsyncCompositable(mozilla::Move(aPipelineId))))) {
     768           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
     769             :                 // Error handled in mozilla::ipc::IPCResult
     770           0 :                 return MsgProcessingError;
     771             :             }
     772             : 
     773           0 :             return MsgProcessed;
     774             :         }
     775             :     case PWebRenderBridge::Msg_AddExternalImageIdForCompositable__ID:
     776             :         {
     777           0 :             if (mozilla::ipc::LoggingEnabledFor("PWebRenderBridgeParent")) {
     778           0 :                 mozilla::ipc::LogMessageForProtocol("PWebRenderBridgeParent", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
     779             :             }
     780           0 :             AUTO_PROFILER_LABEL("PWebRenderBridge::Msg_AddExternalImageIdForCompositable", OTHER);
     781             : 
     782           0 :             PickleIterator iter__(msg__);
     783             :             ExternalImageId aImageId;
     784           0 :             CompositableHandle aHandle;
     785             : 
     786           0 :             if ((!(Read((&(aImageId)), (&(msg__)), (&(iter__)))))) {
     787           0 :                 FatalError("Error deserializing 'ExternalImageId'");
     788           0 :                 return MsgValueError;
     789             :             }
     790             :             // Sentinel = 'aImageId'
     791           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 1602376255)))) {
     792           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'ExternalImageId'");
     793           0 :                 return MsgValueError;
     794             :             }
     795           0 :             if ((!(Read((&(aHandle)), (&(msg__)), (&(iter__)))))) {
     796           0 :                 FatalError("Error deserializing 'CompositableHandle'");
     797           0 :                 return MsgValueError;
     798             :             }
     799             :             // Sentinel = 'aHandle'
     800           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2892339440)))) {
     801           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'CompositableHandle'");
     802           0 :                 return MsgValueError;
     803             :             }
     804           0 :             (msg__).EndRead(iter__, (msg__).type());
     805           0 :             PWebRenderBridge::Transition(PWebRenderBridge::Msg_AddExternalImageIdForCompositable__ID, (&(mState)));
     806           0 :             if ((!(RecvAddExternalImageIdForCompositable(mozilla::Move(aImageId), mozilla::Move(aHandle))))) {
     807           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
     808             :                 // Error handled in mozilla::ipc::IPCResult
     809           0 :                 return MsgProcessingError;
     810             :             }
     811             : 
     812           0 :             return MsgProcessed;
     813             :         }
     814             :     case PWebRenderBridge::Msg_RemoveExternalImageId__ID:
     815             :         {
     816           0 :             if (mozilla::ipc::LoggingEnabledFor("PWebRenderBridgeParent")) {
     817           0 :                 mozilla::ipc::LogMessageForProtocol("PWebRenderBridgeParent", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
     818             :             }
     819           0 :             AUTO_PROFILER_LABEL("PWebRenderBridge::Msg_RemoveExternalImageId", OTHER);
     820             : 
     821           0 :             PickleIterator iter__(msg__);
     822             :             ExternalImageId aImageId;
     823             : 
     824           0 :             if ((!(Read((&(aImageId)), (&(msg__)), (&(iter__)))))) {
     825           0 :                 FatalError("Error deserializing 'ExternalImageId'");
     826           0 :                 return MsgValueError;
     827             :             }
     828             :             // Sentinel = 'aImageId'
     829           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 1602376255)))) {
     830           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'ExternalImageId'");
     831           0 :                 return MsgValueError;
     832             :             }
     833           0 :             (msg__).EndRead(iter__, (msg__).type());
     834           0 :             PWebRenderBridge::Transition(PWebRenderBridge::Msg_RemoveExternalImageId__ID, (&(mState)));
     835           0 :             if ((!(RecvRemoveExternalImageId(mozilla::Move(aImageId))))) {
     836           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
     837             :                 // Error handled in mozilla::ipc::IPCResult
     838           0 :                 return MsgProcessingError;
     839             :             }
     840             : 
     841           0 :             return MsgProcessed;
     842             :         }
     843             :     case PWebRenderBridge::Msg_SetLayerObserverEpoch__ID:
     844             :         {
     845           0 :             if (mozilla::ipc::LoggingEnabledFor("PWebRenderBridgeParent")) {
     846           0 :                 mozilla::ipc::LogMessageForProtocol("PWebRenderBridgeParent", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
     847             :             }
     848           0 :             AUTO_PROFILER_LABEL("PWebRenderBridge::Msg_SetLayerObserverEpoch", OTHER);
     849             : 
     850           0 :             PickleIterator iter__(msg__);
     851             :             uint64_t layerObserverEpoch;
     852             : 
     853           0 :             if ((!(Read((&(layerObserverEpoch)), (&(msg__)), (&(iter__)))))) {
     854           0 :                 FatalError("Error deserializing 'uint64_t'");
     855           0 :                 return MsgValueError;
     856             :             }
     857             :             // Sentinel = 'layerObserverEpoch'
     858           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 932884902)))) {
     859           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'");
     860           0 :                 return MsgValueError;
     861             :             }
     862           0 :             (msg__).EndRead(iter__, (msg__).type());
     863           0 :             PWebRenderBridge::Transition(PWebRenderBridge::Msg_SetLayerObserverEpoch__ID, (&(mState)));
     864           0 :             if ((!(RecvSetLayerObserverEpoch(mozilla::Move(layerObserverEpoch))))) {
     865           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
     866             :                 // Error handled in mozilla::ipc::IPCResult
     867           0 :                 return MsgProcessingError;
     868             :             }
     869             : 
     870           0 :             return MsgProcessed;
     871             :         }
     872             :     case PWebRenderBridge::Msg_ClearCachedResources__ID:
     873             :         {
     874           0 :             if (mozilla::ipc::LoggingEnabledFor("PWebRenderBridgeParent")) {
     875           0 :                 mozilla::ipc::LogMessageForProtocol("PWebRenderBridgeParent", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
     876             :             }
     877           0 :             AUTO_PROFILER_LABEL("PWebRenderBridge::Msg_ClearCachedResources", OTHER);
     878             : 
     879           0 :             PWebRenderBridge::Transition(PWebRenderBridge::Msg_ClearCachedResources__ID, (&(mState)));
     880           0 :             if ((!(RecvClearCachedResources()))) {
     881           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
     882             :                 // Error handled in mozilla::ipc::IPCResult
     883           0 :                 return MsgProcessingError;
     884             :             }
     885             : 
     886           0 :             return MsgProcessed;
     887             :         }
     888             :     case PWebRenderBridge::Msg_ForceComposite__ID:
     889             :         {
     890           0 :             if (mozilla::ipc::LoggingEnabledFor("PWebRenderBridgeParent")) {
     891           0 :                 mozilla::ipc::LogMessageForProtocol("PWebRenderBridgeParent", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
     892             :             }
     893           0 :             AUTO_PROFILER_LABEL("PWebRenderBridge::Msg_ForceComposite", OTHER);
     894             : 
     895           0 :             PWebRenderBridge::Transition(PWebRenderBridge::Msg_ForceComposite__ID, (&(mState)));
     896           0 :             if ((!(RecvForceComposite()))) {
     897           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
     898             :                 // Error handled in mozilla::ipc::IPCResult
     899           0 :                 return MsgProcessingError;
     900             :             }
     901             : 
     902           0 :             return MsgProcessed;
     903             :         }
     904             :     case PWebRenderBridge::Msg_SetConfirmedTargetAPZC__ID:
     905             :         {
     906           0 :             if (mozilla::ipc::LoggingEnabledFor("PWebRenderBridgeParent")) {
     907           0 :                 mozilla::ipc::LogMessageForProtocol("PWebRenderBridgeParent", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
     908             :             }
     909           0 :             AUTO_PROFILER_LABEL("PWebRenderBridge::Msg_SetConfirmedTargetAPZC", OTHER);
     910             : 
     911           0 :             PickleIterator iter__(msg__);
     912             :             uint64_t aInputBlockId;
     913           0 :             nsTArray<ScrollableLayerGuid> aTargets;
     914             : 
     915           0 :             if ((!(Read((&(aInputBlockId)), (&(msg__)), (&(iter__)))))) {
     916           0 :                 FatalError("Error deserializing 'uint64_t'");
     917           0 :                 return MsgValueError;
     918             :             }
     919             :             // Sentinel = 'aInputBlockId'
     920           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 3003300100)))) {
     921           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'");
     922           0 :                 return MsgValueError;
     923             :             }
     924           0 :             if ((!(Read((&(aTargets)), (&(msg__)), (&(iter__)))))) {
     925           0 :                 FatalError("Error deserializing 'nsTArray'");
     926           0 :                 return MsgValueError;
     927             :             }
     928             :             // Sentinel = 'aTargets'
     929           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 1782943901)))) {
     930           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'nsTArray'");
     931           0 :                 return MsgValueError;
     932             :             }
     933           0 :             (msg__).EndRead(iter__, (msg__).type());
     934           0 :             PWebRenderBridge::Transition(PWebRenderBridge::Msg_SetConfirmedTargetAPZC__ID, (&(mState)));
     935           0 :             if ((!(RecvSetConfirmedTargetAPZC(mozilla::Move(aInputBlockId), mozilla::Move(aTargets))))) {
     936           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
     937             :                 // Error handled in mozilla::ipc::IPCResult
     938           0 :                 return MsgProcessingError;
     939             :             }
     940             : 
     941           0 :             return MsgProcessed;
     942             :         }
     943             :     case PWebRenderBridge::Msg_FlushApzRepaints__ID:
     944             :         {
     945           0 :             if (mozilla::ipc::LoggingEnabledFor("PWebRenderBridgeParent")) {
     946           0 :                 mozilla::ipc::LogMessageForProtocol("PWebRenderBridgeParent", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
     947             :             }
     948           0 :             AUTO_PROFILER_LABEL("PWebRenderBridge::Msg_FlushApzRepaints", OTHER);
     949             : 
     950           0 :             PWebRenderBridge::Transition(PWebRenderBridge::Msg_FlushApzRepaints__ID, (&(mState)));
     951           0 :             if ((!(RecvFlushApzRepaints()))) {
     952           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
     953             :                 // Error handled in mozilla::ipc::IPCResult
     954           0 :                 return MsgProcessingError;
     955             :             }
     956             : 
     957           0 :             return MsgProcessed;
     958             :         }
     959             :     case PWebRenderBridge::Msg_Shutdown__ID:
     960             :         {
     961           0 :             if (mozilla::ipc::LoggingEnabledFor("PWebRenderBridgeParent")) {
     962           0 :                 mozilla::ipc::LogMessageForProtocol("PWebRenderBridgeParent", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
     963             :             }
     964           0 :             AUTO_PROFILER_LABEL("PWebRenderBridge::Msg_Shutdown", OTHER);
     965             : 
     966           0 :             PWebRenderBridge::Transition(PWebRenderBridge::Msg_Shutdown__ID, (&(mState)));
     967           0 :             if ((!(RecvShutdown()))) {
     968           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
     969             :                 // Error handled in mozilla::ipc::IPCResult
     970           0 :                 return MsgProcessingError;
     971             :             }
     972             : 
     973           0 :             return MsgProcessed;
     974             :         }
     975             :     case PWebRenderBridge::Reply___delete____ID:
     976             :         {
     977           0 :             return MsgProcessed;
     978             :         }
     979             :     default:
     980             :         {
     981           0 :             return MsgNotKnown;
     982             :         }
     983             :     }
     984             : }
     985             : 
     986           0 : auto PWebRenderBridgeParent::OnMessageReceived(
     987             :         const Message& msg__,
     988             :         Message*& reply__) -> PWebRenderBridgeParent::Result
     989             : {
     990           0 :     switch ((msg__).type()) {
     991             :     case PWebRenderBridge::Msg_Create__ID:
     992             :         {
     993           0 :             if (mozilla::ipc::LoggingEnabledFor("PWebRenderBridgeParent")) {
     994           0 :                 mozilla::ipc::LogMessageForProtocol("PWebRenderBridgeParent", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
     995             :             }
     996           0 :             AUTO_PROFILER_LABEL("PWebRenderBridge::Msg_Create", OTHER);
     997             : 
     998           0 :             PickleIterator iter__(msg__);
     999           0 :             IntSize aSize;
    1000             : 
    1001           0 :             if ((!(Read((&(aSize)), (&(msg__)), (&(iter__)))))) {
    1002           0 :                 FatalError("Error deserializing 'IntSize'");
    1003           0 :                 return MsgValueError;
    1004             :             }
    1005             :             // Sentinel = 'aSize'
    1006           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2556665555)))) {
    1007           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'IntSize'");
    1008           0 :                 return MsgValueError;
    1009             :             }
    1010           0 :             (msg__).EndRead(iter__, (msg__).type());
    1011           0 :             PWebRenderBridge::Transition(PWebRenderBridge::Msg_Create__ID, (&(mState)));
    1012           0 :             int32_t id__ = Id();
    1013           0 :             if ((!(RecvCreate(mozilla::Move(aSize))))) {
    1014           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    1015             :                 // Error handled in mozilla::ipc::IPCResult
    1016           0 :                 return MsgProcessingError;
    1017             :             }
    1018             : 
    1019           0 :             reply__ = PWebRenderBridge::Reply_Create(id__);
    1020             : 
    1021           0 :             (reply__)->set_sync();
    1022           0 :             (reply__)->set_reply();
    1023             : 
    1024           0 :             if (mozilla::ipc::LoggingEnabledFor("PWebRenderBridgeParent")) {
    1025           0 :                 mozilla::ipc::LogMessageForProtocol("PWebRenderBridgeParent", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending);
    1026             :             }
    1027           0 :             return MsgProcessed;
    1028             :         }
    1029             :     case PWebRenderBridge::Msg_DPSyncEnd__ID:
    1030             :         {
    1031           0 :             if (mozilla::ipc::LoggingEnabledFor("PWebRenderBridgeParent")) {
    1032           0 :                 mozilla::ipc::LogMessageForProtocol("PWebRenderBridgeParent", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    1033             :             }
    1034           0 :             AUTO_PROFILER_LABEL("PWebRenderBridge::Msg_DPSyncEnd", OTHER);
    1035             : 
    1036           0 :             PickleIterator iter__(msg__);
    1037           0 :             IntSize aSize;
    1038           0 :             nsTArray<WebRenderParentCommand> commands;
    1039           0 :             nsTArray<OpDestroy> toDestroy;
    1040             :             uint64_t fwdTransactionId;
    1041             :             uint64_t transactionId;
    1042             :             WrSize aContentSize;
    1043           0 :             ByteBuffer aDL;
    1044             :             WrBuiltDisplayListDescriptor aDLDesc;
    1045           0 :             WebRenderScrollData aScrollData;
    1046             :             uint32_t idNameSpace;
    1047             : 
    1048           0 :             if ((!(Read((&(aSize)), (&(msg__)), (&(iter__)))))) {
    1049           0 :                 FatalError("Error deserializing 'IntSize'");
    1050           0 :                 return MsgValueError;
    1051             :             }
    1052             :             // Sentinel = 'aSize'
    1053           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2556665555)))) {
    1054           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'IntSize'");
    1055           0 :                 return MsgValueError;
    1056             :             }
    1057           0 :             if ((!(Read((&(commands)), (&(msg__)), (&(iter__)))))) {
    1058           0 :                 FatalError("Error deserializing 'nsTArray'");
    1059           0 :                 return MsgValueError;
    1060             :             }
    1061             :             // Sentinel = 'commands'
    1062           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 766311650)))) {
    1063           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'nsTArray'");
    1064           0 :                 return MsgValueError;
    1065             :             }
    1066           0 :             if ((!(Read((&(toDestroy)), (&(msg__)), (&(iter__)))))) {
    1067           0 :                 FatalError("Error deserializing 'nsTArray'");
    1068           0 :                 return MsgValueError;
    1069             :             }
    1070             :             // Sentinel = 'toDestroy'
    1071           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 4183172130)))) {
    1072           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'nsTArray'");
    1073           0 :                 return MsgValueError;
    1074             :             }
    1075           0 :             if ((!(Read((&(fwdTransactionId)), (&(msg__)), (&(iter__)))))) {
    1076           0 :                 FatalError("Error deserializing 'uint64_t'");
    1077           0 :                 return MsgValueError;
    1078             :             }
    1079             :             // Sentinel = 'fwdTransactionId'
    1080           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2023976742)))) {
    1081           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'");
    1082           0 :                 return MsgValueError;
    1083             :             }
    1084           0 :             if ((!(Read((&(transactionId)), (&(msg__)), (&(iter__)))))) {
    1085           0 :                 FatalError("Error deserializing 'uint64_t'");
    1086           0 :                 return MsgValueError;
    1087             :             }
    1088             :             // Sentinel = 'transactionId'
    1089           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 3330976378)))) {
    1090           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'");
    1091           0 :                 return MsgValueError;
    1092             :             }
    1093           0 :             if ((!(Read((&(aContentSize)), (&(msg__)), (&(iter__)))))) {
    1094           0 :                 FatalError("Error deserializing 'WrSize'");
    1095           0 :                 return MsgValueError;
    1096             :             }
    1097             :             // Sentinel = 'aContentSize'
    1098           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2717297443)))) {
    1099           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'WrSize'");
    1100           0 :                 return MsgValueError;
    1101             :             }
    1102           0 :             if ((!(Read((&(aDL)), (&(msg__)), (&(iter__)))))) {
    1103           0 :                 FatalError("Error deserializing 'ByteBuffer'");
    1104           0 :                 return MsgValueError;
    1105             :             }
    1106             :             // Sentinel = 'aDL'
    1107           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2732041978)))) {
    1108           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'ByteBuffer'");
    1109           0 :                 return MsgValueError;
    1110             :             }
    1111           0 :             if ((!(Read((&(aDLDesc)), (&(msg__)), (&(iter__)))))) {
    1112           0 :                 FatalError("Error deserializing 'WrBuiltDisplayListDescriptor'");
    1113           0 :                 return MsgValueError;
    1114             :             }
    1115             :             // Sentinel = 'aDLDesc'
    1116           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 582673605)))) {
    1117           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'WrBuiltDisplayListDescriptor'");
    1118           0 :                 return MsgValueError;
    1119             :             }
    1120           0 :             if ((!(Read((&(aScrollData)), (&(msg__)), (&(iter__)))))) {
    1121           0 :                 FatalError("Error deserializing 'WebRenderScrollData'");
    1122           0 :                 return MsgValueError;
    1123             :             }
    1124             :             // Sentinel = 'aScrollData'
    1125           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 3371626533)))) {
    1126           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'WebRenderScrollData'");
    1127           0 :                 return MsgValueError;
    1128             :             }
    1129           0 :             if ((!(Read((&(idNameSpace)), (&(msg__)), (&(iter__)))))) {
    1130           0 :                 FatalError("Error deserializing 'uint32_t'");
    1131           0 :                 return MsgValueError;
    1132             :             }
    1133             :             // Sentinel = 'idNameSpace'
    1134           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 42927491)))) {
    1135           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'uint32_t'");
    1136           0 :                 return MsgValueError;
    1137             :             }
    1138           0 :             (msg__).EndRead(iter__, (msg__).type());
    1139           0 :             PWebRenderBridge::Transition(PWebRenderBridge::Msg_DPSyncEnd__ID, (&(mState)));
    1140           0 :             int32_t id__ = Id();
    1141           0 :             if ((!(RecvDPSyncEnd(mozilla::Move(aSize), mozilla::Move(commands), mozilla::Move(toDestroy), mozilla::Move(fwdTransactionId), mozilla::Move(transactionId), mozilla::Move(aContentSize), mozilla::Move(aDL), mozilla::Move(aDLDesc), mozilla::Move(aScrollData), mozilla::Move(idNameSpace))))) {
    1142           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    1143             :                 // Error handled in mozilla::ipc::IPCResult
    1144           0 :                 return MsgProcessingError;
    1145             :             }
    1146             : 
    1147           0 :             reply__ = PWebRenderBridge::Reply_DPSyncEnd(id__);
    1148             : 
    1149           0 :             (reply__)->set_sync();
    1150           0 :             (reply__)->set_reply();
    1151             : 
    1152           0 :             if (mozilla::ipc::LoggingEnabledFor("PWebRenderBridgeParent")) {
    1153           0 :                 mozilla::ipc::LogMessageForProtocol("PWebRenderBridgeParent", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending);
    1154             :             }
    1155           0 :             return MsgProcessed;
    1156             :         }
    1157             :     case PWebRenderBridge::Msg_DPGetSnapshot__ID:
    1158             :         {
    1159           0 :             if (mozilla::ipc::LoggingEnabledFor("PWebRenderBridgeParent")) {
    1160           0 :                 mozilla::ipc::LogMessageForProtocol("PWebRenderBridgeParent", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    1161             :             }
    1162           0 :             AUTO_PROFILER_LABEL("PWebRenderBridge::Msg_DPGetSnapshot", OTHER);
    1163             : 
    1164           0 :             PickleIterator iter__(msg__);
    1165             :             PTextureParent* texture;
    1166             : 
    1167           0 :             if ((!(Read((&(texture)), (&(msg__)), (&(iter__)), false)))) {
    1168           0 :                 FatalError("Error deserializing 'PTextureParent'");
    1169           0 :                 return MsgValueError;
    1170             :             }
    1171             :             // Sentinel = 'texture'
    1172           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 3654462510)))) {
    1173           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'PTextureParent'");
    1174           0 :                 return MsgValueError;
    1175             :             }
    1176           0 :             (msg__).EndRead(iter__, (msg__).type());
    1177           0 :             PWebRenderBridge::Transition(PWebRenderBridge::Msg_DPGetSnapshot__ID, (&(mState)));
    1178           0 :             int32_t id__ = Id();
    1179           0 :             if ((!(RecvDPGetSnapshot(mozilla::Move(texture))))) {
    1180           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    1181             :                 // Error handled in mozilla::ipc::IPCResult
    1182           0 :                 return MsgProcessingError;
    1183             :             }
    1184             : 
    1185           0 :             reply__ = PWebRenderBridge::Reply_DPGetSnapshot(id__);
    1186             : 
    1187           0 :             (reply__)->set_sync();
    1188           0 :             (reply__)->set_reply();
    1189             : 
    1190           0 :             if (mozilla::ipc::LoggingEnabledFor("PWebRenderBridgeParent")) {
    1191           0 :                 mozilla::ipc::LogMessageForProtocol("PWebRenderBridgeParent", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending);
    1192             :             }
    1193           0 :             return MsgProcessed;
    1194             :         }
    1195             :     case PWebRenderBridge::Msg_SetTestSampleTime__ID:
    1196             :         {
    1197           0 :             if (mozilla::ipc::LoggingEnabledFor("PWebRenderBridgeParent")) {
    1198           0 :                 mozilla::ipc::LogMessageForProtocol("PWebRenderBridgeParent", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    1199             :             }
    1200           0 :             AUTO_PROFILER_LABEL("PWebRenderBridge::Msg_SetTestSampleTime", OTHER);
    1201             : 
    1202           0 :             PickleIterator iter__(msg__);
    1203           0 :             TimeStamp sampleTime;
    1204             : 
    1205           0 :             if ((!(Read((&(sampleTime)), (&(msg__)), (&(iter__)))))) {
    1206           0 :                 FatalError("Error deserializing 'TimeStamp'");
    1207           0 :                 return MsgValueError;
    1208             :             }
    1209             :             // Sentinel = 'sampleTime'
    1210           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2958171755)))) {
    1211           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'TimeStamp'");
    1212           0 :                 return MsgValueError;
    1213             :             }
    1214           0 :             (msg__).EndRead(iter__, (msg__).type());
    1215           0 :             PWebRenderBridge::Transition(PWebRenderBridge::Msg_SetTestSampleTime__ID, (&(mState)));
    1216           0 :             int32_t id__ = Id();
    1217           0 :             if ((!(RecvSetTestSampleTime(mozilla::Move(sampleTime))))) {
    1218           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    1219             :                 // Error handled in mozilla::ipc::IPCResult
    1220           0 :                 return MsgProcessingError;
    1221             :             }
    1222             : 
    1223           0 :             reply__ = PWebRenderBridge::Reply_SetTestSampleTime(id__);
    1224             : 
    1225           0 :             (reply__)->set_sync();
    1226           0 :             (reply__)->set_reply();
    1227             : 
    1228           0 :             if (mozilla::ipc::LoggingEnabledFor("PWebRenderBridgeParent")) {
    1229           0 :                 mozilla::ipc::LogMessageForProtocol("PWebRenderBridgeParent", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending);
    1230             :             }
    1231           0 :             return MsgProcessed;
    1232             :         }
    1233             :     case PWebRenderBridge::Msg_LeaveTestMode__ID:
    1234             :         {
    1235           0 :             if (mozilla::ipc::LoggingEnabledFor("PWebRenderBridgeParent")) {
    1236           0 :                 mozilla::ipc::LogMessageForProtocol("PWebRenderBridgeParent", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    1237             :             }
    1238           0 :             AUTO_PROFILER_LABEL("PWebRenderBridge::Msg_LeaveTestMode", OTHER);
    1239             : 
    1240           0 :             PWebRenderBridge::Transition(PWebRenderBridge::Msg_LeaveTestMode__ID, (&(mState)));
    1241           0 :             int32_t id__ = Id();
    1242           0 :             if ((!(RecvLeaveTestMode()))) {
    1243           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    1244             :                 // Error handled in mozilla::ipc::IPCResult
    1245           0 :                 return MsgProcessingError;
    1246             :             }
    1247             : 
    1248           0 :             reply__ = PWebRenderBridge::Reply_LeaveTestMode(id__);
    1249             : 
    1250           0 :             (reply__)->set_sync();
    1251           0 :             (reply__)->set_reply();
    1252             : 
    1253           0 :             if (mozilla::ipc::LoggingEnabledFor("PWebRenderBridgeParent")) {
    1254           0 :                 mozilla::ipc::LogMessageForProtocol("PWebRenderBridgeParent", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending);
    1255             :             }
    1256           0 :             return MsgProcessed;
    1257             :         }
    1258             :     case PWebRenderBridge::Msg_GetAnimationOpacity__ID:
    1259             :         {
    1260           0 :             if (mozilla::ipc::LoggingEnabledFor("PWebRenderBridgeParent")) {
    1261           0 :                 mozilla::ipc::LogMessageForProtocol("PWebRenderBridgeParent", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    1262             :             }
    1263           0 :             AUTO_PROFILER_LABEL("PWebRenderBridge::Msg_GetAnimationOpacity", OTHER);
    1264             : 
    1265           0 :             PickleIterator iter__(msg__);
    1266             :             uint64_t aCompositorAnimationsId;
    1267             : 
    1268           0 :             if ((!(Read((&(aCompositorAnimationsId)), (&(msg__)), (&(iter__)))))) {
    1269           0 :                 FatalError("Error deserializing 'uint64_t'");
    1270           0 :                 return MsgValueError;
    1271             :             }
    1272             :             // Sentinel = 'aCompositorAnimationsId'
    1273           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 3630778879)))) {
    1274           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'");
    1275           0 :                 return MsgValueError;
    1276             :             }
    1277           0 :             (msg__).EndRead(iter__, (msg__).type());
    1278           0 :             PWebRenderBridge::Transition(PWebRenderBridge::Msg_GetAnimationOpacity__ID, (&(mState)));
    1279           0 :             int32_t id__ = Id();
    1280             :             float opacity;
    1281             :             bool hasAnimationOpacity;
    1282           0 :             if ((!(RecvGetAnimationOpacity(mozilla::Move(aCompositorAnimationsId), (&(opacity)), (&(hasAnimationOpacity)))))) {
    1283           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    1284             :                 // Error handled in mozilla::ipc::IPCResult
    1285           0 :                 return MsgProcessingError;
    1286             :             }
    1287             : 
    1288           0 :             reply__ = PWebRenderBridge::Reply_GetAnimationOpacity(id__);
    1289             : 
    1290           0 :             Write(opacity, reply__);
    1291             :             // Sentinel = 'opacity'
    1292           0 :             (reply__)->WriteSentinel(3006582720);
    1293           0 :             Write(hasAnimationOpacity, reply__);
    1294             :             // Sentinel = 'hasAnimationOpacity'
    1295           0 :             (reply__)->WriteSentinel(738927542);
    1296           0 :             (reply__)->set_sync();
    1297           0 :             (reply__)->set_reply();
    1298             : 
    1299           0 :             if (mozilla::ipc::LoggingEnabledFor("PWebRenderBridgeParent")) {
    1300           0 :                 mozilla::ipc::LogMessageForProtocol("PWebRenderBridgeParent", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending);
    1301             :             }
    1302           0 :             return MsgProcessed;
    1303             :         }
    1304             :     case PWebRenderBridge::Msg_GetAnimationTransform__ID:
    1305             :         {
    1306           0 :             if (mozilla::ipc::LoggingEnabledFor("PWebRenderBridgeParent")) {
    1307           0 :                 mozilla::ipc::LogMessageForProtocol("PWebRenderBridgeParent", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    1308             :             }
    1309           0 :             AUTO_PROFILER_LABEL("PWebRenderBridge::Msg_GetAnimationTransform", OTHER);
    1310             : 
    1311           0 :             PickleIterator iter__(msg__);
    1312             :             uint64_t aCompositorAnimationId;
    1313             : 
    1314           0 :             if ((!(Read((&(aCompositorAnimationId)), (&(msg__)), (&(iter__)))))) {
    1315           0 :                 FatalError("Error deserializing 'uint64_t'");
    1316           0 :                 return MsgValueError;
    1317             :             }
    1318             :             // Sentinel = 'aCompositorAnimationId'
    1319           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2017409677)))) {
    1320           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'uint64_t'");
    1321           0 :                 return MsgValueError;
    1322             :             }
    1323           0 :             (msg__).EndRead(iter__, (msg__).type());
    1324           0 :             PWebRenderBridge::Transition(PWebRenderBridge::Msg_GetAnimationTransform__ID, (&(mState)));
    1325           0 :             int32_t id__ = Id();
    1326           0 :             MaybeTransform transform;
    1327           0 :             if ((!(RecvGetAnimationTransform(mozilla::Move(aCompositorAnimationId), (&(transform)))))) {
    1328           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    1329             :                 // Error handled in mozilla::ipc::IPCResult
    1330           0 :                 return MsgProcessingError;
    1331             :             }
    1332             : 
    1333           0 :             reply__ = PWebRenderBridge::Reply_GetAnimationTransform(id__);
    1334             : 
    1335           0 :             Write(transform, reply__);
    1336             :             // Sentinel = 'transform'
    1337           0 :             (reply__)->WriteSentinel(69691181);
    1338           0 :             (reply__)->set_sync();
    1339           0 :             (reply__)->set_reply();
    1340             : 
    1341           0 :             if (mozilla::ipc::LoggingEnabledFor("PWebRenderBridgeParent")) {
    1342           0 :                 mozilla::ipc::LogMessageForProtocol("PWebRenderBridgeParent", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending);
    1343             :             }
    1344           0 :             return MsgProcessed;
    1345             :         }
    1346             :     case PWebRenderBridge::Msg_SetAsyncScrollOffset__ID:
    1347             :         {
    1348           0 :             if (mozilla::ipc::LoggingEnabledFor("PWebRenderBridgeParent")) {
    1349           0 :                 mozilla::ipc::LogMessageForProtocol("PWebRenderBridgeParent", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    1350             :             }
    1351           0 :             AUTO_PROFILER_LABEL("PWebRenderBridge::Msg_SetAsyncScrollOffset", OTHER);
    1352             : 
    1353           0 :             PickleIterator iter__(msg__);
    1354             :             ViewID scrollId;
    1355             :             float x;
    1356             :             float y;
    1357             : 
    1358           0 :             if ((!(Read((&(scrollId)), (&(msg__)), (&(iter__)))))) {
    1359           0 :                 FatalError("Error deserializing 'ViewID'");
    1360           0 :                 return MsgValueError;
    1361             :             }
    1362             :             // Sentinel = 'scrollId'
    1363           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 1396311172)))) {
    1364           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'ViewID'");
    1365           0 :                 return MsgValueError;
    1366             :             }
    1367           0 :             if ((!(Read((&(x)), (&(msg__)), (&(iter__)))))) {
    1368           0 :                 FatalError("Error deserializing 'float'");
    1369           0 :                 return MsgValueError;
    1370             :             }
    1371             :             // Sentinel = 'x'
    1372           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2475144313)))) {
    1373           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'float'");
    1374           0 :                 return MsgValueError;
    1375             :             }
    1376           0 :             if ((!(Read((&(y)), (&(msg__)), (&(iter__)))))) {
    1377           0 :                 FatalError("Error deserializing 'float'");
    1378           0 :                 return MsgValueError;
    1379             :             }
    1380             :             // Sentinel = 'y'
    1381           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 2603144696)))) {
    1382           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'float'");
    1383           0 :                 return MsgValueError;
    1384             :             }
    1385           0 :             (msg__).EndRead(iter__, (msg__).type());
    1386           0 :             PWebRenderBridge::Transition(PWebRenderBridge::Msg_SetAsyncScrollOffset__ID, (&(mState)));
    1387           0 :             int32_t id__ = Id();
    1388           0 :             if ((!(RecvSetAsyncScrollOffset(mozilla::Move(scrollId), mozilla::Move(x), mozilla::Move(y))))) {
    1389           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    1390             :                 // Error handled in mozilla::ipc::IPCResult
    1391           0 :                 return MsgProcessingError;
    1392             :             }
    1393             : 
    1394           0 :             reply__ = PWebRenderBridge::Reply_SetAsyncScrollOffset(id__);
    1395             : 
    1396           0 :             (reply__)->set_sync();
    1397           0 :             (reply__)->set_reply();
    1398             : 
    1399           0 :             if (mozilla::ipc::LoggingEnabledFor("PWebRenderBridgeParent")) {
    1400           0 :                 mozilla::ipc::LogMessageForProtocol("PWebRenderBridgeParent", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending);
    1401             :             }
    1402           0 :             return MsgProcessed;
    1403             :         }
    1404             :     case PWebRenderBridge::Msg_SetAsyncZoom__ID:
    1405             :         {
    1406           0 :             if (mozilla::ipc::LoggingEnabledFor("PWebRenderBridgeParent")) {
    1407           0 :                 mozilla::ipc::LogMessageForProtocol("PWebRenderBridgeParent", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    1408             :             }
    1409           0 :             AUTO_PROFILER_LABEL("PWebRenderBridge::Msg_SetAsyncZoom", OTHER);
    1410             : 
    1411           0 :             PickleIterator iter__(msg__);
    1412             :             ViewID scrollId;
    1413             :             float zoom;
    1414             : 
    1415           0 :             if ((!(Read((&(scrollId)), (&(msg__)), (&(iter__)))))) {
    1416           0 :                 FatalError("Error deserializing 'ViewID'");
    1417           0 :                 return MsgValueError;
    1418             :             }
    1419             :             // Sentinel = 'scrollId'
    1420           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 1396311172)))) {
    1421           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'ViewID'");
    1422           0 :                 return MsgValueError;
    1423             :             }
    1424           0 :             if ((!(Read((&(zoom)), (&(msg__)), (&(iter__)))))) {
    1425           0 :                 FatalError("Error deserializing 'float'");
    1426           0 :                 return MsgValueError;
    1427             :             }
    1428             :             // Sentinel = 'zoom'
    1429           0 :             if ((!(((&(msg__)))->ReadSentinel((&(iter__)), 1680696941)))) {
    1430           0 :                 mozilla::ipc::SentinelReadError("Error deserializing 'float'");
    1431           0 :                 return MsgValueError;
    1432             :             }
    1433           0 :             (msg__).EndRead(iter__, (msg__).type());
    1434           0 :             PWebRenderBridge::Transition(PWebRenderBridge::Msg_SetAsyncZoom__ID, (&(mState)));
    1435           0 :             int32_t id__ = Id();
    1436           0 :             if ((!(RecvSetAsyncZoom(mozilla::Move(scrollId), mozilla::Move(zoom))))) {
    1437           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    1438             :                 // Error handled in mozilla::ipc::IPCResult
    1439           0 :                 return MsgProcessingError;
    1440             :             }
    1441             : 
    1442           0 :             reply__ = PWebRenderBridge::Reply_SetAsyncZoom(id__);
    1443             : 
    1444           0 :             (reply__)->set_sync();
    1445           0 :             (reply__)->set_reply();
    1446             : 
    1447           0 :             if (mozilla::ipc::LoggingEnabledFor("PWebRenderBridgeParent")) {
    1448           0 :                 mozilla::ipc::LogMessageForProtocol("PWebRenderBridgeParent", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending);
    1449             :             }
    1450           0 :             return MsgProcessed;
    1451             :         }
    1452             :     case PWebRenderBridge::Msg_GetAPZTestData__ID:
    1453             :         {
    1454           0 :             if (mozilla::ipc::LoggingEnabledFor("PWebRenderBridgeParent")) {
    1455           0 :                 mozilla::ipc::LogMessageForProtocol("PWebRenderBridgeParent", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    1456             :             }
    1457           0 :             AUTO_PROFILER_LABEL("PWebRenderBridge::Msg_GetAPZTestData", OTHER);
    1458             : 
    1459           0 :             PWebRenderBridge::Transition(PWebRenderBridge::Msg_GetAPZTestData__ID, (&(mState)));
    1460           0 :             int32_t id__ = Id();
    1461           0 :             APZTestData data;
    1462           0 :             if ((!(RecvGetAPZTestData((&(data)))))) {
    1463           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    1464             :                 // Error handled in mozilla::ipc::IPCResult
    1465           0 :                 return MsgProcessingError;
    1466             :             }
    1467             : 
    1468           0 :             reply__ = PWebRenderBridge::Reply_GetAPZTestData(id__);
    1469             : 
    1470           0 :             Write(data, reply__);
    1471             :             // Sentinel = 'data'
    1472           0 :             (reply__)->WriteSentinel(843352540);
    1473           0 :             (reply__)->set_sync();
    1474           0 :             (reply__)->set_reply();
    1475             : 
    1476           0 :             if (mozilla::ipc::LoggingEnabledFor("PWebRenderBridgeParent")) {
    1477           0 :                 mozilla::ipc::LogMessageForProtocol("PWebRenderBridgeParent", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending);
    1478             :             }
    1479           0 :             return MsgProcessed;
    1480             :         }
    1481             :     case PWebRenderBridge::Msg_ShutdownSync__ID:
    1482             :         {
    1483           0 :             if (mozilla::ipc::LoggingEnabledFor("PWebRenderBridgeParent")) {
    1484           0 :                 mozilla::ipc::LogMessageForProtocol("PWebRenderBridgeParent", OtherPid(), "Received ", ((&(msg__)))->type(), mozilla::ipc::MessageDirection::eReceiving);
    1485             :             }
    1486           0 :             AUTO_PROFILER_LABEL("PWebRenderBridge::Msg_ShutdownSync", OTHER);
    1487             : 
    1488           0 :             PWebRenderBridge::Transition(PWebRenderBridge::Msg_ShutdownSync__ID, (&(mState)));
    1489           0 :             int32_t id__ = Id();
    1490           0 :             if ((!(RecvShutdownSync()))) {
    1491           0 :                 mozilla::ipc::ProtocolErrorBreakpoint("Handler returned error code!");
    1492             :                 // Error handled in mozilla::ipc::IPCResult
    1493           0 :                 return MsgProcessingError;
    1494             :             }
    1495             : 
    1496           0 :             reply__ = PWebRenderBridge::Reply_ShutdownSync(id__);
    1497             : 
    1498           0 :             (reply__)->set_sync();
    1499           0 :             (reply__)->set_reply();
    1500             : 
    1501           0 :             if (mozilla::ipc::LoggingEnabledFor("PWebRenderBridgeParent")) {
    1502           0 :                 mozilla::ipc::LogMessageForProtocol("PWebRenderBridgeParent", OtherPid(), "Sending reply ", (reply__)->type(), mozilla::ipc::MessageDirection::eSending);
    1503             :             }
    1504           0 :             return MsgProcessed;
    1505             :         }
    1506             :     default:
    1507             :         {
    1508           0 :             return MsgNotKnown;
    1509             :         }
    1510             :     }
    1511             : }
    1512             : 
    1513           0 : auto PWebRenderBridgeParent::OnCallReceived(
    1514             :         const Message& msg__,
    1515             :         Message*& reply__) -> PWebRenderBridgeParent::Result
    1516             : {
    1517           0 :     MOZ_ASSERT_UNREACHABLE("message protocol not supported");
    1518             :     return MsgNotKnown;
    1519             : }
    1520             : 
    1521           0 : auto PWebRenderBridgeParent::GetProtocolTypeId() -> int32_t
    1522             : {
    1523           0 :     return PWebRenderBridgeMsgStart;
    1524             : }
    1525             : 
    1526           0 : auto PWebRenderBridgeParent::ProtocolName() const -> const char*
    1527             : {
    1528           0 :     return "PWebRenderBridgeParent";
    1529             : }
    1530             : 
    1531           0 : auto PWebRenderBridgeParent::DestroySubtree(ActorDestroyReason why) -> void
    1532             : {
    1533             :     // Unregister from our manager.
    1534           0 :     Unregister(Id());
    1535             : 
    1536             :     // Reject owning pending promises.
    1537           0 :     (GetIPCChannel())->RejectPendingPromisesForActor(this);
    1538             : 
    1539             :     // Finally, destroy "us".
    1540           0 :     ActorDestroy(why);
    1541           0 : }
    1542             : 
    1543           0 : auto PWebRenderBridgeParent::DeallocSubtree() -> void
    1544             : {
    1545           0 : }
    1546             : 
    1547           0 : auto PWebRenderBridgeParent::Write(
    1548             :         const OpPaintTextureRegion& v__,
    1549             :         Message* msg__) -> void
    1550             : {
    1551           0 :     Write((v__).bufferData(), msg__);
    1552             :     // Sentinel = 'bufferData'
    1553           0 :     (msg__)->WriteSentinel(1624783476);
    1554           0 :     Write((v__).updatedRegion(), msg__);
    1555             :     // Sentinel = 'updatedRegion'
    1556           0 :     (msg__)->WriteSentinel(2578696480);
    1557           0 : }
    1558             : 
    1559           0 : auto PWebRenderBridgeParent::Read(
    1560             :         OpPaintTextureRegion* v__,
    1561             :         const Message* msg__,
    1562             :         PickleIterator* iter__) -> bool
    1563             : {
    1564           0 :     if ((!(Read((&((v__)->bufferData())), msg__, iter__)))) {
    1565           0 :         FatalError("Error deserializing 'bufferData' (ThebesBufferData) member of 'OpPaintTextureRegion'");
    1566           0 :         return false;
    1567             :     }
    1568             :     // Sentinel = 'bufferData'
    1569           0 :     if ((!((msg__)->ReadSentinel(iter__, 1624783476)))) {
    1570           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'bufferData' (ThebesBufferData) member of 'OpPaintTextureRegion'");
    1571           0 :         return false;
    1572             :     }
    1573           0 :     if ((!(Read((&((v__)->updatedRegion())), msg__, iter__)))) {
    1574           0 :         FatalError("Error deserializing 'updatedRegion' (nsIntRegion) member of 'OpPaintTextureRegion'");
    1575           0 :         return false;
    1576             :     }
    1577             :     // Sentinel = 'updatedRegion'
    1578           0 :     if ((!((msg__)->ReadSentinel(iter__, 2578696480)))) {
    1579           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'updatedRegion' (nsIntRegion) member of 'OpPaintTextureRegion'");
    1580           0 :         return false;
    1581             :     }
    1582           0 :     return true;
    1583             : }
    1584             : 
    1585           0 : auto PWebRenderBridgeParent::Write(
    1586             :         const Animation& v__,
    1587             :         Message* msg__) -> void
    1588             : {
    1589           0 :     Write((v__).originTime(), msg__);
    1590             :     // Sentinel = 'originTime'
    1591           0 :     (msg__)->WriteSentinel(1478411195);
    1592           0 :     Write((v__).startTime(), msg__);
    1593             :     // Sentinel = 'startTime'
    1594           0 :     (msg__)->WriteSentinel(2351600086);
    1595           0 :     Write((v__).delay(), msg__);
    1596             :     // Sentinel = 'delay'
    1597           0 :     (msg__)->WriteSentinel(1275664816);
    1598           0 :     Write((v__).endDelay(), msg__);
    1599             :     // Sentinel = 'endDelay'
    1600           0 :     (msg__)->WriteSentinel(3866533328);
    1601           0 :     Write((v__).holdTime(), msg__);
    1602             :     // Sentinel = 'holdTime'
    1603           0 :     (msg__)->WriteSentinel(1802005980);
    1604           0 :     Write((v__).duration(), msg__);
    1605             :     // Sentinel = 'duration'
    1606           0 :     (msg__)->WriteSentinel(1938599576);
    1607           0 :     Write((v__).segments(), msg__);
    1608             :     // Sentinel = 'segments'
    1609           0 :     (msg__)->WriteSentinel(2098446378);
    1610           0 :     Write((v__).iterations(), msg__);
    1611             :     // Sentinel = 'iterations'
    1612           0 :     (msg__)->WriteSentinel(3248319766);
    1613           0 :     Write((v__).iterationStart(), msg__);
    1614             :     // Sentinel = 'iterationStart'
    1615           0 :     (msg__)->WriteSentinel(335770313);
    1616           0 :     Write((v__).direction(), msg__);
    1617             :     // Sentinel = 'direction'
    1618           0 :     (msg__)->WriteSentinel(1283484994);
    1619           0 :     Write((v__).fillMode(), msg__);
    1620             :     // Sentinel = 'fillMode'
    1621           0 :     (msg__)->WriteSentinel(319252690);
    1622           0 :     Write((v__).property(), msg__);
    1623             :     // Sentinel = 'property'
    1624           0 :     (msg__)->WriteSentinel(1482237307);
    1625           0 :     Write((v__).data(), msg__);
    1626             :     // Sentinel = 'data'
    1627           0 :     (msg__)->WriteSentinel(843352540);
    1628           0 :     Write((v__).playbackRate(), msg__);
    1629             :     // Sentinel = 'playbackRate'
    1630           0 :     (msg__)->WriteSentinel(1664611053);
    1631           0 :     Write((v__).easingFunction(), msg__);
    1632             :     // Sentinel = 'easingFunction'
    1633           0 :     (msg__)->WriteSentinel(2740589013);
    1634           0 :     Write((v__).iterationComposite(), msg__);
    1635             :     // Sentinel = 'iterationComposite'
    1636           0 :     (msg__)->WriteSentinel(3806204580);
    1637           0 :     Write((v__).isNotPlaying(), msg__);
    1638             :     // Sentinel = 'isNotPlaying'
    1639           0 :     (msg__)->WriteSentinel(3910541071);
    1640           0 :     Write((v__).baseStyle(), msg__);
    1641             :     // Sentinel = 'baseStyle'
    1642           0 :     (msg__)->WriteSentinel(2514776219);
    1643           0 : }
    1644             : 
    1645           0 : auto PWebRenderBridgeParent::Read(
    1646             :         Animation* v__,
    1647             :         const Message* msg__,
    1648             :         PickleIterator* iter__) -> bool
    1649             : {
    1650           0 :     if ((!(Read((&((v__)->originTime())), msg__, iter__)))) {
    1651           0 :         FatalError("Error deserializing 'originTime' (TimeStamp) member of 'Animation'");
    1652           0 :         return false;
    1653             :     }
    1654             :     // Sentinel = 'originTime'
    1655           0 :     if ((!((msg__)->ReadSentinel(iter__, 1478411195)))) {
    1656           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'originTime' (TimeStamp) member of 'Animation'");
    1657           0 :         return false;
    1658             :     }
    1659           0 :     if ((!(Read((&((v__)->startTime())), msg__, iter__)))) {
    1660           0 :         FatalError("Error deserializing 'startTime' (MaybeTimeDuration) member of 'Animation'");
    1661           0 :         return false;
    1662             :     }
    1663             :     // Sentinel = 'startTime'
    1664           0 :     if ((!((msg__)->ReadSentinel(iter__, 2351600086)))) {
    1665           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'startTime' (MaybeTimeDuration) member of 'Animation'");
    1666           0 :         return false;
    1667             :     }
    1668           0 :     if ((!(Read((&((v__)->delay())), msg__, iter__)))) {
    1669           0 :         FatalError("Error deserializing 'delay' (TimeDuration) member of 'Animation'");
    1670           0 :         return false;
    1671             :     }
    1672             :     // Sentinel = 'delay'
    1673           0 :     if ((!((msg__)->ReadSentinel(iter__, 1275664816)))) {
    1674           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'delay' (TimeDuration) member of 'Animation'");
    1675           0 :         return false;
    1676             :     }
    1677           0 :     if ((!(Read((&((v__)->endDelay())), msg__, iter__)))) {
    1678           0 :         FatalError("Error deserializing 'endDelay' (TimeDuration) member of 'Animation'");
    1679           0 :         return false;
    1680             :     }
    1681             :     // Sentinel = 'endDelay'
    1682           0 :     if ((!((msg__)->ReadSentinel(iter__, 3866533328)))) {
    1683           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'endDelay' (TimeDuration) member of 'Animation'");
    1684           0 :         return false;
    1685             :     }
    1686           0 :     if ((!(Read((&((v__)->holdTime())), msg__, iter__)))) {
    1687           0 :         FatalError("Error deserializing 'holdTime' (TimeDuration) member of 'Animation'");
    1688           0 :         return false;
    1689             :     }
    1690             :     // Sentinel = 'holdTime'
    1691           0 :     if ((!((msg__)->ReadSentinel(iter__, 1802005980)))) {
    1692           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'holdTime' (TimeDuration) member of 'Animation'");
    1693           0 :         return false;
    1694             :     }
    1695           0 :     if ((!(Read((&((v__)->duration())), msg__, iter__)))) {
    1696           0 :         FatalError("Error deserializing 'duration' (TimeDuration) member of 'Animation'");
    1697           0 :         return false;
    1698             :     }
    1699             :     // Sentinel = 'duration'
    1700           0 :     if ((!((msg__)->ReadSentinel(iter__, 1938599576)))) {
    1701           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'duration' (TimeDuration) member of 'Animation'");
    1702           0 :         return false;
    1703             :     }
    1704           0 :     if ((!(Read((&((v__)->segments())), msg__, iter__)))) {
    1705           0 :         FatalError("Error deserializing 'segments' (AnimationSegment[]) member of 'Animation'");
    1706           0 :         return false;
    1707             :     }
    1708             :     // Sentinel = 'segments'
    1709           0 :     if ((!((msg__)->ReadSentinel(iter__, 2098446378)))) {
    1710           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'segments' (AnimationSegment[]) member of 'Animation'");
    1711           0 :         return false;
    1712             :     }
    1713           0 :     if ((!(Read((&((v__)->iterations())), msg__, iter__)))) {
    1714           0 :         FatalError("Error deserializing 'iterations' (float) member of 'Animation'");
    1715           0 :         return false;
    1716             :     }
    1717             :     // Sentinel = 'iterations'
    1718           0 :     if ((!((msg__)->ReadSentinel(iter__, 3248319766)))) {
    1719           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'iterations' (float) member of 'Animation'");
    1720           0 :         return false;
    1721             :     }
    1722           0 :     if ((!(Read((&((v__)->iterationStart())), msg__, iter__)))) {
    1723           0 :         FatalError("Error deserializing 'iterationStart' (float) member of 'Animation'");
    1724           0 :         return false;
    1725             :     }
    1726             :     // Sentinel = 'iterationStart'
    1727           0 :     if ((!((msg__)->ReadSentinel(iter__, 335770313)))) {
    1728           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'iterationStart' (float) member of 'Animation'");
    1729           0 :         return false;
    1730             :     }
    1731           0 :     if ((!(Read((&((v__)->direction())), msg__, iter__)))) {
    1732           0 :         FatalError("Error deserializing 'direction' (uint8_t) member of 'Animation'");
    1733           0 :         return false;
    1734             :     }
    1735             :     // Sentinel = 'direction'
    1736           0 :     if ((!((msg__)->ReadSentinel(iter__, 1283484994)))) {
    1737           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'direction' (uint8_t) member of 'Animation'");
    1738           0 :         return false;
    1739             :     }
    1740           0 :     if ((!(Read((&((v__)->fillMode())), msg__, iter__)))) {
    1741           0 :         FatalError("Error deserializing 'fillMode' (uint8_t) member of 'Animation'");
    1742           0 :         return false;
    1743             :     }
    1744             :     // Sentinel = 'fillMode'
    1745           0 :     if ((!((msg__)->ReadSentinel(iter__, 319252690)))) {
    1746           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'fillMode' (uint8_t) member of 'Animation'");
    1747           0 :         return false;
    1748             :     }
    1749           0 :     if ((!(Read((&((v__)->property())), msg__, iter__)))) {
    1750           0 :         FatalError("Error deserializing 'property' (nsCSSPropertyID) member of 'Animation'");
    1751           0 :         return false;
    1752             :     }
    1753             :     // Sentinel = 'property'
    1754           0 :     if ((!((msg__)->ReadSentinel(iter__, 1482237307)))) {
    1755           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'property' (nsCSSPropertyID) member of 'Animation'");
    1756           0 :         return false;
    1757             :     }
    1758           0 :     if ((!(Read((&((v__)->data())), msg__, iter__)))) {
    1759           0 :         FatalError("Error deserializing 'data' (AnimationData) member of 'Animation'");
    1760           0 :         return false;
    1761             :     }
    1762             :     // Sentinel = 'data'
    1763           0 :     if ((!((msg__)->ReadSentinel(iter__, 843352540)))) {
    1764           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'data' (AnimationData) member of 'Animation'");
    1765           0 :         return false;
    1766             :     }
    1767           0 :     if ((!(Read((&((v__)->playbackRate())), msg__, iter__)))) {
    1768           0 :         FatalError("Error deserializing 'playbackRate' (float) member of 'Animation'");
    1769           0 :         return false;
    1770             :     }
    1771             :     // Sentinel = 'playbackRate'
    1772           0 :     if ((!((msg__)->ReadSentinel(iter__, 1664611053)))) {
    1773           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'playbackRate' (float) member of 'Animation'");
    1774           0 :         return false;
    1775             :     }
    1776           0 :     if ((!(Read((&((v__)->easingFunction())), msg__, iter__)))) {
    1777           0 :         FatalError("Error deserializing 'easingFunction' (TimingFunction) member of 'Animation'");
    1778           0 :         return false;
    1779             :     }
    1780             :     // Sentinel = 'easingFunction'
    1781           0 :     if ((!((msg__)->ReadSentinel(iter__, 2740589013)))) {
    1782           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'easingFunction' (TimingFunction) member of 'Animation'");
    1783           0 :         return false;
    1784             :     }
    1785           0 :     if ((!(Read((&((v__)->iterationComposite())), msg__, iter__)))) {
    1786           0 :         FatalError("Error deserializing 'iterationComposite' (uint8_t) member of 'Animation'");
    1787           0 :         return false;
    1788             :     }
    1789             :     // Sentinel = 'iterationComposite'
    1790           0 :     if ((!((msg__)->ReadSentinel(iter__, 3806204580)))) {
    1791           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'iterationComposite' (uint8_t) member of 'Animation'");
    1792           0 :         return false;
    1793             :     }
    1794           0 :     if ((!(Read((&((v__)->isNotPlaying())), msg__, iter__)))) {
    1795           0 :         FatalError("Error deserializing 'isNotPlaying' (bool) member of 'Animation'");
    1796           0 :         return false;
    1797             :     }
    1798             :     // Sentinel = 'isNotPlaying'
    1799           0 :     if ((!((msg__)->ReadSentinel(iter__, 3910541071)))) {
    1800           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'isNotPlaying' (bool) member of 'Animation'");
    1801           0 :         return false;
    1802             :     }
    1803           0 :     if ((!(Read((&((v__)->baseStyle())), msg__, iter__)))) {
    1804           0 :         FatalError("Error deserializing 'baseStyle' (Animatable) member of 'Animation'");
    1805           0 :         return false;
    1806             :     }
    1807             :     // Sentinel = 'baseStyle'
    1808           0 :     if ((!((msg__)->ReadSentinel(iter__, 2514776219)))) {
    1809           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'baseStyle' (Animatable) member of 'Animation'");
    1810           0 :         return false;
    1811             :     }
    1812           0 :     return true;
    1813             : }
    1814             : 
    1815           0 : auto PWebRenderBridgeParent::Write(
    1816             :         const nsTArray<ReadLockInit>& v__,
    1817             :         Message* msg__) -> void
    1818             : {
    1819           0 :     uint32_t length = (v__).Length();
    1820           0 :     Write(length, msg__);
    1821             :     // Sentinel = ('length', 'ReadLockInit[]')
    1822           0 :     (msg__)->WriteSentinel(3010682310);
    1823             : 
    1824           0 :     for (auto& elem : v__) {
    1825           0 :         Write(elem, msg__);
    1826             :         // Sentinel = 'ReadLockInit[]'
    1827           0 :         (msg__)->WriteSentinel(1659602585);
    1828             :     }
    1829           0 : }
    1830             : 
    1831           0 : auto PWebRenderBridgeParent::Read(
    1832             :         nsTArray<ReadLockInit>* v__,
    1833             :         const Message* msg__,
    1834             :         PickleIterator* iter__) -> bool
    1835             : {
    1836           0 :     nsTArray<ReadLockInit> fa;
    1837             :     uint32_t length;
    1838           0 :     if ((!(Read((&(length)), msg__, iter__)))) {
    1839           0 :         mozilla::ipc::ArrayLengthReadError("ReadLockInit[]");
    1840           0 :         return false;
    1841             :     }
    1842             :     // Sentinel = ('length', 'ReadLockInit[]')
    1843           0 :     if ((!((msg__)->ReadSentinel(iter__, 3010682310)))) {
    1844           0 :         mozilla::ipc::SentinelReadError("ReadLockInit[]");
    1845           0 :         return false;
    1846             :     }
    1847             : 
    1848           0 :     ReadLockInit* elems = (fa).AppendElements(length);
    1849           0 :     for (uint32_t i = 0; (i) < (length); (++(i))) {
    1850           0 :         if ((!(Read((&(elems[i])), msg__, iter__)))) {
    1851           0 :             FatalError("Error deserializing 'ReadLockInit[i]'");
    1852           0 :             return false;
    1853             :         }
    1854             :         // Sentinel = 'ReadLockInit[]'
    1855           0 :         if ((!((msg__)->ReadSentinel(iter__, 1659602585)))) {
    1856           0 :             mozilla::ipc::SentinelReadError("Error deserializing 'ReadLockInit[i]'");
    1857           0 :             return false;
    1858             :         }
    1859             :     }
    1860           0 :     (v__)->SwapElements(fa);
    1861           0 :     return true;
    1862             : }
    1863             : 
    1864           0 : auto PWebRenderBridgeParent::Write(
    1865             :         const MaybeTimeDuration& v__,
    1866             :         Message* msg__) -> void
    1867             : {
    1868             :     typedef MaybeTimeDuration type__;
    1869           0 :     Write(int((v__).type()), msg__);
    1870             :     // Sentinel = 'MaybeTimeDuration'
    1871           0 :     (msg__)->WriteSentinel(2974565326);
    1872             : 
    1873           0 :     switch ((v__).type()) {
    1874             :     case type__::Tnull_t:
    1875             :         {
    1876           0 :             Write((v__).get_null_t(), msg__);
    1877             :             // Sentinel = 'Tnull_t'
    1878           0 :             (msg__)->WriteSentinel(3731137201);
    1879           0 :             return;
    1880             :         }
    1881             :     case type__::TTimeDuration:
    1882             :         {
    1883           0 :             Write((v__).get_TimeDuration(), msg__);
    1884             :             // Sentinel = 'TTimeDuration'
    1885           0 :             (msg__)->WriteSentinel(1576139930);
    1886           0 :             return;
    1887             :         }
    1888             :     default:
    1889             :         {
    1890           0 :             FatalError("unknown union type");
    1891           0 :             return;
    1892             :         }
    1893             :     }
    1894             : }
    1895             : 
    1896           0 : auto PWebRenderBridgeParent::Read(
    1897             :         MaybeTimeDuration* v__,
    1898             :         const Message* msg__,
    1899             :         PickleIterator* iter__) -> bool
    1900             : {
    1901             :     typedef MaybeTimeDuration type__;
    1902             :     int type;
    1903           0 :     if ((!(Read((&(type)), msg__, iter__)))) {
    1904           0 :         mozilla::ipc::UnionTypeReadError("MaybeTimeDuration");
    1905           0 :         return false;
    1906             :     }
    1907             :     // Sentinel = 'MaybeTimeDuration'
    1908           0 :     if ((!((msg__)->ReadSentinel(iter__, 2974565326)))) {
    1909           0 :         mozilla::ipc::SentinelReadError("MaybeTimeDuration");
    1910           0 :         return false;
    1911             :     }
    1912             : 
    1913           0 :     switch (type) {
    1914             :     case type__::Tnull_t:
    1915             :         {
    1916             :             null_t tmp = null_t();
    1917           0 :             (*(v__)) = tmp;
    1918           0 :             if ((!(Read((&((v__)->get_null_t())), msg__, iter__)))) {
    1919           0 :                 FatalError("Error deserializing Union type");
    1920           0 :                 return false;
    1921             :             }
    1922             :             // Sentinel = 'Tnull_t'
    1923           0 :             if ((!((msg__)->ReadSentinel(iter__, 3731137201)))) {
    1924           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    1925           0 :                 return false;
    1926             :             }
    1927           0 :             return true;
    1928             :         }
    1929             :     case type__::TTimeDuration:
    1930             :         {
    1931           0 :             TimeDuration tmp = TimeDuration();
    1932           0 :             (*(v__)) = tmp;
    1933           0 :             if ((!(Read((&((v__)->get_TimeDuration())), msg__, iter__)))) {
    1934           0 :                 FatalError("Error deserializing Union type");
    1935           0 :                 return false;
    1936             :             }
    1937             :             // Sentinel = 'TTimeDuration'
    1938           0 :             if ((!((msg__)->ReadSentinel(iter__, 1576139930)))) {
    1939           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    1940           0 :                 return false;
    1941             :             }
    1942           0 :             return true;
    1943             :         }
    1944             :     default:
    1945             :         {
    1946           0 :             FatalError("unknown union type");
    1947           0 :             return false;
    1948             :         }
    1949             :     }
    1950             : }
    1951             : 
    1952           0 : auto PWebRenderBridgeParent::Write(
    1953             :         const TransformMatrix& v__,
    1954             :         Message* msg__) -> void
    1955             : {
    1956           0 :     Write((v__).value(), msg__);
    1957             :     // Sentinel = 'value'
    1958           0 :     (msg__)->WriteSentinel(3456818542);
    1959           0 : }
    1960             : 
    1961           0 : auto PWebRenderBridgeParent::Read(
    1962             :         TransformMatrix* v__,
    1963             :         const Message* msg__,
    1964             :         PickleIterator* iter__) -> bool
    1965             : {
    1966           0 :     if ((!(Read((&((v__)->value())), msg__, iter__)))) {
    1967           0 :         FatalError("Error deserializing 'value' (Matrix4x4) member of 'TransformMatrix'");
    1968           0 :         return false;
    1969             :     }
    1970             :     // Sentinel = 'value'
    1971           0 :     if ((!((msg__)->ReadSentinel(iter__, 3456818542)))) {
    1972           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'value' (Matrix4x4) member of 'TransformMatrix'");
    1973           0 :         return false;
    1974             :     }
    1975           0 :     return true;
    1976             : }
    1977             : 
    1978           0 : auto PWebRenderBridgeParent::Write(
    1979             :         const CompositorAnimations& v__,
    1980             :         Message* msg__) -> void
    1981             : {
    1982           0 :     Write((v__).animations(), msg__);
    1983             :     // Sentinel = 'animations'
    1984           0 :     (msg__)->WriteSentinel(2502829527);
    1985           0 :     Write((v__).id(), msg__);
    1986             :     // Sentinel = 'id'
    1987           0 :     (msg__)->WriteSentinel(2794505629);
    1988           0 : }
    1989             : 
    1990           0 : auto PWebRenderBridgeParent::Read(
    1991             :         CompositorAnimations* v__,
    1992             :         const Message* msg__,
    1993             :         PickleIterator* iter__) -> bool
    1994             : {
    1995           0 :     if ((!(Read((&((v__)->animations())), msg__, iter__)))) {
    1996           0 :         FatalError("Error deserializing 'animations' (Animation[]) member of 'CompositorAnimations'");
    1997           0 :         return false;
    1998             :     }
    1999             :     // Sentinel = 'animations'
    2000           0 :     if ((!((msg__)->ReadSentinel(iter__, 2502829527)))) {
    2001           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'animations' (Animation[]) member of 'CompositorAnimations'");
    2002           0 :         return false;
    2003             :     }
    2004           0 :     if ((!(Read((&((v__)->id())), msg__, iter__)))) {
    2005           0 :         FatalError("Error deserializing 'id' (uint64_t) member of 'CompositorAnimations'");
    2006           0 :         return false;
    2007             :     }
    2008             :     // Sentinel = 'id'
    2009           0 :     if ((!((msg__)->ReadSentinel(iter__, 2794505629)))) {
    2010           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'id' (uint64_t) member of 'CompositorAnimations'");
    2011           0 :         return false;
    2012             :     }
    2013           0 :     return true;
    2014             : }
    2015             : 
    2016           0 : auto PWebRenderBridgeParent::Write(
    2017             :         const TimingFunction& v__,
    2018             :         Message* msg__) -> void
    2019             : {
    2020             :     typedef TimingFunction type__;
    2021           0 :     Write(int((v__).type()), msg__);
    2022             :     // Sentinel = 'TimingFunction'
    2023           0 :     (msg__)->WriteSentinel(1340109572);
    2024             : 
    2025           0 :     switch ((v__).type()) {
    2026             :     case type__::Tnull_t:
    2027             :         {
    2028           0 :             Write((v__).get_null_t(), msg__);
    2029             :             // Sentinel = 'Tnull_t'
    2030           0 :             (msg__)->WriteSentinel(3731137201);
    2031           0 :             return;
    2032             :         }
    2033             :     case type__::TCubicBezierFunction:
    2034             :         {
    2035           0 :             Write((v__).get_CubicBezierFunction(), msg__);
    2036             :             // Sentinel = 'TCubicBezierFunction'
    2037           0 :             (msg__)->WriteSentinel(258133495);
    2038           0 :             return;
    2039             :         }
    2040             :     case type__::TStepFunction:
    2041             :         {
    2042           0 :             Write((v__).get_StepFunction(), msg__);
    2043             :             // Sentinel = 'TStepFunction'
    2044           0 :             (msg__)->WriteSentinel(2005731339);
    2045           0 :             return;
    2046             :         }
    2047             :     case type__::TFramesFunction:
    2048             :         {
    2049           0 :             Write((v__).get_FramesFunction(), msg__);
    2050             :             // Sentinel = 'TFramesFunction'
    2051           0 :             (msg__)->WriteSentinel(492999321);
    2052           0 :             return;
    2053             :         }
    2054             :     default:
    2055             :         {
    2056           0 :             FatalError("unknown union type");
    2057           0 :             return;
    2058             :         }
    2059             :     }
    2060             : }
    2061             : 
    2062           0 : auto PWebRenderBridgeParent::Read(
    2063             :         TimingFunction* v__,
    2064             :         const Message* msg__,
    2065             :         PickleIterator* iter__) -> bool
    2066             : {
    2067             :     typedef TimingFunction type__;
    2068             :     int type;
    2069           0 :     if ((!(Read((&(type)), msg__, iter__)))) {
    2070           0 :         mozilla::ipc::UnionTypeReadError("TimingFunction");
    2071           0 :         return false;
    2072             :     }
    2073             :     // Sentinel = 'TimingFunction'
    2074           0 :     if ((!((msg__)->ReadSentinel(iter__, 1340109572)))) {
    2075           0 :         mozilla::ipc::SentinelReadError("TimingFunction");
    2076           0 :         return false;
    2077             :     }
    2078             : 
    2079           0 :     switch (type) {
    2080             :     case type__::Tnull_t:
    2081             :         {
    2082             :             null_t tmp = null_t();
    2083           0 :             (*(v__)) = tmp;
    2084           0 :             if ((!(Read((&((v__)->get_null_t())), msg__, iter__)))) {
    2085           0 :                 FatalError("Error deserializing Union type");
    2086           0 :                 return false;
    2087             :             }
    2088             :             // Sentinel = 'Tnull_t'
    2089           0 :             if ((!((msg__)->ReadSentinel(iter__, 3731137201)))) {
    2090           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    2091           0 :                 return false;
    2092             :             }
    2093           0 :             return true;
    2094             :         }
    2095             :     case type__::TCubicBezierFunction:
    2096             :         {
    2097           0 :             CubicBezierFunction tmp = CubicBezierFunction();
    2098           0 :             (*(v__)) = tmp;
    2099           0 :             if ((!(Read((&((v__)->get_CubicBezierFunction())), msg__, iter__)))) {
    2100           0 :                 FatalError("Error deserializing Union type");
    2101           0 :                 return false;
    2102             :             }
    2103             :             // Sentinel = 'TCubicBezierFunction'
    2104           0 :             if ((!((msg__)->ReadSentinel(iter__, 258133495)))) {
    2105           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    2106           0 :                 return false;
    2107             :             }
    2108           0 :             return true;
    2109             :         }
    2110             :     case type__::TStepFunction:
    2111             :         {
    2112           0 :             StepFunction tmp = StepFunction();
    2113           0 :             (*(v__)) = tmp;
    2114           0 :             if ((!(Read((&((v__)->get_StepFunction())), msg__, iter__)))) {
    2115           0 :                 FatalError("Error deserializing Union type");
    2116           0 :                 return false;
    2117             :             }
    2118             :             // Sentinel = 'TStepFunction'
    2119           0 :             if ((!((msg__)->ReadSentinel(iter__, 2005731339)))) {
    2120           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    2121           0 :                 return false;
    2122             :             }
    2123           0 :             return true;
    2124             :         }
    2125             :     case type__::TFramesFunction:
    2126             :         {
    2127           0 :             FramesFunction tmp = FramesFunction();
    2128           0 :             (*(v__)) = tmp;
    2129           0 :             if ((!(Read((&((v__)->get_FramesFunction())), msg__, iter__)))) {
    2130           0 :                 FatalError("Error deserializing Union type");
    2131           0 :                 return false;
    2132             :             }
    2133             :             // Sentinel = 'TFramesFunction'
    2134           0 :             if ((!((msg__)->ReadSentinel(iter__, 492999321)))) {
    2135           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    2136           0 :                 return false;
    2137             :             }
    2138           0 :             return true;
    2139             :         }
    2140             :     default:
    2141             :         {
    2142           0 :             FatalError("unknown union type");
    2143           0 :             return false;
    2144             :         }
    2145             :     }
    2146             : }
    2147             : 
    2148           0 : auto PWebRenderBridgeParent::Write(
    2149             :         const Animatable& v__,
    2150             :         Message* msg__) -> void
    2151             : {
    2152             :     typedef Animatable type__;
    2153           0 :     Write(int((v__).type()), msg__);
    2154             :     // Sentinel = 'Animatable'
    2155           0 :     (msg__)->WriteSentinel(1922875594);
    2156             : 
    2157           0 :     switch ((v__).type()) {
    2158             :     case type__::Tnull_t:
    2159             :         {
    2160           0 :             Write((v__).get_null_t(), msg__);
    2161             :             // Sentinel = 'Tnull_t'
    2162           0 :             (msg__)->WriteSentinel(3731137201);
    2163           0 :             return;
    2164             :         }
    2165             :     case type__::Tfloat:
    2166             :         {
    2167           0 :             Write((v__).get_float(), msg__);
    2168             :             // Sentinel = 'Tfloat'
    2169           0 :             (msg__)->WriteSentinel(2693237468);
    2170           0 :             return;
    2171             :         }
    2172             :     case type__::TArrayOfTransformFunction:
    2173             :         {
    2174           0 :             Write((v__).get_ArrayOfTransformFunction(), msg__);
    2175             :             // Sentinel = 'TArrayOfTransformFunction'
    2176           0 :             (msg__)->WriteSentinel(2388656529);
    2177           0 :             return;
    2178             :         }
    2179             :     default:
    2180             :         {
    2181           0 :             FatalError("unknown union type");
    2182           0 :             return;
    2183             :         }
    2184             :     }
    2185             : }
    2186             : 
    2187           0 : auto PWebRenderBridgeParent::Read(
    2188             :         Animatable* v__,
    2189             :         const Message* msg__,
    2190             :         PickleIterator* iter__) -> bool
    2191             : {
    2192             :     typedef Animatable type__;
    2193             :     int type;
    2194           0 :     if ((!(Read((&(type)), msg__, iter__)))) {
    2195           0 :         mozilla::ipc::UnionTypeReadError("Animatable");
    2196           0 :         return false;
    2197             :     }
    2198             :     // Sentinel = 'Animatable'
    2199           0 :     if ((!((msg__)->ReadSentinel(iter__, 1922875594)))) {
    2200           0 :         mozilla::ipc::SentinelReadError("Animatable");
    2201           0 :         return false;
    2202             :     }
    2203             : 
    2204           0 :     switch (type) {
    2205             :     case type__::Tnull_t:
    2206             :         {
    2207             :             null_t tmp = null_t();
    2208           0 :             (*(v__)) = tmp;
    2209           0 :             if ((!(Read((&((v__)->get_null_t())), msg__, iter__)))) {
    2210           0 :                 FatalError("Error deserializing Union type");
    2211           0 :                 return false;
    2212             :             }
    2213             :             // Sentinel = 'Tnull_t'
    2214           0 :             if ((!((msg__)->ReadSentinel(iter__, 3731137201)))) {
    2215           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    2216           0 :                 return false;
    2217             :             }
    2218           0 :             return true;
    2219             :         }
    2220             :     case type__::Tfloat:
    2221             :         {
    2222           0 :             float tmp = float();
    2223           0 :             (*(v__)) = tmp;
    2224           0 :             if ((!(Read((&((v__)->get_float())), msg__, iter__)))) {
    2225           0 :                 FatalError("Error deserializing Union type");
    2226           0 :                 return false;
    2227             :             }
    2228             :             // Sentinel = 'Tfloat'
    2229           0 :             if ((!((msg__)->ReadSentinel(iter__, 2693237468)))) {
    2230           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    2231           0 :                 return false;
    2232             :             }
    2233           0 :             return true;
    2234             :         }
    2235             :     case type__::TArrayOfTransformFunction:
    2236             :         {
    2237           0 :             nsTArray<TransformFunction> tmp;
    2238           0 :             (*(v__)) = tmp;
    2239           0 :             if ((!(Read((&((v__)->get_ArrayOfTransformFunction())), msg__, iter__)))) {
    2240           0 :                 FatalError("Error deserializing Union type");
    2241           0 :                 return false;
    2242             :             }
    2243             :             // Sentinel = 'TArrayOfTransformFunction'
    2244           0 :             if ((!((msg__)->ReadSentinel(iter__, 2388656529)))) {
    2245           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    2246           0 :                 return false;
    2247             :             }
    2248           0 :             return true;
    2249             :         }
    2250             :     default:
    2251             :         {
    2252           0 :             FatalError("unknown union type");
    2253           0 :             return false;
    2254             :         }
    2255             :     }
    2256             : }
    2257             : 
    2258           0 : auto PWebRenderBridgeParent::Write(
    2259             :         const WebRenderParentCommand& v__,
    2260             :         Message* msg__) -> void
    2261             : {
    2262             :     typedef WebRenderParentCommand type__;
    2263           0 :     Write(int((v__).type()), msg__);
    2264             :     // Sentinel = 'WebRenderParentCommand'
    2265           0 :     (msg__)->WriteSentinel(2119870727);
    2266             : 
    2267           0 :     switch ((v__).type()) {
    2268             :     case type__::TOpAddExternalImage:
    2269             :         {
    2270           0 :             Write((v__).get_OpAddExternalImage(), msg__);
    2271             :             // Sentinel = 'TOpAddExternalImage'
    2272           0 :             (msg__)->WriteSentinel(3145571349);
    2273           0 :             return;
    2274             :         }
    2275             :     case type__::TOpUpdateAsyncImagePipeline:
    2276             :         {
    2277           0 :             Write((v__).get_OpUpdateAsyncImagePipeline(), msg__);
    2278             :             // Sentinel = 'TOpUpdateAsyncImagePipeline'
    2279           0 :             (msg__)->WriteSentinel(2512870980);
    2280           0 :             return;
    2281             :         }
    2282             :     case type__::TCompositableOperation:
    2283             :         {
    2284           0 :             Write((v__).get_CompositableOperation(), msg__);
    2285             :             // Sentinel = 'TCompositableOperation'
    2286           0 :             (msg__)->WriteSentinel(1903999853);
    2287           0 :             return;
    2288             :         }
    2289             :     case type__::TOpAddCompositorAnimations:
    2290             :         {
    2291           0 :             Write((v__).get_OpAddCompositorAnimations(), msg__);
    2292             :             // Sentinel = 'TOpAddCompositorAnimations'
    2293           0 :             (msg__)->WriteSentinel(3387367374);
    2294           0 :             return;
    2295             :         }
    2296             :     default:
    2297             :         {
    2298           0 :             FatalError("unknown union type");
    2299           0 :             return;
    2300             :         }
    2301             :     }
    2302             : }
    2303             : 
    2304           0 : auto PWebRenderBridgeParent::Read(
    2305             :         WebRenderParentCommand* v__,
    2306             :         const Message* msg__,
    2307             :         PickleIterator* iter__) -> bool
    2308             : {
    2309             :     typedef WebRenderParentCommand type__;
    2310             :     int type;
    2311           0 :     if ((!(Read((&(type)), msg__, iter__)))) {
    2312           0 :         mozilla::ipc::UnionTypeReadError("WebRenderParentCommand");
    2313           0 :         return false;
    2314             :     }
    2315             :     // Sentinel = 'WebRenderParentCommand'
    2316           0 :     if ((!((msg__)->ReadSentinel(iter__, 2119870727)))) {
    2317           0 :         mozilla::ipc::SentinelReadError("WebRenderParentCommand");
    2318           0 :         return false;
    2319             :     }
    2320             : 
    2321           0 :     switch (type) {
    2322             :     case type__::TOpAddExternalImage:
    2323             :         {
    2324           0 :             OpAddExternalImage tmp = OpAddExternalImage();
    2325           0 :             (*(v__)) = tmp;
    2326           0 :             if ((!(Read((&((v__)->get_OpAddExternalImage())), msg__, iter__)))) {
    2327           0 :                 FatalError("Error deserializing Union type");
    2328           0 :                 return false;
    2329             :             }
    2330             :             // Sentinel = 'TOpAddExternalImage'
    2331           0 :             if ((!((msg__)->ReadSentinel(iter__, 3145571349)))) {
    2332           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    2333           0 :                 return false;
    2334             :             }
    2335           0 :             return true;
    2336             :         }
    2337             :     case type__::TOpUpdateAsyncImagePipeline:
    2338             :         {
    2339           0 :             OpUpdateAsyncImagePipeline tmp = OpUpdateAsyncImagePipeline();
    2340           0 :             (*(v__)) = tmp;
    2341           0 :             if ((!(Read((&((v__)->get_OpUpdateAsyncImagePipeline())), msg__, iter__)))) {
    2342           0 :                 FatalError("Error deserializing Union type");
    2343           0 :                 return false;
    2344             :             }
    2345             :             // Sentinel = 'TOpUpdateAsyncImagePipeline'
    2346           0 :             if ((!((msg__)->ReadSentinel(iter__, 2512870980)))) {
    2347           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    2348           0 :                 return false;
    2349             :             }
    2350           0 :             return true;
    2351             :         }
    2352             :     case type__::TCompositableOperation:
    2353             :         {
    2354           0 :             CompositableOperation tmp = CompositableOperation();
    2355           0 :             (*(v__)) = tmp;
    2356           0 :             if ((!(Read((&((v__)->get_CompositableOperation())), msg__, iter__)))) {
    2357           0 :                 FatalError("Error deserializing Union type");
    2358           0 :                 return false;
    2359             :             }
    2360             :             // Sentinel = 'TCompositableOperation'
    2361           0 :             if ((!((msg__)->ReadSentinel(iter__, 1903999853)))) {
    2362           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    2363           0 :                 return false;
    2364             :             }
    2365           0 :             return true;
    2366             :         }
    2367             :     case type__::TOpAddCompositorAnimations:
    2368             :         {
    2369           0 :             OpAddCompositorAnimations tmp = OpAddCompositorAnimations();
    2370           0 :             (*(v__)) = tmp;
    2371           0 :             if ((!(Read((&((v__)->get_OpAddCompositorAnimations())), msg__, iter__)))) {
    2372           0 :                 FatalError("Error deserializing Union type");
    2373           0 :                 return false;
    2374             :             }
    2375             :             // Sentinel = 'TOpAddCompositorAnimations'
    2376           0 :             if ((!((msg__)->ReadSentinel(iter__, 3387367374)))) {
    2377           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    2378           0 :                 return false;
    2379             :             }
    2380           0 :             return true;
    2381             :         }
    2382             :     default:
    2383             :         {
    2384           0 :             FatalError("unknown union type");
    2385           0 :             return false;
    2386             :         }
    2387             :     }
    2388             : }
    2389             : 
    2390           0 : auto PWebRenderBridgeParent::Write(
    2391             :         const ShmemSection& v__,
    2392             :         Message* msg__) -> void
    2393             : {
    2394           0 :     Write((v__).shmem(), msg__);
    2395             :     // Sentinel = 'shmem'
    2396           0 :     (msg__)->WriteSentinel(4252604405);
    2397           0 :     Write((v__).offset(), msg__);
    2398             :     // Sentinel = 'offset'
    2399           0 :     (msg__)->WriteSentinel(1369947863);
    2400           0 :     Write((v__).size(), msg__);
    2401             :     // Sentinel = 'size'
    2402           0 :     (msg__)->WriteSentinel(931048223);
    2403           0 : }
    2404             : 
    2405           0 : auto PWebRenderBridgeParent::Read(
    2406             :         ShmemSection* v__,
    2407             :         const Message* msg__,
    2408             :         PickleIterator* iter__) -> bool
    2409             : {
    2410           0 :     if ((!(Read((&((v__)->shmem())), msg__, iter__)))) {
    2411           0 :         FatalError("Error deserializing 'shmem' (Shmem) member of 'ShmemSection'");
    2412           0 :         return false;
    2413             :     }
    2414             :     // Sentinel = 'shmem'
    2415           0 :     if ((!((msg__)->ReadSentinel(iter__, 4252604405)))) {
    2416           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'shmem' (Shmem) member of 'ShmemSection'");
    2417           0 :         return false;
    2418             :     }
    2419           0 :     if ((!(Read((&((v__)->offset())), msg__, iter__)))) {
    2420           0 :         FatalError("Error deserializing 'offset' (uint32_t) member of 'ShmemSection'");
    2421           0 :         return false;
    2422             :     }
    2423             :     // Sentinel = 'offset'
    2424           0 :     if ((!((msg__)->ReadSentinel(iter__, 1369947863)))) {
    2425           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'offset' (uint32_t) member of 'ShmemSection'");
    2426           0 :         return false;
    2427             :     }
    2428           0 :     if ((!(Read((&((v__)->size())), msg__, iter__)))) {
    2429           0 :         FatalError("Error deserializing 'size' (size_t) member of 'ShmemSection'");
    2430           0 :         return false;
    2431             :     }
    2432             :     // Sentinel = 'size'
    2433           0 :     if ((!((msg__)->ReadSentinel(iter__, 931048223)))) {
    2434           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'size' (size_t) member of 'ShmemSection'");
    2435           0 :         return false;
    2436             :     }
    2437           0 :     return true;
    2438             : }
    2439             : 
    2440           0 : auto PWebRenderBridgeParent::Write(
    2441             :         const PlaceholderTileDescriptor& v__,
    2442             :         Message* msg__) -> void
    2443             : {
    2444           0 : }
    2445             : 
    2446           0 : auto PWebRenderBridgeParent::Read(
    2447             :         PlaceholderTileDescriptor* v__,
    2448             :         const Message* msg__,
    2449             :         PickleIterator* iter__) -> bool
    2450             : {
    2451           0 :     return true;
    2452             : }
    2453             : 
    2454           0 : auto PWebRenderBridgeParent::Write(
    2455             :         const OpAddCompositorAnimations& v__,
    2456             :         Message* msg__) -> void
    2457             : {
    2458           0 :     Write((v__).data(), msg__);
    2459             :     // Sentinel = 'data'
    2460           0 :     (msg__)->WriteSentinel(843352540);
    2461           0 :     Write((v__).transform(), msg__);
    2462             :     // Sentinel = 'transform'
    2463           0 :     (msg__)->WriteSentinel(69691181);
    2464           0 :     Write((v__).opacity(), msg__);
    2465             :     // Sentinel = 'opacity'
    2466           0 :     (msg__)->WriteSentinel(3006582720);
    2467           0 : }
    2468             : 
    2469           0 : auto PWebRenderBridgeParent::Read(
    2470             :         OpAddCompositorAnimations* v__,
    2471             :         const Message* msg__,
    2472             :         PickleIterator* iter__) -> bool
    2473             : {
    2474           0 :     if ((!(Read((&((v__)->data())), msg__, iter__)))) {
    2475           0 :         FatalError("Error deserializing 'data' (CompositorAnimations) member of 'OpAddCompositorAnimations'");
    2476           0 :         return false;
    2477             :     }
    2478             :     // Sentinel = 'data'
    2479           0 :     if ((!((msg__)->ReadSentinel(iter__, 843352540)))) {
    2480           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'data' (CompositorAnimations) member of 'OpAddCompositorAnimations'");
    2481           0 :         return false;
    2482             :     }
    2483           0 :     if ((!(Read((&((v__)->transform())), msg__, iter__)))) {
    2484           0 :         FatalError("Error deserializing 'transform' (OptionalTransform) member of 'OpAddCompositorAnimations'");
    2485           0 :         return false;
    2486             :     }
    2487             :     // Sentinel = 'transform'
    2488           0 :     if ((!((msg__)->ReadSentinel(iter__, 69691181)))) {
    2489           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'transform' (OptionalTransform) member of 'OpAddCompositorAnimations'");
    2490           0 :         return false;
    2491             :     }
    2492           0 :     if ((!(Read((&((v__)->opacity())), msg__, iter__)))) {
    2493           0 :         FatalError("Error deserializing 'opacity' (OptionalOpacity) member of 'OpAddCompositorAnimations'");
    2494           0 :         return false;
    2495             :     }
    2496             :     // Sentinel = 'opacity'
    2497           0 :     if ((!((msg__)->ReadSentinel(iter__, 3006582720)))) {
    2498           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'opacity' (OptionalOpacity) member of 'OpAddCompositorAnimations'");
    2499           0 :         return false;
    2500             :     }
    2501           0 :     return true;
    2502             : }
    2503             : 
    2504           0 : auto PWebRenderBridgeParent::Write(
    2505             :         const PWebRenderBridgeParent* v__,
    2506             :         Message* msg__,
    2507             :         bool nullable__) -> void
    2508             : {
    2509             :     int32_t id;
    2510           0 :     if ((!(v__))) {
    2511           0 :         if ((!(nullable__))) {
    2512           0 :             FatalError("NULL actor value passed to non-nullable param");
    2513             :         }
    2514           0 :         id = 0;
    2515             :     }
    2516             :     else {
    2517           0 :         id = (v__)->Id();
    2518           0 :         if ((1) == (id)) {
    2519           0 :             FatalError("actor has been |delete|d");
    2520             :         }
    2521             :     }
    2522             : 
    2523           0 :     Write(id, msg__);
    2524           0 : }
    2525             : 
    2526           0 : auto PWebRenderBridgeParent::Read(
    2527             :         PWebRenderBridgeParent** v__,
    2528             :         const Message* msg__,
    2529             :         PickleIterator* iter__,
    2530             :         bool nullable__) -> bool
    2531             : {
    2532           0 :     Maybe<mozilla::ipc::IProtocol*> actor = ReadActor(msg__, iter__, nullable__, "PWebRenderBridge", PWebRenderBridgeMsgStart);
    2533           0 :     if ((actor).isNothing()) {
    2534           0 :         return false;
    2535             :     }
    2536             : 
    2537           0 :     (*(v__)) = static_cast<PWebRenderBridgeParent*>((actor).value());
    2538           0 :     return true;
    2539             : }
    2540             : 
    2541           0 : auto PWebRenderBridgeParent::Write(
    2542             :         const Translation& v__,
    2543             :         Message* msg__) -> void
    2544             : {
    2545           0 :     Write((v__).x(), msg__);
    2546             :     // Sentinel = 'x'
    2547           0 :     (msg__)->WriteSentinel(2475144313);
    2548           0 :     Write((v__).y(), msg__);
    2549             :     // Sentinel = 'y'
    2550           0 :     (msg__)->WriteSentinel(2603144696);
    2551           0 :     Write((v__).z(), msg__);
    2552             :     // Sentinel = 'z'
    2553           0 :     (msg__)->WriteSentinel(2731145083);
    2554           0 : }
    2555             : 
    2556           0 : auto PWebRenderBridgeParent::Read(
    2557             :         Translation* v__,
    2558             :         const Message* msg__,
    2559             :         PickleIterator* iter__) -> bool
    2560             : {
    2561           0 :     if ((!(Read((&((v__)->x())), msg__, iter__)))) {
    2562           0 :         FatalError("Error deserializing 'x' (float) member of 'Translation'");
    2563           0 :         return false;
    2564             :     }
    2565             :     // Sentinel = 'x'
    2566           0 :     if ((!((msg__)->ReadSentinel(iter__, 2475144313)))) {
    2567           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'x' (float) member of 'Translation'");
    2568           0 :         return false;
    2569             :     }
    2570           0 :     if ((!(Read((&((v__)->y())), msg__, iter__)))) {
    2571           0 :         FatalError("Error deserializing 'y' (float) member of 'Translation'");
    2572           0 :         return false;
    2573             :     }
    2574             :     // Sentinel = 'y'
    2575           0 :     if ((!((msg__)->ReadSentinel(iter__, 2603144696)))) {
    2576           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'y' (float) member of 'Translation'");
    2577           0 :         return false;
    2578             :     }
    2579           0 :     if ((!(Read((&((v__)->z())), msg__, iter__)))) {
    2580           0 :         FatalError("Error deserializing 'z' (float) member of 'Translation'");
    2581           0 :         return false;
    2582             :     }
    2583             :     // Sentinel = 'z'
    2584           0 :     if ((!((msg__)->ReadSentinel(iter__, 2731145083)))) {
    2585           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'z' (float) member of 'Translation'");
    2586           0 :         return false;
    2587             :     }
    2588           0 :     return true;
    2589             : }
    2590             : 
    2591           0 : auto PWebRenderBridgeParent::Write(
    2592             :         const SurfaceDescriptorTiles& v__,
    2593             :         Message* msg__) -> void
    2594             : {
    2595           0 :     Write((v__).validRegion(), msg__);
    2596             :     // Sentinel = 'validRegion'
    2597           0 :     (msg__)->WriteSentinel(1063106721);
    2598           0 :     Write((v__).tiles(), msg__);
    2599             :     // Sentinel = 'tiles'
    2600           0 :     (msg__)->WriteSentinel(2787066946);
    2601           0 :     Write((v__).tileOrigin(), msg__);
    2602             :     // Sentinel = 'tileOrigin'
    2603           0 :     (msg__)->WriteSentinel(41129744);
    2604           0 :     Write((v__).tileSize(), msg__);
    2605             :     // Sentinel = 'tileSize'
    2606           0 :     (msg__)->WriteSentinel(2603105767);
    2607           0 :     Write((v__).firstTileX(), msg__);
    2608             :     // Sentinel = 'firstTileX'
    2609           0 :     (msg__)->WriteSentinel(1961114936);
    2610           0 :     Write((v__).firstTileY(), msg__);
    2611             :     // Sentinel = 'firstTileY'
    2612           0 :     (msg__)->WriteSentinel(1961114937);
    2613           0 :     Write((v__).retainedWidth(), msg__);
    2614             :     // Sentinel = 'retainedWidth'
    2615           0 :     (msg__)->WriteSentinel(2490297853);
    2616           0 :     Write((v__).retainedHeight(), msg__);
    2617             :     // Sentinel = 'retainedHeight'
    2618           0 :     (msg__)->WriteSentinel(3230772307);
    2619           0 :     Write((v__).resolution(), msg__);
    2620             :     // Sentinel = 'resolution'
    2621           0 :     (msg__)->WriteSentinel(4077768700);
    2622           0 :     Write((v__).frameXResolution(), msg__);
    2623             :     // Sentinel = 'frameXResolution'
    2624           0 :     (msg__)->WriteSentinel(876167199);
    2625           0 :     Write((v__).frameYResolution(), msg__);
    2626             :     // Sentinel = 'frameYResolution'
    2627           0 :     (msg__)->WriteSentinel(2856703858);
    2628           0 :     Write((v__).isProgressive(), msg__);
    2629             :     // Sentinel = 'isProgressive'
    2630           0 :     (msg__)->WriteSentinel(1291560808);
    2631           0 : }
    2632             : 
    2633           0 : auto PWebRenderBridgeParent::Read(
    2634             :         SurfaceDescriptorTiles* v__,
    2635             :         const Message* msg__,
    2636             :         PickleIterator* iter__) -> bool
    2637             : {
    2638           0 :     if ((!(Read((&((v__)->validRegion())), msg__, iter__)))) {
    2639           0 :         FatalError("Error deserializing 'validRegion' (nsIntRegion) member of 'SurfaceDescriptorTiles'");
    2640           0 :         return false;
    2641             :     }
    2642             :     // Sentinel = 'validRegion'
    2643           0 :     if ((!((msg__)->ReadSentinel(iter__, 1063106721)))) {
    2644           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'validRegion' (nsIntRegion) member of 'SurfaceDescriptorTiles'");
    2645           0 :         return false;
    2646             :     }
    2647           0 :     if ((!(Read((&((v__)->tiles())), msg__, iter__)))) {
    2648           0 :         FatalError("Error deserializing 'tiles' (TileDescriptor[]) member of 'SurfaceDescriptorTiles'");
    2649           0 :         return false;
    2650             :     }
    2651             :     // Sentinel = 'tiles'
    2652           0 :     if ((!((msg__)->ReadSentinel(iter__, 2787066946)))) {
    2653           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'tiles' (TileDescriptor[]) member of 'SurfaceDescriptorTiles'");
    2654           0 :         return false;
    2655             :     }
    2656           0 :     if ((!(Read((&((v__)->tileOrigin())), msg__, iter__)))) {
    2657           0 :         FatalError("Error deserializing 'tileOrigin' (IntPoint) member of 'SurfaceDescriptorTiles'");
    2658           0 :         return false;
    2659             :     }
    2660             :     // Sentinel = 'tileOrigin'
    2661           0 :     if ((!((msg__)->ReadSentinel(iter__, 41129744)))) {
    2662           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'tileOrigin' (IntPoint) member of 'SurfaceDescriptorTiles'");
    2663           0 :         return false;
    2664             :     }
    2665           0 :     if ((!(Read((&((v__)->tileSize())), msg__, iter__)))) {
    2666           0 :         FatalError("Error deserializing 'tileSize' (IntSize) member of 'SurfaceDescriptorTiles'");
    2667           0 :         return false;
    2668             :     }
    2669             :     // Sentinel = 'tileSize'
    2670           0 :     if ((!((msg__)->ReadSentinel(iter__, 2603105767)))) {
    2671           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'tileSize' (IntSize) member of 'SurfaceDescriptorTiles'");
    2672           0 :         return false;
    2673             :     }
    2674           0 :     if ((!(Read((&((v__)->firstTileX())), msg__, iter__)))) {
    2675           0 :         FatalError("Error deserializing 'firstTileX' (int) member of 'SurfaceDescriptorTiles'");
    2676           0 :         return false;
    2677             :     }
    2678             :     // Sentinel = 'firstTileX'
    2679           0 :     if ((!((msg__)->ReadSentinel(iter__, 1961114936)))) {
    2680           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'firstTileX' (int) member of 'SurfaceDescriptorTiles'");
    2681           0 :         return false;
    2682             :     }
    2683           0 :     if ((!(Read((&((v__)->firstTileY())), msg__, iter__)))) {
    2684           0 :         FatalError("Error deserializing 'firstTileY' (int) member of 'SurfaceDescriptorTiles'");
    2685           0 :         return false;
    2686             :     }
    2687             :     // Sentinel = 'firstTileY'
    2688           0 :     if ((!((msg__)->ReadSentinel(iter__, 1961114937)))) {
    2689           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'firstTileY' (int) member of 'SurfaceDescriptorTiles'");
    2690           0 :         return false;
    2691             :     }
    2692           0 :     if ((!(Read((&((v__)->retainedWidth())), msg__, iter__)))) {
    2693           0 :         FatalError("Error deserializing 'retainedWidth' (int) member of 'SurfaceDescriptorTiles'");
    2694           0 :         return false;
    2695             :     }
    2696             :     // Sentinel = 'retainedWidth'
    2697           0 :     if ((!((msg__)->ReadSentinel(iter__, 2490297853)))) {
    2698           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'retainedWidth' (int) member of 'SurfaceDescriptorTiles'");
    2699           0 :         return false;
    2700             :     }
    2701           0 :     if ((!(Read((&((v__)->retainedHeight())), msg__, iter__)))) {
    2702           0 :         FatalError("Error deserializing 'retainedHeight' (int) member of 'SurfaceDescriptorTiles'");
    2703           0 :         return false;
    2704             :     }
    2705             :     // Sentinel = 'retainedHeight'
    2706           0 :     if ((!((msg__)->ReadSentinel(iter__, 3230772307)))) {
    2707           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'retainedHeight' (int) member of 'SurfaceDescriptorTiles'");
    2708           0 :         return false;
    2709             :     }
    2710           0 :     if ((!(Read((&((v__)->resolution())), msg__, iter__)))) {
    2711           0 :         FatalError("Error deserializing 'resolution' (float) member of 'SurfaceDescriptorTiles'");
    2712           0 :         return false;
    2713             :     }
    2714             :     // Sentinel = 'resolution'
    2715           0 :     if ((!((msg__)->ReadSentinel(iter__, 4077768700)))) {
    2716           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'resolution' (float) member of 'SurfaceDescriptorTiles'");
    2717           0 :         return false;
    2718             :     }
    2719           0 :     if ((!(Read((&((v__)->frameXResolution())), msg__, iter__)))) {
    2720           0 :         FatalError("Error deserializing 'frameXResolution' (float) member of 'SurfaceDescriptorTiles'");
    2721           0 :         return false;
    2722             :     }
    2723             :     // Sentinel = 'frameXResolution'
    2724           0 :     if ((!((msg__)->ReadSentinel(iter__, 876167199)))) {
    2725           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'frameXResolution' (float) member of 'SurfaceDescriptorTiles'");
    2726           0 :         return false;
    2727             :     }
    2728           0 :     if ((!(Read((&((v__)->frameYResolution())), msg__, iter__)))) {
    2729           0 :         FatalError("Error deserializing 'frameYResolution' (float) member of 'SurfaceDescriptorTiles'");
    2730           0 :         return false;
    2731             :     }
    2732             :     // Sentinel = 'frameYResolution'
    2733           0 :     if ((!((msg__)->ReadSentinel(iter__, 2856703858)))) {
    2734           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'frameYResolution' (float) member of 'SurfaceDescriptorTiles'");
    2735           0 :         return false;
    2736             :     }
    2737           0 :     if ((!(Read((&((v__)->isProgressive())), msg__, iter__)))) {
    2738           0 :         FatalError("Error deserializing 'isProgressive' (bool) member of 'SurfaceDescriptorTiles'");
    2739           0 :         return false;
    2740             :     }
    2741             :     // Sentinel = 'isProgressive'
    2742           0 :     if ((!((msg__)->ReadSentinel(iter__, 1291560808)))) {
    2743           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'isProgressive' (bool) member of 'SurfaceDescriptorTiles'");
    2744           0 :         return false;
    2745             :     }
    2746           0 :     return true;
    2747             : }
    2748             : 
    2749           0 : auto PWebRenderBridgeParent::Write(
    2750             :         const CSSAngle& v__,
    2751             :         Message* msg__) -> void
    2752             : {
    2753           0 :     Write((v__).value(), msg__);
    2754             :     // Sentinel = 'value'
    2755           0 :     (msg__)->WriteSentinel(3456818542);
    2756           0 :     Write((v__).unit(), msg__);
    2757             :     // Sentinel = 'unit'
    2758           0 :     (msg__)->WriteSentinel(1305575710);
    2759           0 : }
    2760             : 
    2761           0 : auto PWebRenderBridgeParent::Read(
    2762             :         CSSAngle* v__,
    2763             :         const Message* msg__,
    2764             :         PickleIterator* iter__) -> bool
    2765             : {
    2766           0 :     if ((!(Read((&((v__)->value())), msg__, iter__)))) {
    2767           0 :         FatalError("Error deserializing 'value' (float) member of 'CSSAngle'");
    2768           0 :         return false;
    2769             :     }
    2770             :     // Sentinel = 'value'
    2771           0 :     if ((!((msg__)->ReadSentinel(iter__, 3456818542)))) {
    2772           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'value' (float) member of 'CSSAngle'");
    2773           0 :         return false;
    2774             :     }
    2775           0 :     if ((!(Read((&((v__)->unit())), msg__, iter__)))) {
    2776           0 :         FatalError("Error deserializing 'unit' (int) member of 'CSSAngle'");
    2777           0 :         return false;
    2778             :     }
    2779             :     // Sentinel = 'unit'
    2780           0 :     if ((!((msg__)->ReadSentinel(iter__, 1305575710)))) {
    2781           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'unit' (int) member of 'CSSAngle'");
    2782           0 :         return false;
    2783             :     }
    2784           0 :     return true;
    2785             : }
    2786             : 
    2787           0 : auto PWebRenderBridgeParent::Write(
    2788             :         const TransformFunction& v__,
    2789             :         Message* msg__) -> void
    2790             : {
    2791             :     typedef TransformFunction type__;
    2792           0 :     Write(int((v__).type()), msg__);
    2793             :     // Sentinel = 'TransformFunction'
    2794           0 :     (msg__)->WriteSentinel(2553734589);
    2795             : 
    2796           0 :     switch ((v__).type()) {
    2797             :     case type__::TPerspective:
    2798             :         {
    2799           0 :             Write((v__).get_Perspective(), msg__);
    2800             :             // Sentinel = 'TPerspective'
    2801           0 :             (msg__)->WriteSentinel(536769614);
    2802           0 :             return;
    2803             :         }
    2804             :     case type__::TRotationX:
    2805             :         {
    2806           0 :             Write((v__).get_RotationX(), msg__);
    2807             :             // Sentinel = 'TRotationX'
    2808           0 :             (msg__)->WriteSentinel(3076537720);
    2809           0 :             return;
    2810             :         }
    2811             :     case type__::TRotationY:
    2812             :         {
    2813           0 :             Write((v__).get_RotationY(), msg__);
    2814             :             // Sentinel = 'TRotationY'
    2815           0 :             (msg__)->WriteSentinel(3076537721);
    2816           0 :             return;
    2817             :         }
    2818             :     case type__::TRotationZ:
    2819             :         {
    2820           0 :             Write((v__).get_RotationZ(), msg__);
    2821             :             // Sentinel = 'TRotationZ'
    2822           0 :             (msg__)->WriteSentinel(3076537722);
    2823           0 :             return;
    2824             :         }
    2825             :     case type__::TRotation:
    2826             :         {
    2827           0 :             Write((v__).get_Rotation(), msg__);
    2828             :             // Sentinel = 'TRotation'
    2829           0 :             (msg__)->WriteSentinel(204395655);
    2830           0 :             return;
    2831             :         }
    2832             :     case type__::TRotation3D:
    2833             :         {
    2834           0 :             Write((v__).get_Rotation3D(), msg__);
    2835             :             // Sentinel = 'TRotation3D'
    2836           0 :             (msg__)->WriteSentinel(1650945988);
    2837           0 :             return;
    2838             :         }
    2839             :     case type__::TScale:
    2840             :         {
    2841           0 :             Write((v__).get_Scale(), msg__);
    2842             :             // Sentinel = 'TScale'
    2843           0 :             (msg__)->WriteSentinel(4188009060);
    2844           0 :             return;
    2845             :         }
    2846             :     case type__::TSkew:
    2847             :         {
    2848           0 :             Write((v__).get_Skew(), msg__);
    2849             :             // Sentinel = 'TSkew'
    2850           0 :             (msg__)->WriteSentinel(398444919);
    2851           0 :             return;
    2852             :         }
    2853             :     case type__::TSkewX:
    2854             :         {
    2855           0 :             Write((v__).get_SkewX(), msg__);
    2856             :             // Sentinel = 'TSkewX'
    2857           0 :             (msg__)->WriteSentinel(1993284744);
    2858           0 :             return;
    2859             :         }
    2860             :     case type__::TSkewY:
    2861             :         {
    2862           0 :             Write((v__).get_SkewY(), msg__);
    2863             :             // Sentinel = 'TSkewY'
    2864           0 :             (msg__)->WriteSentinel(1993284745);
    2865           0 :             return;
    2866             :         }
    2867             :     case type__::TTranslation:
    2868             :         {
    2869           0 :             Write((v__).get_Translation(), msg__);
    2870             :             // Sentinel = 'TTranslation'
    2871           0 :             (msg__)->WriteSentinel(2021428737);
    2872           0 :             return;
    2873             :         }
    2874             :     case type__::TTransformMatrix:
    2875             :         {
    2876           0 :             Write((v__).get_TransformMatrix(), msg__);
    2877             :             // Sentinel = 'TTransformMatrix'
    2878           0 :             (msg__)->WriteSentinel(2585816443);
    2879           0 :             return;
    2880             :         }
    2881             :     default:
    2882             :         {
    2883           0 :             FatalError("unknown union type");
    2884           0 :             return;
    2885             :         }
    2886             :     }
    2887             : }
    2888             : 
    2889           0 : auto PWebRenderBridgeParent::Read(
    2890             :         TransformFunction* v__,
    2891             :         const Message* msg__,
    2892             :         PickleIterator* iter__) -> bool
    2893             : {
    2894             :     typedef TransformFunction type__;
    2895             :     int type;
    2896           0 :     if ((!(Read((&(type)), msg__, iter__)))) {
    2897           0 :         mozilla::ipc::UnionTypeReadError("TransformFunction");
    2898           0 :         return false;
    2899             :     }
    2900             :     // Sentinel = 'TransformFunction'
    2901           0 :     if ((!((msg__)->ReadSentinel(iter__, 2553734589)))) {
    2902           0 :         mozilla::ipc::SentinelReadError("TransformFunction");
    2903           0 :         return false;
    2904             :     }
    2905             : 
    2906           0 :     switch (type) {
    2907             :     case type__::TPerspective:
    2908             :         {
    2909           0 :             Perspective tmp = Perspective();
    2910           0 :             (*(v__)) = tmp;
    2911           0 :             if ((!(Read((&((v__)->get_Perspective())), msg__, iter__)))) {
    2912           0 :                 FatalError("Error deserializing Union type");
    2913           0 :                 return false;
    2914             :             }
    2915             :             // Sentinel = 'TPerspective'
    2916           0 :             if ((!((msg__)->ReadSentinel(iter__, 536769614)))) {
    2917           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    2918           0 :                 return false;
    2919             :             }
    2920           0 :             return true;
    2921             :         }
    2922             :     case type__::TRotationX:
    2923             :         {
    2924           0 :             RotationX tmp = RotationX();
    2925           0 :             (*(v__)) = tmp;
    2926           0 :             if ((!(Read((&((v__)->get_RotationX())), msg__, iter__)))) {
    2927           0 :                 FatalError("Error deserializing Union type");
    2928           0 :                 return false;
    2929             :             }
    2930             :             // Sentinel = 'TRotationX'
    2931           0 :             if ((!((msg__)->ReadSentinel(iter__, 3076537720)))) {
    2932           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    2933           0 :                 return false;
    2934             :             }
    2935           0 :             return true;
    2936             :         }
    2937             :     case type__::TRotationY:
    2938             :         {
    2939           0 :             RotationY tmp = RotationY();
    2940           0 :             (*(v__)) = tmp;
    2941           0 :             if ((!(Read((&((v__)->get_RotationY())), msg__, iter__)))) {
    2942           0 :                 FatalError("Error deserializing Union type");
    2943           0 :                 return false;
    2944             :             }
    2945             :             // Sentinel = 'TRotationY'
    2946           0 :             if ((!((msg__)->ReadSentinel(iter__, 3076537721)))) {
    2947           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    2948           0 :                 return false;
    2949             :             }
    2950           0 :             return true;
    2951             :         }
    2952             :     case type__::TRotationZ:
    2953             :         {
    2954           0 :             RotationZ tmp = RotationZ();
    2955           0 :             (*(v__)) = tmp;
    2956           0 :             if ((!(Read((&((v__)->get_RotationZ())), msg__, iter__)))) {
    2957           0 :                 FatalError("Error deserializing Union type");
    2958           0 :                 return false;
    2959             :             }
    2960             :             // Sentinel = 'TRotationZ'
    2961           0 :             if ((!((msg__)->ReadSentinel(iter__, 3076537722)))) {
    2962           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    2963           0 :                 return false;
    2964             :             }
    2965           0 :             return true;
    2966             :         }
    2967             :     case type__::TRotation:
    2968             :         {
    2969           0 :             Rotation tmp = Rotation();
    2970           0 :             (*(v__)) = tmp;
    2971           0 :             if ((!(Read((&((v__)->get_Rotation())), msg__, iter__)))) {
    2972           0 :                 FatalError("Error deserializing Union type");
    2973           0 :                 return false;
    2974             :             }
    2975             :             // Sentinel = 'TRotation'
    2976           0 :             if ((!((msg__)->ReadSentinel(iter__, 204395655)))) {
    2977           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    2978           0 :                 return false;
    2979             :             }
    2980           0 :             return true;
    2981             :         }
    2982             :     case type__::TRotation3D:
    2983             :         {
    2984           0 :             Rotation3D tmp = Rotation3D();
    2985           0 :             (*(v__)) = tmp;
    2986           0 :             if ((!(Read((&((v__)->get_Rotation3D())), msg__, iter__)))) {
    2987           0 :                 FatalError("Error deserializing Union type");
    2988           0 :                 return false;
    2989             :             }
    2990             :             // Sentinel = 'TRotation3D'
    2991           0 :             if ((!((msg__)->ReadSentinel(iter__, 1650945988)))) {
    2992           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    2993           0 :                 return false;
    2994             :             }
    2995           0 :             return true;
    2996             :         }
    2997             :     case type__::TScale:
    2998             :         {
    2999           0 :             Scale tmp = Scale();
    3000           0 :             (*(v__)) = tmp;
    3001           0 :             if ((!(Read((&((v__)->get_Scale())), msg__, iter__)))) {
    3002           0 :                 FatalError("Error deserializing Union type");
    3003           0 :                 return false;
    3004             :             }
    3005             :             // Sentinel = 'TScale'
    3006           0 :             if ((!((msg__)->ReadSentinel(iter__, 4188009060)))) {
    3007           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    3008           0 :                 return false;
    3009             :             }
    3010           0 :             return true;
    3011             :         }
    3012             :     case type__::TSkew:
    3013             :         {
    3014           0 :             Skew tmp = Skew();
    3015           0 :             (*(v__)) = tmp;
    3016           0 :             if ((!(Read((&((v__)->get_Skew())), msg__, iter__)))) {
    3017           0 :                 FatalError("Error deserializing Union type");
    3018           0 :                 return false;
    3019             :             }
    3020             :             // Sentinel = 'TSkew'
    3021           0 :             if ((!((msg__)->ReadSentinel(iter__, 398444919)))) {
    3022           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    3023           0 :                 return false;
    3024             :             }
    3025           0 :             return true;
    3026             :         }
    3027             :     case type__::TSkewX:
    3028             :         {
    3029           0 :             SkewX tmp = SkewX();
    3030           0 :             (*(v__)) = tmp;
    3031           0 :             if ((!(Read((&((v__)->get_SkewX())), msg__, iter__)))) {
    3032           0 :                 FatalError("Error deserializing Union type");
    3033           0 :                 return false;
    3034             :             }
    3035             :             // Sentinel = 'TSkewX'
    3036           0 :             if ((!((msg__)->ReadSentinel(iter__, 1993284744)))) {
    3037           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    3038           0 :                 return false;
    3039             :             }
    3040           0 :             return true;
    3041             :         }
    3042             :     case type__::TSkewY:
    3043             :         {
    3044           0 :             SkewY tmp = SkewY();
    3045           0 :             (*(v__)) = tmp;
    3046           0 :             if ((!(Read((&((v__)->get_SkewY())), msg__, iter__)))) {
    3047           0 :                 FatalError("Error deserializing Union type");
    3048           0 :                 return false;
    3049             :             }
    3050             :             // Sentinel = 'TSkewY'
    3051           0 :             if ((!((msg__)->ReadSentinel(iter__, 1993284745)))) {
    3052           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    3053           0 :                 return false;
    3054             :             }
    3055           0 :             return true;
    3056             :         }
    3057             :     case type__::TTranslation:
    3058             :         {
    3059           0 :             Translation tmp = Translation();
    3060           0 :             (*(v__)) = tmp;
    3061           0 :             if ((!(Read((&((v__)->get_Translation())), msg__, iter__)))) {
    3062           0 :                 FatalError("Error deserializing Union type");
    3063           0 :                 return false;
    3064             :             }
    3065             :             // Sentinel = 'TTranslation'
    3066           0 :             if ((!((msg__)->ReadSentinel(iter__, 2021428737)))) {
    3067           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    3068           0 :                 return false;
    3069             :             }
    3070           0 :             return true;
    3071             :         }
    3072             :     case type__::TTransformMatrix:
    3073             :         {
    3074           0 :             TransformMatrix tmp = TransformMatrix();
    3075           0 :             (*(v__)) = tmp;
    3076           0 :             if ((!(Read((&((v__)->get_TransformMatrix())), msg__, iter__)))) {
    3077           0 :                 FatalError("Error deserializing Union type");
    3078           0 :                 return false;
    3079             :             }
    3080             :             // Sentinel = 'TTransformMatrix'
    3081           0 :             if ((!((msg__)->ReadSentinel(iter__, 2585816443)))) {
    3082           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    3083           0 :                 return false;
    3084             :             }
    3085           0 :             return true;
    3086             :         }
    3087             :     default:
    3088             :         {
    3089           0 :             FatalError("unknown union type");
    3090           0 :             return false;
    3091             :         }
    3092             :     }
    3093             : }
    3094             : 
    3095           0 : auto PWebRenderBridgeParent::Write(
    3096             :         const OpUseTiledLayerBuffer& v__,
    3097             :         Message* msg__) -> void
    3098             : {
    3099           0 :     Write((v__).tileLayerDescriptor(), msg__);
    3100             :     // Sentinel = 'tileLayerDescriptor'
    3101           0 :     (msg__)->WriteSentinel(1059372119);
    3102           0 : }
    3103             : 
    3104           0 : auto PWebRenderBridgeParent::Read(
    3105             :         OpUseTiledLayerBuffer* v__,
    3106             :         const Message* msg__,
    3107             :         PickleIterator* iter__) -> bool
    3108             : {
    3109           0 :     if ((!(Read((&((v__)->tileLayerDescriptor())), msg__, iter__)))) {
    3110           0 :         FatalError("Error deserializing 'tileLayerDescriptor' (SurfaceDescriptorTiles) member of 'OpUseTiledLayerBuffer'");
    3111           0 :         return false;
    3112             :     }
    3113             :     // Sentinel = 'tileLayerDescriptor'
    3114           0 :     if ((!((msg__)->ReadSentinel(iter__, 1059372119)))) {
    3115           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'tileLayerDescriptor' (SurfaceDescriptorTiles) member of 'OpUseTiledLayerBuffer'");
    3116           0 :         return false;
    3117             :     }
    3118           0 :     return true;
    3119             : }
    3120             : 
    3121           0 : auto PWebRenderBridgeParent::Write(
    3122             :         const TimedTexture& v__,
    3123             :         Message* msg__) -> void
    3124             : {
    3125           0 :     Write((v__).textureParent(), msg__, false);
    3126             :     // Sentinel = 'texture'
    3127           0 :     (msg__)->WriteSentinel(3654462510);
    3128             :     // skipping actor field that's meaningless on this side
    3129           0 :     Write((v__).sharedLock(), msg__);
    3130             :     // Sentinel = 'sharedLock'
    3131           0 :     (msg__)->WriteSentinel(1249896484);
    3132           0 :     Write((v__).timeStamp(), msg__);
    3133             :     // Sentinel = 'timeStamp'
    3134           0 :     (msg__)->WriteSentinel(988250409);
    3135           0 :     Write((v__).picture(), msg__);
    3136             :     // Sentinel = 'picture'
    3137           0 :     (msg__)->WriteSentinel(3195561921);
    3138           0 :     Write((v__).frameID(), msg__);
    3139             :     // Sentinel = 'frameID'
    3140           0 :     (msg__)->WriteSentinel(3054835247);
    3141           0 :     Write((v__).producerID(), msg__);
    3142             :     // Sentinel = 'producerID'
    3143           0 :     (msg__)->WriteSentinel(1942472743);
    3144           0 : }
    3145             : 
    3146           0 : auto PWebRenderBridgeParent::Read(
    3147             :         TimedTexture* v__,
    3148             :         const Message* msg__,
    3149             :         PickleIterator* iter__) -> bool
    3150             : {
    3151           0 :     if ((!(Read((&((v__)->textureParent())), msg__, iter__, false)))) {
    3152           0 :         FatalError("Error deserializing 'textureParent' (PTexture) member of 'TimedTexture'");
    3153           0 :         return false;
    3154             :     }
    3155             :     // Sentinel = 'texture'
    3156           0 :     if ((!((msg__)->ReadSentinel(iter__, 3654462510)))) {
    3157           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'textureParent' (PTexture) member of 'TimedTexture'");
    3158           0 :         return false;
    3159             :     }
    3160             :     // skipping actor field that's meaningless on this side
    3161           0 :     if ((!(Read((&((v__)->sharedLock())), msg__, iter__)))) {
    3162           0 :         FatalError("Error deserializing 'sharedLock' (ReadLockHandle) member of 'TimedTexture'");
    3163           0 :         return false;
    3164             :     }
    3165             :     // Sentinel = 'sharedLock'
    3166           0 :     if ((!((msg__)->ReadSentinel(iter__, 1249896484)))) {
    3167           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'sharedLock' (ReadLockHandle) member of 'TimedTexture'");
    3168           0 :         return false;
    3169             :     }
    3170           0 :     if ((!(Read((&((v__)->timeStamp())), msg__, iter__)))) {
    3171           0 :         FatalError("Error deserializing 'timeStamp' (TimeStamp) member of 'TimedTexture'");
    3172           0 :         return false;
    3173             :     }
    3174             :     // Sentinel = 'timeStamp'
    3175           0 :     if ((!((msg__)->ReadSentinel(iter__, 988250409)))) {
    3176           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'timeStamp' (TimeStamp) member of 'TimedTexture'");
    3177           0 :         return false;
    3178             :     }
    3179           0 :     if ((!(Read((&((v__)->picture())), msg__, iter__)))) {
    3180           0 :         FatalError("Error deserializing 'picture' (IntRect) member of 'TimedTexture'");
    3181           0 :         return false;
    3182             :     }
    3183             :     // Sentinel = 'picture'
    3184           0 :     if ((!((msg__)->ReadSentinel(iter__, 3195561921)))) {
    3185           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'picture' (IntRect) member of 'TimedTexture'");
    3186           0 :         return false;
    3187             :     }
    3188           0 :     if ((!(Read((&((v__)->frameID())), msg__, iter__)))) {
    3189           0 :         FatalError("Error deserializing 'frameID' (uint32_t) member of 'TimedTexture'");
    3190           0 :         return false;
    3191             :     }
    3192             :     // Sentinel = 'frameID'
    3193           0 :     if ((!((msg__)->ReadSentinel(iter__, 3054835247)))) {
    3194           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'frameID' (uint32_t) member of 'TimedTexture'");
    3195           0 :         return false;
    3196             :     }
    3197           0 :     if ((!(Read((&((v__)->producerID())), msg__, iter__)))) {
    3198           0 :         FatalError("Error deserializing 'producerID' (uint32_t) member of 'TimedTexture'");
    3199           0 :         return false;
    3200             :     }
    3201             :     // Sentinel = 'producerID'
    3202           0 :     if ((!((msg__)->ReadSentinel(iter__, 1942472743)))) {
    3203           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'producerID' (uint32_t) member of 'TimedTexture'");
    3204           0 :         return false;
    3205             :     }
    3206           0 :     return true;
    3207             : }
    3208             : 
    3209           0 : auto PWebRenderBridgeParent::Write(
    3210             :         const AnimationSegment& v__,
    3211             :         Message* msg__) -> void
    3212             : {
    3213           0 :     Write((v__).startState(), msg__);
    3214             :     // Sentinel = 'startState'
    3215           0 :     (msg__)->WriteSentinel(4108886385);
    3216           0 :     Write((v__).endState(), msg__);
    3217             :     // Sentinel = 'endState'
    3218           0 :     (msg__)->WriteSentinel(1429422250);
    3219           0 :     Write((v__).startPortion(), msg__);
    3220             :     // Sentinel = 'startPortion'
    3221           0 :     (msg__)->WriteSentinel(3719513325);
    3222           0 :     Write((v__).endPortion(), msg__);
    3223             :     // Sentinel = 'endPortion'
    3224           0 :     (msg__)->WriteSentinel(2820069090);
    3225           0 :     Write((v__).startComposite(), msg__);
    3226             :     // Sentinel = 'startComposite'
    3227           0 :     (msg__)->WriteSentinel(293778843);
    3228           0 :     Write((v__).endComposite(), msg__);
    3229             :     // Sentinel = 'endComposite'
    3230           0 :     (msg__)->WriteSentinel(734492384);
    3231           0 :     Write((v__).sampleFn(), msg__);
    3232             :     // Sentinel = 'sampleFn'
    3233           0 :     (msg__)->WriteSentinel(939676522);
    3234           0 : }
    3235             : 
    3236           0 : auto PWebRenderBridgeParent::Read(
    3237             :         AnimationSegment* v__,
    3238             :         const Message* msg__,
    3239             :         PickleIterator* iter__) -> bool
    3240             : {
    3241           0 :     if ((!(Read((&((v__)->startState())), msg__, iter__)))) {
    3242           0 :         FatalError("Error deserializing 'startState' (Animatable) member of 'AnimationSegment'");
    3243           0 :         return false;
    3244             :     }
    3245             :     // Sentinel = 'startState'
    3246           0 :     if ((!((msg__)->ReadSentinel(iter__, 4108886385)))) {
    3247           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'startState' (Animatable) member of 'AnimationSegment'");
    3248           0 :         return false;
    3249             :     }
    3250           0 :     if ((!(Read((&((v__)->endState())), msg__, iter__)))) {
    3251           0 :         FatalError("Error deserializing 'endState' (Animatable) member of 'AnimationSegment'");
    3252           0 :         return false;
    3253             :     }
    3254             :     // Sentinel = 'endState'
    3255           0 :     if ((!((msg__)->ReadSentinel(iter__, 1429422250)))) {
    3256           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'endState' (Animatable) member of 'AnimationSegment'");
    3257           0 :         return false;
    3258             :     }
    3259           0 :     if ((!(Read((&((v__)->startPortion())), msg__, iter__)))) {
    3260           0 :         FatalError("Error deserializing 'startPortion' (float) member of 'AnimationSegment'");
    3261           0 :         return false;
    3262             :     }
    3263             :     // Sentinel = 'startPortion'
    3264           0 :     if ((!((msg__)->ReadSentinel(iter__, 3719513325)))) {
    3265           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'startPortion' (float) member of 'AnimationSegment'");
    3266           0 :         return false;
    3267             :     }
    3268           0 :     if ((!(Read((&((v__)->endPortion())), msg__, iter__)))) {
    3269           0 :         FatalError("Error deserializing 'endPortion' (float) member of 'AnimationSegment'");
    3270           0 :         return false;
    3271             :     }
    3272             :     // Sentinel = 'endPortion'
    3273           0 :     if ((!((msg__)->ReadSentinel(iter__, 2820069090)))) {
    3274           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'endPortion' (float) member of 'AnimationSegment'");
    3275           0 :         return false;
    3276             :     }
    3277           0 :     if ((!(Read((&((v__)->startComposite())), msg__, iter__)))) {
    3278           0 :         FatalError("Error deserializing 'startComposite' (uint8_t) member of 'AnimationSegment'");
    3279           0 :         return false;
    3280             :     }
    3281             :     // Sentinel = 'startComposite'
    3282           0 :     if ((!((msg__)->ReadSentinel(iter__, 293778843)))) {
    3283           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'startComposite' (uint8_t) member of 'AnimationSegment'");
    3284           0 :         return false;
    3285             :     }
    3286           0 :     if ((!(Read((&((v__)->endComposite())), msg__, iter__)))) {
    3287           0 :         FatalError("Error deserializing 'endComposite' (uint8_t) member of 'AnimationSegment'");
    3288           0 :         return false;
    3289             :     }
    3290             :     // Sentinel = 'endComposite'
    3291           0 :     if ((!((msg__)->ReadSentinel(iter__, 734492384)))) {
    3292           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'endComposite' (uint8_t) member of 'AnimationSegment'");
    3293           0 :         return false;
    3294             :     }
    3295           0 :     if ((!(Read((&((v__)->sampleFn())), msg__, iter__)))) {
    3296           0 :         FatalError("Error deserializing 'sampleFn' (TimingFunction) member of 'AnimationSegment'");
    3297           0 :         return false;
    3298             :     }
    3299             :     // Sentinel = 'sampleFn'
    3300           0 :     if ((!((msg__)->ReadSentinel(iter__, 939676522)))) {
    3301           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'sampleFn' (TimingFunction) member of 'AnimationSegment'");
    3302           0 :         return false;
    3303             :     }
    3304           0 :     return true;
    3305             : }
    3306             : 
    3307           0 : auto PWebRenderBridgeParent::Write(
    3308             :         const MaybeTexture& v__,
    3309             :         Message* msg__) -> void
    3310             : {
    3311             :     typedef MaybeTexture type__;
    3312           0 :     Write(int((v__).type()), msg__);
    3313             :     // Sentinel = 'MaybeTexture'
    3314           0 :     (msg__)->WriteSentinel(264725529);
    3315             : 
    3316           0 :     switch ((v__).type()) {
    3317             :     case type__::TPTextureParent:
    3318             :         {
    3319           0 :             Write((v__).get_PTextureParent(), msg__, false);
    3320             :             // Sentinel = 'TPTextureParent'
    3321           0 :             (msg__)->WriteSentinel(896696938);
    3322           0 :             return;
    3323             :         }
    3324             :     case type__::TPTextureChild:
    3325             :         {
    3326           0 :             FatalError("wrong side!");
    3327           0 :             return;
    3328             :         }
    3329             :     case type__::Tnull_t:
    3330             :         {
    3331           0 :             Write((v__).get_null_t(), msg__);
    3332             :             // Sentinel = 'Tnull_t'
    3333           0 :             (msg__)->WriteSentinel(3731137201);
    3334           0 :             return;
    3335             :         }
    3336             :     default:
    3337             :         {
    3338           0 :             FatalError("unknown union type");
    3339           0 :             return;
    3340             :         }
    3341             :     }
    3342             : }
    3343             : 
    3344           0 : auto PWebRenderBridgeParent::Read(
    3345             :         MaybeTexture* v__,
    3346             :         const Message* msg__,
    3347             :         PickleIterator* iter__) -> bool
    3348             : {
    3349             :     typedef MaybeTexture type__;
    3350             :     int type;
    3351           0 :     if ((!(Read((&(type)), msg__, iter__)))) {
    3352           0 :         mozilla::ipc::UnionTypeReadError("MaybeTexture");
    3353           0 :         return false;
    3354             :     }
    3355             :     // Sentinel = 'MaybeTexture'
    3356           0 :     if ((!((msg__)->ReadSentinel(iter__, 264725529)))) {
    3357           0 :         mozilla::ipc::SentinelReadError("MaybeTexture");
    3358           0 :         return false;
    3359             :     }
    3360             : 
    3361           0 :     switch (type) {
    3362             :     case type__::TPTextureParent:
    3363             :         {
    3364           0 :             return false;
    3365             :         }
    3366             :     case type__::TPTextureChild:
    3367             :         {
    3368           0 :             PTextureParent* tmp = nullptr;
    3369           0 :             (*(v__)) = tmp;
    3370           0 :             if ((!(Read((&((v__)->get_PTextureParent())), msg__, iter__, false)))) {
    3371           0 :                 FatalError("Error deserializing Union type");
    3372           0 :                 return false;
    3373             :             }
    3374             :             // Sentinel = 'TPTextureChild'
    3375           0 :             if ((!((msg__)->ReadSentinel(iter__, 3251900187)))) {
    3376           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    3377           0 :                 return false;
    3378             :             }
    3379           0 :             return true;
    3380             :         }
    3381             :     case type__::Tnull_t:
    3382             :         {
    3383             :             null_t tmp = null_t();
    3384           0 :             (*(v__)) = tmp;
    3385           0 :             if ((!(Read((&((v__)->get_null_t())), msg__, iter__)))) {
    3386           0 :                 FatalError("Error deserializing Union type");
    3387           0 :                 return false;
    3388             :             }
    3389             :             // Sentinel = 'Tnull_t'
    3390           0 :             if ((!((msg__)->ReadSentinel(iter__, 3731137201)))) {
    3391           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    3392           0 :                 return false;
    3393             :             }
    3394           0 :             return true;
    3395             :         }
    3396             :     default:
    3397             :         {
    3398           0 :             FatalError("unknown union type");
    3399           0 :             return false;
    3400             :         }
    3401             :     }
    3402             : }
    3403             : 
    3404           0 : auto PWebRenderBridgeParent::Write(
    3405             :         const FramesFunction& v__,
    3406             :         Message* msg__) -> void
    3407             : {
    3408           0 :     Write((v__).frames(), msg__);
    3409             :     // Sentinel = 'frames'
    3410           0 :     (msg__)->WriteSentinel(3065599768);
    3411           0 : }
    3412             : 
    3413           0 : auto PWebRenderBridgeParent::Read(
    3414             :         FramesFunction* v__,
    3415             :         const Message* msg__,
    3416             :         PickleIterator* iter__) -> bool
    3417             : {
    3418           0 :     if ((!(Read((&((v__)->frames())), msg__, iter__)))) {
    3419           0 :         FatalError("Error deserializing 'frames' (int) member of 'FramesFunction'");
    3420           0 :         return false;
    3421             :     }
    3422             :     // Sentinel = 'frames'
    3423           0 :     if ((!((msg__)->ReadSentinel(iter__, 3065599768)))) {
    3424           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'frames' (int) member of 'FramesFunction'");
    3425           0 :         return false;
    3426             :     }
    3427           0 :     return true;
    3428             : }
    3429             : 
    3430           0 : auto PWebRenderBridgeParent::Write(
    3431             :         const OpDestroy& v__,
    3432             :         Message* msg__) -> void
    3433             : {
    3434             :     typedef OpDestroy type__;
    3435           0 :     Write(int((v__).type()), msg__);
    3436             :     // Sentinel = 'OpDestroy'
    3437           0 :     (msg__)->WriteSentinel(3796861956);
    3438             : 
    3439           0 :     switch ((v__).type()) {
    3440             :     case type__::TPTextureParent:
    3441             :         {
    3442           0 :             Write((v__).get_PTextureParent(), msg__, false);
    3443             :             // Sentinel = 'TPTextureParent'
    3444           0 :             (msg__)->WriteSentinel(896696938);
    3445           0 :             return;
    3446             :         }
    3447             :     case type__::TPTextureChild:
    3448             :         {
    3449           0 :             FatalError("wrong side!");
    3450           0 :             return;
    3451             :         }
    3452             :     case type__::TCompositableHandle:
    3453             :         {
    3454           0 :             Write((v__).get_CompositableHandle(), msg__);
    3455             :             // Sentinel = 'TCompositableHandle'
    3456           0 :             (msg__)->WriteSentinel(4258010777);
    3457           0 :             return;
    3458             :         }
    3459             :     default:
    3460             :         {
    3461           0 :             FatalError("unknown union type");
    3462           0 :             return;
    3463             :         }
    3464             :     }
    3465             : }
    3466             : 
    3467           0 : auto PWebRenderBridgeParent::Read(
    3468             :         OpDestroy* v__,
    3469             :         const Message* msg__,
    3470             :         PickleIterator* iter__) -> bool
    3471             : {
    3472             :     typedef OpDestroy type__;
    3473             :     int type;
    3474           0 :     if ((!(Read((&(type)), msg__, iter__)))) {
    3475           0 :         mozilla::ipc::UnionTypeReadError("OpDestroy");
    3476           0 :         return false;
    3477             :     }
    3478             :     // Sentinel = 'OpDestroy'
    3479           0 :     if ((!((msg__)->ReadSentinel(iter__, 3796861956)))) {
    3480           0 :         mozilla::ipc::SentinelReadError("OpDestroy");
    3481           0 :         return false;
    3482             :     }
    3483             : 
    3484           0 :     switch (type) {
    3485             :     case type__::TPTextureParent:
    3486             :         {
    3487           0 :             return false;
    3488             :         }
    3489             :     case type__::TPTextureChild:
    3490             :         {
    3491           0 :             PTextureParent* tmp = nullptr;
    3492           0 :             (*(v__)) = tmp;
    3493           0 :             if ((!(Read((&((v__)->get_PTextureParent())), msg__, iter__, false)))) {
    3494           0 :                 FatalError("Error deserializing Union type");
    3495           0 :                 return false;
    3496             :             }
    3497             :             // Sentinel = 'TPTextureChild'
    3498           0 :             if ((!((msg__)->ReadSentinel(iter__, 3251900187)))) {
    3499           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    3500           0 :                 return false;
    3501             :             }
    3502           0 :             return true;
    3503             :         }
    3504             :     case type__::TCompositableHandle:
    3505             :         {
    3506           0 :             CompositableHandle tmp = CompositableHandle();
    3507           0 :             (*(v__)) = tmp;
    3508           0 :             if ((!(Read((&((v__)->get_CompositableHandle())), msg__, iter__)))) {
    3509           0 :                 FatalError("Error deserializing Union type");
    3510           0 :                 return false;
    3511             :             }
    3512             :             // Sentinel = 'TCompositableHandle'
    3513           0 :             if ((!((msg__)->ReadSentinel(iter__, 4258010777)))) {
    3514           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    3515           0 :                 return false;
    3516             :             }
    3517           0 :             return true;
    3518             :         }
    3519             :     default:
    3520             :         {
    3521           0 :             FatalError("unknown union type");
    3522           0 :             return false;
    3523             :         }
    3524             :     }
    3525             : }
    3526             : 
    3527           0 : auto PWebRenderBridgeParent::Write(
    3528             :         const SkewX& v__,
    3529             :         Message* msg__) -> void
    3530             : {
    3531           0 :     Write((v__).x(), msg__);
    3532             :     // Sentinel = 'x'
    3533           0 :     (msg__)->WriteSentinel(2475144313);
    3534           0 : }
    3535             : 
    3536           0 : auto PWebRenderBridgeParent::Read(
    3537             :         SkewX* v__,
    3538             :         const Message* msg__,
    3539             :         PickleIterator* iter__) -> bool
    3540             : {
    3541           0 :     if ((!(Read((&((v__)->x())), msg__, iter__)))) {
    3542           0 :         FatalError("Error deserializing 'x' (CSSAngle) member of 'SkewX'");
    3543           0 :         return false;
    3544             :     }
    3545             :     // Sentinel = 'x'
    3546           0 :     if ((!((msg__)->ReadSentinel(iter__, 2475144313)))) {
    3547           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'x' (CSSAngle) member of 'SkewX'");
    3548           0 :         return false;
    3549             :     }
    3550           0 :     return true;
    3551             : }
    3552             : 
    3553           0 : auto PWebRenderBridgeParent::Write(
    3554             :         const SkewY& v__,
    3555             :         Message* msg__) -> void
    3556             : {
    3557           0 :     Write((v__).y(), msg__);
    3558             :     // Sentinel = 'y'
    3559           0 :     (msg__)->WriteSentinel(2603144696);
    3560           0 : }
    3561             : 
    3562           0 : auto PWebRenderBridgeParent::Read(
    3563             :         SkewY* v__,
    3564             :         const Message* msg__,
    3565             :         PickleIterator* iter__) -> bool
    3566             : {
    3567           0 :     if ((!(Read((&((v__)->y())), msg__, iter__)))) {
    3568           0 :         FatalError("Error deserializing 'y' (CSSAngle) member of 'SkewY'");
    3569           0 :         return false;
    3570             :     }
    3571             :     // Sentinel = 'y'
    3572           0 :     if ((!((msg__)->ReadSentinel(iter__, 2603144696)))) {
    3573           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'y' (CSSAngle) member of 'SkewY'");
    3574           0 :         return false;
    3575             :     }
    3576           0 :     return true;
    3577             : }
    3578             : 
    3579           0 : auto PWebRenderBridgeParent::Write(
    3580             :         const RotationZ& v__,
    3581             :         Message* msg__) -> void
    3582             : {
    3583           0 :     Write((v__).angle(), msg__);
    3584             :     // Sentinel = 'angle'
    3585           0 :     (msg__)->WriteSentinel(3388308388);
    3586           0 : }
    3587             : 
    3588           0 : auto PWebRenderBridgeParent::Read(
    3589             :         RotationZ* v__,
    3590             :         const Message* msg__,
    3591             :         PickleIterator* iter__) -> bool
    3592             : {
    3593           0 :     if ((!(Read((&((v__)->angle())), msg__, iter__)))) {
    3594           0 :         FatalError("Error deserializing 'angle' (CSSAngle) member of 'RotationZ'");
    3595           0 :         return false;
    3596             :     }
    3597             :     // Sentinel = 'angle'
    3598           0 :     if ((!((msg__)->ReadSentinel(iter__, 3388308388)))) {
    3599           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'angle' (CSSAngle) member of 'RotationZ'");
    3600           0 :         return false;
    3601             :     }
    3602           0 :     return true;
    3603             : }
    3604             : 
    3605           0 : auto PWebRenderBridgeParent::Write(
    3606             :         const OpUpdateAsyncImagePipeline& v__,
    3607             :         Message* msg__) -> void
    3608             : {
    3609           0 :     Write((v__).pipelineId(), msg__);
    3610             :     // Sentinel = 'pipelineId'
    3611           0 :     (msg__)->WriteSentinel(4067092043);
    3612           0 :     Write((v__).scBounds(), msg__);
    3613             :     // Sentinel = 'scBounds'
    3614           0 :     (msg__)->WriteSentinel(448805933);
    3615           0 :     Write((v__).scTransform(), msg__);
    3616             :     // Sentinel = 'scTransform'
    3617           0 :     (msg__)->WriteSentinel(1345782441);
    3618           0 :     Write((v__).scaleToSize(), msg__);
    3619             :     // Sentinel = 'scaleToSize'
    3620           0 :     (msg__)->WriteSentinel(1078440273);
    3621           0 :     Write((v__).filter(), msg__);
    3622             :     // Sentinel = 'filter'
    3623           0 :     (msg__)->WriteSentinel(2236769008);
    3624           0 :     Write((v__).mixBlendMode(), msg__);
    3625             :     // Sentinel = 'mixBlendMode'
    3626           0 :     (msg__)->WriteSentinel(1158101226);
    3627           0 : }
    3628             : 
    3629           0 : auto PWebRenderBridgeParent::Read(
    3630             :         OpUpdateAsyncImagePipeline* v__,
    3631             :         const Message* msg__,
    3632             :         PickleIterator* iter__) -> bool
    3633             : {
    3634           0 :     if ((!(Read((&((v__)->pipelineId())), msg__, iter__)))) {
    3635           0 :         FatalError("Error deserializing 'pipelineId' (PipelineId) member of 'OpUpdateAsyncImagePipeline'");
    3636           0 :         return false;
    3637             :     }
    3638             :     // Sentinel = 'pipelineId'
    3639           0 :     if ((!((msg__)->ReadSentinel(iter__, 4067092043)))) {
    3640           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'pipelineId' (PipelineId) member of 'OpUpdateAsyncImagePipeline'");
    3641           0 :         return false;
    3642             :     }
    3643           0 :     if ((!(Read((&((v__)->scBounds())), msg__, iter__)))) {
    3644           0 :         FatalError("Error deserializing 'scBounds' (LayerRect) member of 'OpUpdateAsyncImagePipeline'");
    3645           0 :         return false;
    3646             :     }
    3647             :     // Sentinel = 'scBounds'
    3648           0 :     if ((!((msg__)->ReadSentinel(iter__, 448805933)))) {
    3649           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'scBounds' (LayerRect) member of 'OpUpdateAsyncImagePipeline'");
    3650           0 :         return false;
    3651             :     }
    3652           0 :     if ((!(Read((&((v__)->scTransform())), msg__, iter__)))) {
    3653           0 :         FatalError("Error deserializing 'scTransform' (Matrix4x4) member of 'OpUpdateAsyncImagePipeline'");
    3654           0 :         return false;
    3655             :     }
    3656             :     // Sentinel = 'scTransform'
    3657           0 :     if ((!((msg__)->ReadSentinel(iter__, 1345782441)))) {
    3658           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'scTransform' (Matrix4x4) member of 'OpUpdateAsyncImagePipeline'");
    3659           0 :         return false;
    3660             :     }
    3661           0 :     if ((!(Read((&((v__)->scaleToSize())), msg__, iter__)))) {
    3662           0 :         FatalError("Error deserializing 'scaleToSize' (MaybeIntSize) member of 'OpUpdateAsyncImagePipeline'");
    3663           0 :         return false;
    3664             :     }
    3665             :     // Sentinel = 'scaleToSize'
    3666           0 :     if ((!((msg__)->ReadSentinel(iter__, 1078440273)))) {
    3667           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'scaleToSize' (MaybeIntSize) member of 'OpUpdateAsyncImagePipeline'");
    3668           0 :         return false;
    3669             :     }
    3670           0 :     if ((!(Read((&((v__)->filter())), msg__, iter__)))) {
    3671           0 :         FatalError("Error deserializing 'filter' (WrImageRendering) member of 'OpUpdateAsyncImagePipeline'");
    3672           0 :         return false;
    3673             :     }
    3674             :     // Sentinel = 'filter'
    3675           0 :     if ((!((msg__)->ReadSentinel(iter__, 2236769008)))) {
    3676           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'filter' (WrImageRendering) member of 'OpUpdateAsyncImagePipeline'");
    3677           0 :         return false;
    3678             :     }
    3679           0 :     if ((!(Read((&((v__)->mixBlendMode())), msg__, iter__)))) {
    3680           0 :         FatalError("Error deserializing 'mixBlendMode' (WrMixBlendMode) member of 'OpUpdateAsyncImagePipeline'");
    3681           0 :         return false;
    3682             :     }
    3683             :     // Sentinel = 'mixBlendMode'
    3684           0 :     if ((!((msg__)->ReadSentinel(iter__, 1158101226)))) {
    3685           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'mixBlendMode' (WrMixBlendMode) member of 'OpUpdateAsyncImagePipeline'");
    3686           0 :         return false;
    3687             :     }
    3688           0 :     return true;
    3689             : }
    3690             : 
    3691           0 : auto PWebRenderBridgeParent::Write(
    3692             :         const RotationY& v__,
    3693             :         Message* msg__) -> void
    3694             : {
    3695           0 :     Write((v__).angle(), msg__);
    3696             :     // Sentinel = 'angle'
    3697           0 :     (msg__)->WriteSentinel(3388308388);
    3698           0 : }
    3699             : 
    3700           0 : auto PWebRenderBridgeParent::Read(
    3701             :         RotationY* v__,
    3702             :         const Message* msg__,
    3703             :         PickleIterator* iter__) -> bool
    3704             : {
    3705           0 :     if ((!(Read((&((v__)->angle())), msg__, iter__)))) {
    3706           0 :         FatalError("Error deserializing 'angle' (CSSAngle) member of 'RotationY'");
    3707           0 :         return false;
    3708             :     }
    3709             :     // Sentinel = 'angle'
    3710           0 :     if ((!((msg__)->ReadSentinel(iter__, 3388308388)))) {
    3711           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'angle' (CSSAngle) member of 'RotationY'");
    3712           0 :         return false;
    3713             :     }
    3714           0 :     return true;
    3715             : }
    3716             : 
    3717           0 : auto PWebRenderBridgeParent::Write(
    3718             :         const OpRemoveTexture& v__,
    3719             :         Message* msg__) -> void
    3720             : {
    3721           0 :     Write((v__).textureParent(), msg__, false);
    3722             :     // Sentinel = 'texture'
    3723           0 :     (msg__)->WriteSentinel(3654462510);
    3724             :     // skipping actor field that's meaningless on this side
    3725           0 : }
    3726             : 
    3727           0 : auto PWebRenderBridgeParent::Read(
    3728             :         OpRemoveTexture* v__,
    3729             :         const Message* msg__,
    3730             :         PickleIterator* iter__) -> bool
    3731             : {
    3732           0 :     if ((!(Read((&((v__)->textureParent())), msg__, iter__, false)))) {
    3733           0 :         FatalError("Error deserializing 'textureParent' (PTexture) member of 'OpRemoveTexture'");
    3734           0 :         return false;
    3735             :     }
    3736             :     // Sentinel = 'texture'
    3737           0 :     if ((!((msg__)->ReadSentinel(iter__, 3654462510)))) {
    3738           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'textureParent' (PTexture) member of 'OpRemoveTexture'");
    3739           0 :         return false;
    3740             :     }
    3741             :     // skipping actor field that's meaningless on this side
    3742           0 :     return true;
    3743             : }
    3744             : 
    3745           0 : auto PWebRenderBridgeParent::Write(
    3746             :         const TileDescriptor& v__,
    3747             :         Message* msg__) -> void
    3748             : {
    3749             :     typedef TileDescriptor type__;
    3750           0 :     Write(int((v__).type()), msg__);
    3751             :     // Sentinel = 'TileDescriptor'
    3752           0 :     (msg__)->WriteSentinel(1522454921);
    3753             : 
    3754           0 :     switch ((v__).type()) {
    3755             :     case type__::TTexturedTileDescriptor:
    3756             :         {
    3757           0 :             Write((v__).get_TexturedTileDescriptor(), msg__);
    3758             :             // Sentinel = 'TTexturedTileDescriptor'
    3759           0 :             (msg__)->WriteSentinel(2237132903);
    3760           0 :             return;
    3761             :         }
    3762             :     case type__::TPlaceholderTileDescriptor:
    3763             :         {
    3764           0 :             Write((v__).get_PlaceholderTileDescriptor(), msg__);
    3765             :             // Sentinel = 'TPlaceholderTileDescriptor'
    3766           0 :             (msg__)->WriteSentinel(1643451770);
    3767           0 :             return;
    3768             :         }
    3769             :     default:
    3770             :         {
    3771           0 :             FatalError("unknown union type");
    3772           0 :             return;
    3773             :         }
    3774             :     }
    3775             : }
    3776             : 
    3777           0 : auto PWebRenderBridgeParent::Read(
    3778             :         TileDescriptor* v__,
    3779             :         const Message* msg__,
    3780             :         PickleIterator* iter__) -> bool
    3781             : {
    3782             :     typedef TileDescriptor type__;
    3783             :     int type;
    3784           0 :     if ((!(Read((&(type)), msg__, iter__)))) {
    3785           0 :         mozilla::ipc::UnionTypeReadError("TileDescriptor");
    3786           0 :         return false;
    3787             :     }
    3788             :     // Sentinel = 'TileDescriptor'
    3789           0 :     if ((!((msg__)->ReadSentinel(iter__, 1522454921)))) {
    3790           0 :         mozilla::ipc::SentinelReadError("TileDescriptor");
    3791           0 :         return false;
    3792             :     }
    3793             : 
    3794           0 :     switch (type) {
    3795             :     case type__::TTexturedTileDescriptor:
    3796             :         {
    3797           0 :             TexturedTileDescriptor tmp = TexturedTileDescriptor();
    3798           0 :             (*(v__)) = tmp;
    3799           0 :             if ((!(Read((&((v__)->get_TexturedTileDescriptor())), msg__, iter__)))) {
    3800           0 :                 FatalError("Error deserializing Union type");
    3801           0 :                 return false;
    3802             :             }
    3803             :             // Sentinel = 'TTexturedTileDescriptor'
    3804           0 :             if ((!((msg__)->ReadSentinel(iter__, 2237132903)))) {
    3805           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    3806           0 :                 return false;
    3807             :             }
    3808           0 :             return true;
    3809             :         }
    3810             :     case type__::TPlaceholderTileDescriptor:
    3811             :         {
    3812           0 :             PlaceholderTileDescriptor tmp = PlaceholderTileDescriptor();
    3813           0 :             (*(v__)) = tmp;
    3814           0 :             if ((!(Read((&((v__)->get_PlaceholderTileDescriptor())), msg__, iter__)))) {
    3815           0 :                 FatalError("Error deserializing Union type");
    3816           0 :                 return false;
    3817             :             }
    3818             :             // Sentinel = 'TPlaceholderTileDescriptor'
    3819           0 :             if ((!((msg__)->ReadSentinel(iter__, 1643451770)))) {
    3820           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    3821           0 :                 return false;
    3822             :             }
    3823           0 :             return true;
    3824             :         }
    3825             :     default:
    3826             :         {
    3827           0 :             FatalError("unknown union type");
    3828           0 :             return false;
    3829             :         }
    3830             :     }
    3831             : }
    3832             : 
    3833           0 : auto PWebRenderBridgeParent::Write(
    3834             :         Shmem& v__,
    3835             :         Message* msg__) -> void
    3836             : {
    3837           0 :     IPC::WriteParam(msg__, v__);
    3838           0 :     (v__).RevokeRights(Shmem::IHadBetterBeIPDLCodeCallingThis_OtherwiseIAmADoodyhead());
    3839           0 :     (v__).forget(Shmem::IHadBetterBeIPDLCodeCallingThis_OtherwiseIAmADoodyhead());
    3840           0 : }
    3841             : 
    3842           0 : auto PWebRenderBridgeParent::Read(
    3843             :         Shmem* v__,
    3844             :         const Message* msg__,
    3845             :         PickleIterator* iter__) -> bool
    3846             : {
    3847           0 :     Shmem tmp;
    3848           0 :     if ((!(IPC::ReadParam(msg__, iter__, (&(tmp)))))) {
    3849           0 :         return false;
    3850             :     }
    3851             : 
    3852           0 :     Shmem::id_t shmemid = (tmp).Id(Shmem::IHadBetterBeIPDLCodeCallingThis_OtherwiseIAmADoodyhead());
    3853           0 :     Shmem::SharedMemory* rawmem = LookupSharedMemory(shmemid);
    3854           0 :     if (rawmem) {
    3855           0 :         (*(v__)) = Shmem(Shmem::IHadBetterBeIPDLCodeCallingThis_OtherwiseIAmADoodyhead(), rawmem, shmemid);
    3856           0 :         return true;
    3857             :     }
    3858           0 :     (*(v__)) = Shmem();
    3859           0 :     return true;
    3860             : }
    3861             : 
    3862           0 : auto PWebRenderBridgeParent::Write(
    3863             :         const CubicBezierFunction& v__,
    3864             :         Message* msg__) -> void
    3865             : {
    3866           0 :     Write((v__).x1(), msg__);
    3867             :     // Sentinel = 'x1'
    3868           0 :     (msg__)->WriteSentinel(739453787);
    3869           0 :     Write((v__).y1(), msg__);
    3870             :     // Sentinel = 'y1'
    3871           0 :     (msg__)->WriteSentinel(2893099544);
    3872           0 :     Write((v__).x2(), msg__);
    3873             :     // Sentinel = 'x2'
    3874           0 :     (msg__)->WriteSentinel(739453784);
    3875           0 :     Write((v__).y2(), msg__);
    3876             :     // Sentinel = 'y2'
    3877           0 :     (msg__)->WriteSentinel(2893099547);
    3878           0 : }
    3879             : 
    3880           0 : auto PWebRenderBridgeParent::Read(
    3881             :         CubicBezierFunction* v__,
    3882             :         const Message* msg__,
    3883             :         PickleIterator* iter__) -> bool
    3884             : {
    3885           0 :     if ((!(Read((&((v__)->x1())), msg__, iter__)))) {
    3886           0 :         FatalError("Error deserializing 'x1' (float) member of 'CubicBezierFunction'");
    3887           0 :         return false;
    3888             :     }
    3889             :     // Sentinel = 'x1'
    3890           0 :     if ((!((msg__)->ReadSentinel(iter__, 739453787)))) {
    3891           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'x1' (float) member of 'CubicBezierFunction'");
    3892           0 :         return false;
    3893             :     }
    3894           0 :     if ((!(Read((&((v__)->y1())), msg__, iter__)))) {
    3895           0 :         FatalError("Error deserializing 'y1' (float) member of 'CubicBezierFunction'");
    3896           0 :         return false;
    3897             :     }
    3898             :     // Sentinel = 'y1'
    3899           0 :     if ((!((msg__)->ReadSentinel(iter__, 2893099544)))) {
    3900           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'y1' (float) member of 'CubicBezierFunction'");
    3901           0 :         return false;
    3902             :     }
    3903           0 :     if ((!(Read((&((v__)->x2())), msg__, iter__)))) {
    3904           0 :         FatalError("Error deserializing 'x2' (float) member of 'CubicBezierFunction'");
    3905           0 :         return false;
    3906             :     }
    3907             :     // Sentinel = 'x2'
    3908           0 :     if ((!((msg__)->ReadSentinel(iter__, 739453784)))) {
    3909           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'x2' (float) member of 'CubicBezierFunction'");
    3910           0 :         return false;
    3911             :     }
    3912           0 :     if ((!(Read((&((v__)->y2())), msg__, iter__)))) {
    3913           0 :         FatalError("Error deserializing 'y2' (float) member of 'CubicBezierFunction'");
    3914           0 :         return false;
    3915             :     }
    3916             :     // Sentinel = 'y2'
    3917           0 :     if ((!((msg__)->ReadSentinel(iter__, 2893099547)))) {
    3918           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'y2' (float) member of 'CubicBezierFunction'");
    3919           0 :         return false;
    3920             :     }
    3921           0 :     return true;
    3922             : }
    3923             : 
    3924           0 : auto PWebRenderBridgeParent::Write(
    3925             :         const Perspective& v__,
    3926             :         Message* msg__) -> void
    3927             : {
    3928           0 :     Write((v__).value(), msg__);
    3929             :     // Sentinel = 'value'
    3930           0 :     (msg__)->WriteSentinel(3456818542);
    3931           0 : }
    3932             : 
    3933           0 : auto PWebRenderBridgeParent::Read(
    3934             :         Perspective* v__,
    3935             :         const Message* msg__,
    3936             :         PickleIterator* iter__) -> bool
    3937             : {
    3938           0 :     if ((!(Read((&((v__)->value())), msg__, iter__)))) {
    3939           0 :         FatalError("Error deserializing 'value' (float) member of 'Perspective'");
    3940           0 :         return false;
    3941             :     }
    3942             :     // Sentinel = 'value'
    3943           0 :     if ((!((msg__)->ReadSentinel(iter__, 3456818542)))) {
    3944           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'value' (float) member of 'Perspective'");
    3945           0 :         return false;
    3946             :     }
    3947           0 :     return true;
    3948             : }
    3949             : 
    3950           0 : auto PWebRenderBridgeParent::Write(
    3951             :         const MaybeTransform& v__,
    3952             :         Message* msg__) -> void
    3953             : {
    3954             :     typedef MaybeTransform type__;
    3955           0 :     Write(int((v__).type()), msg__);
    3956             :     // Sentinel = 'MaybeTransform'
    3957           0 :     (msg__)->WriteSentinel(3057705086);
    3958             : 
    3959           0 :     switch ((v__).type()) {
    3960             :     case type__::TMatrix4x4:
    3961             :         {
    3962           0 :             Write((v__).get_Matrix4x4(), msg__);
    3963             :             // Sentinel = 'TMatrix4x4'
    3964           0 :             (msg__)->WriteSentinel(1886581935);
    3965           0 :             return;
    3966             :         }
    3967             :     case type__::Tvoid_t:
    3968             :         {
    3969           0 :             Write((v__).get_void_t(), msg__);
    3970             :             // Sentinel = 'Tvoid_t'
    3971           0 :             (msg__)->WriteSentinel(3041273328);
    3972           0 :             return;
    3973             :         }
    3974             :     default:
    3975             :         {
    3976           0 :             FatalError("unknown union type");
    3977           0 :             return;
    3978             :         }
    3979             :     }
    3980             : }
    3981             : 
    3982           0 : auto PWebRenderBridgeParent::Read(
    3983             :         MaybeTransform* v__,
    3984             :         const Message* msg__,
    3985             :         PickleIterator* iter__) -> bool
    3986             : {
    3987             :     typedef MaybeTransform type__;
    3988             :     int type;
    3989           0 :     if ((!(Read((&(type)), msg__, iter__)))) {
    3990           0 :         mozilla::ipc::UnionTypeReadError("MaybeTransform");
    3991           0 :         return false;
    3992             :     }
    3993             :     // Sentinel = 'MaybeTransform'
    3994           0 :     if ((!((msg__)->ReadSentinel(iter__, 3057705086)))) {
    3995           0 :         mozilla::ipc::SentinelReadError("MaybeTransform");
    3996           0 :         return false;
    3997             :     }
    3998             : 
    3999           0 :     switch (type) {
    4000             :     case type__::TMatrix4x4:
    4001             :         {
    4002           0 :             Matrix4x4 tmp = Matrix4x4();
    4003           0 :             (*(v__)) = tmp;
    4004           0 :             if ((!(Read((&((v__)->get_Matrix4x4())), msg__, iter__)))) {
    4005           0 :                 FatalError("Error deserializing Union type");
    4006           0 :                 return false;
    4007             :             }
    4008             :             // Sentinel = 'TMatrix4x4'
    4009           0 :             if ((!((msg__)->ReadSentinel(iter__, 1886581935)))) {
    4010           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    4011           0 :                 return false;
    4012             :             }
    4013           0 :             return true;
    4014             :         }
    4015             :     case type__::Tvoid_t:
    4016             :         {
    4017             :             void_t tmp = void_t();
    4018           0 :             (*(v__)) = tmp;
    4019           0 :             if ((!(Read((&((v__)->get_void_t())), msg__, iter__)))) {
    4020           0 :                 FatalError("Error deserializing Union type");
    4021           0 :                 return false;
    4022             :             }
    4023             :             // Sentinel = 'Tvoid_t'
    4024           0 :             if ((!((msg__)->ReadSentinel(iter__, 3041273328)))) {
    4025           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    4026           0 :                 return false;
    4027             :             }
    4028           0 :             return true;
    4029             :         }
    4030             :     default:
    4031             :         {
    4032           0 :             FatalError("unknown union type");
    4033           0 :             return false;
    4034             :         }
    4035             :     }
    4036             : }
    4037             : 
    4038           0 : auto PWebRenderBridgeParent::Write(
    4039             :         const Rotation& v__,
    4040             :         Message* msg__) -> void
    4041             : {
    4042           0 :     Write((v__).angle(), msg__);
    4043             :     // Sentinel = 'angle'
    4044           0 :     (msg__)->WriteSentinel(3388308388);
    4045           0 : }
    4046             : 
    4047           0 : auto PWebRenderBridgeParent::Read(
    4048             :         Rotation* v__,
    4049             :         const Message* msg__,
    4050             :         PickleIterator* iter__) -> bool
    4051             : {
    4052           0 :     if ((!(Read((&((v__)->angle())), msg__, iter__)))) {
    4053           0 :         FatalError("Error deserializing 'angle' (CSSAngle) member of 'Rotation'");
    4054           0 :         return false;
    4055             :     }
    4056             :     // Sentinel = 'angle'
    4057           0 :     if ((!((msg__)->ReadSentinel(iter__, 3388308388)))) {
    4058           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'angle' (CSSAngle) member of 'Rotation'");
    4059           0 :         return false;
    4060             :     }
    4061           0 :     return true;
    4062             : }
    4063             : 
    4064           0 : auto PWebRenderBridgeParent::Write(
    4065             :         const OpAddExternalImage& v__,
    4066             :         Message* msg__) -> void
    4067             : {
    4068           0 :     Write((v__).externalImageId(), msg__);
    4069             :     // Sentinel = 'externalImageId'
    4070           0 :     (msg__)->WriteSentinel(2839682692);
    4071           0 :     Write((v__).key(), msg__);
    4072             :     // Sentinel = 'key'
    4073           0 :     (msg__)->WriteSentinel(35142870);
    4074           0 : }
    4075             : 
    4076           0 : auto PWebRenderBridgeParent::Read(
    4077             :         OpAddExternalImage* v__,
    4078             :         const Message* msg__,
    4079             :         PickleIterator* iter__) -> bool
    4080             : {
    4081           0 :     if ((!(Read((&((v__)->externalImageId())), msg__, iter__)))) {
    4082           0 :         FatalError("Error deserializing 'externalImageId' (ExternalImageId) member of 'OpAddExternalImage'");
    4083           0 :         return false;
    4084             :     }
    4085             :     // Sentinel = 'externalImageId'
    4086           0 :     if ((!((msg__)->ReadSentinel(iter__, 2839682692)))) {
    4087           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'externalImageId' (ExternalImageId) member of 'OpAddExternalImage'");
    4088           0 :         return false;
    4089             :     }
    4090           0 :     if ((!(Read((&((v__)->key())), msg__, iter__)))) {
    4091           0 :         FatalError("Error deserializing 'key' (ImageKey) member of 'OpAddExternalImage'");
    4092           0 :         return false;
    4093             :     }
    4094             :     // Sentinel = 'key'
    4095           0 :     if ((!((msg__)->ReadSentinel(iter__, 35142870)))) {
    4096           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'key' (ImageKey) member of 'OpAddExternalImage'");
    4097           0 :         return false;
    4098             :     }
    4099           0 :     return true;
    4100             : }
    4101             : 
    4102           0 : auto PWebRenderBridgeParent::Write(
    4103             :         const nsTArray<TransformFunction>& v__,
    4104             :         Message* msg__) -> void
    4105             : {
    4106           0 :     uint32_t length = (v__).Length();
    4107           0 :     Write(length, msg__);
    4108             :     // Sentinel = ('length', 'TransformFunction[]')
    4109           0 :     (msg__)->WriteSentinel(2517499252);
    4110             : 
    4111           0 :     for (auto& elem : v__) {
    4112           0 :         Write(elem, msg__);
    4113             :         // Sentinel = 'TransformFunction[]'
    4114           0 :         (msg__)->WriteSentinel(1101525651);
    4115             :     }
    4116           0 : }
    4117             : 
    4118           0 : auto PWebRenderBridgeParent::Read(
    4119             :         nsTArray<TransformFunction>* v__,
    4120             :         const Message* msg__,
    4121             :         PickleIterator* iter__) -> bool
    4122             : {
    4123           0 :     nsTArray<TransformFunction> fa;
    4124             :     uint32_t length;
    4125           0 :     if ((!(Read((&(length)), msg__, iter__)))) {
    4126           0 :         mozilla::ipc::ArrayLengthReadError("TransformFunction[]");
    4127           0 :         return false;
    4128             :     }
    4129             :     // Sentinel = ('length', 'TransformFunction[]')
    4130           0 :     if ((!((msg__)->ReadSentinel(iter__, 2517499252)))) {
    4131           0 :         mozilla::ipc::SentinelReadError("TransformFunction[]");
    4132           0 :         return false;
    4133             :     }
    4134             : 
    4135           0 :     TransformFunction* elems = (fa).AppendElements(length);
    4136           0 :     for (uint32_t i = 0; (i) < (length); (++(i))) {
    4137           0 :         if ((!(Read((&(elems[i])), msg__, iter__)))) {
    4138           0 :             FatalError("Error deserializing 'TransformFunction[i]'");
    4139           0 :             return false;
    4140             :         }
    4141             :         // Sentinel = 'TransformFunction[]'
    4142           0 :         if ((!((msg__)->ReadSentinel(iter__, 1101525651)))) {
    4143           0 :             mozilla::ipc::SentinelReadError("Error deserializing 'TransformFunction[i]'");
    4144           0 :             return false;
    4145             :         }
    4146             :     }
    4147           0 :     (v__)->SwapElements(fa);
    4148           0 :     return true;
    4149             : }
    4150             : 
    4151           0 : auto PWebRenderBridgeParent::Write(
    4152             :         const TransformData& v__,
    4153             :         Message* msg__) -> void
    4154             : {
    4155           0 :     Write((v__).origin(), msg__);
    4156             :     // Sentinel = 'origin'
    4157           0 :     (msg__)->WriteSentinel(1429924608);
    4158           0 :     Write((v__).transformOrigin(), msg__);
    4159             :     // Sentinel = 'transformOrigin'
    4160           0 :     (msg__)->WriteSentinel(466321709);
    4161           0 :     Write((v__).bounds(), msg__);
    4162             :     // Sentinel = 'bounds'
    4163           0 :     (msg__)->WriteSentinel(809584493);
    4164           0 :     Write((v__).appUnitsPerDevPixel(), msg__);
    4165             :     // Sentinel = 'appUnitsPerDevPixel'
    4166           0 :     (msg__)->WriteSentinel(2226875639);
    4167           0 :     Write((v__).inheritedXScale(), msg__);
    4168             :     // Sentinel = 'inheritedXScale'
    4169           0 :     (msg__)->WriteSentinel(1285237395);
    4170           0 :     Write((v__).inheritedYScale(), msg__);
    4171             :     // Sentinel = 'inheritedYScale'
    4172           0 :     (msg__)->WriteSentinel(3724217552);
    4173           0 :     Write((v__).hasPerspectiveParent(), msg__);
    4174             :     // Sentinel = 'hasPerspectiveParent'
    4175           0 :     (msg__)->WriteSentinel(1340430378);
    4176           0 : }
    4177             : 
    4178           0 : auto PWebRenderBridgeParent::Read(
    4179             :         TransformData* v__,
    4180             :         const Message* msg__,
    4181             :         PickleIterator* iter__) -> bool
    4182             : {
    4183           0 :     if ((!(Read((&((v__)->origin())), msg__, iter__)))) {
    4184           0 :         FatalError("Error deserializing 'origin' (nsPoint) member of 'TransformData'");
    4185           0 :         return false;
    4186             :     }
    4187             :     // Sentinel = 'origin'
    4188           0 :     if ((!((msg__)->ReadSentinel(iter__, 1429924608)))) {
    4189           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'origin' (nsPoint) member of 'TransformData'");
    4190           0 :         return false;
    4191             :     }
    4192           0 :     if ((!(Read((&((v__)->transformOrigin())), msg__, iter__)))) {
    4193           0 :         FatalError("Error deserializing 'transformOrigin' (Point3D) member of 'TransformData'");
    4194           0 :         return false;
    4195             :     }
    4196             :     // Sentinel = 'transformOrigin'
    4197           0 :     if ((!((msg__)->ReadSentinel(iter__, 466321709)))) {
    4198           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'transformOrigin' (Point3D) member of 'TransformData'");
    4199           0 :         return false;
    4200             :     }
    4201           0 :     if ((!(Read((&((v__)->bounds())), msg__, iter__)))) {
    4202           0 :         FatalError("Error deserializing 'bounds' (nsRect) member of 'TransformData'");
    4203           0 :         return false;
    4204             :     }
    4205             :     // Sentinel = 'bounds'
    4206           0 :     if ((!((msg__)->ReadSentinel(iter__, 809584493)))) {
    4207           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'bounds' (nsRect) member of 'TransformData'");
    4208           0 :         return false;
    4209             :     }
    4210           0 :     if ((!(Read((&((v__)->appUnitsPerDevPixel())), msg__, iter__)))) {
    4211           0 :         FatalError("Error deserializing 'appUnitsPerDevPixel' (int32_t) member of 'TransformData'");
    4212           0 :         return false;
    4213             :     }
    4214             :     // Sentinel = 'appUnitsPerDevPixel'
    4215           0 :     if ((!((msg__)->ReadSentinel(iter__, 2226875639)))) {
    4216           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'appUnitsPerDevPixel' (int32_t) member of 'TransformData'");
    4217           0 :         return false;
    4218             :     }
    4219           0 :     if ((!(Read((&((v__)->inheritedXScale())), msg__, iter__)))) {
    4220           0 :         FatalError("Error deserializing 'inheritedXScale' (float) member of 'TransformData'");
    4221           0 :         return false;
    4222             :     }
    4223             :     // Sentinel = 'inheritedXScale'
    4224           0 :     if ((!((msg__)->ReadSentinel(iter__, 1285237395)))) {
    4225           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'inheritedXScale' (float) member of 'TransformData'");
    4226           0 :         return false;
    4227             :     }
    4228           0 :     if ((!(Read((&((v__)->inheritedYScale())), msg__, iter__)))) {
    4229           0 :         FatalError("Error deserializing 'inheritedYScale' (float) member of 'TransformData'");
    4230           0 :         return false;
    4231             :     }
    4232             :     // Sentinel = 'inheritedYScale'
    4233           0 :     if ((!((msg__)->ReadSentinel(iter__, 3724217552)))) {
    4234           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'inheritedYScale' (float) member of 'TransformData'");
    4235           0 :         return false;
    4236             :     }
    4237           0 :     if ((!(Read((&((v__)->hasPerspectiveParent())), msg__, iter__)))) {
    4238           0 :         FatalError("Error deserializing 'hasPerspectiveParent' (bool) member of 'TransformData'");
    4239           0 :         return false;
    4240             :     }
    4241             :     // Sentinel = 'hasPerspectiveParent'
    4242           0 :     if ((!((msg__)->ReadSentinel(iter__, 1340430378)))) {
    4243           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'hasPerspectiveParent' (bool) member of 'TransformData'");
    4244           0 :         return false;
    4245             :     }
    4246           0 :     return true;
    4247             : }
    4248             : 
    4249           0 : auto PWebRenderBridgeParent::Write(
    4250             :         const StepFunction& v__,
    4251             :         Message* msg__) -> void
    4252             : {
    4253           0 :     Write((v__).steps(), msg__);
    4254             :     // Sentinel = 'steps'
    4255           0 :     (msg__)->WriteSentinel(713197172);
    4256           0 :     Write((v__).type(), msg__);
    4257             :     // Sentinel = 'type'
    4258           0 :     (msg__)->WriteSentinel(2982068540);
    4259           0 : }
    4260             : 
    4261           0 : auto PWebRenderBridgeParent::Read(
    4262             :         StepFunction* v__,
    4263             :         const Message* msg__,
    4264             :         PickleIterator* iter__) -> bool
    4265             : {
    4266           0 :     if ((!(Read((&((v__)->steps())), msg__, iter__)))) {
    4267           0 :         FatalError("Error deserializing 'steps' (int) member of 'StepFunction'");
    4268           0 :         return false;
    4269             :     }
    4270             :     // Sentinel = 'steps'
    4271           0 :     if ((!((msg__)->ReadSentinel(iter__, 713197172)))) {
    4272           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'steps' (int) member of 'StepFunction'");
    4273           0 :         return false;
    4274             :     }
    4275           0 :     if ((!(Read((&((v__)->type())), msg__, iter__)))) {
    4276           0 :         FatalError("Error deserializing 'type' (int) member of 'StepFunction'");
    4277           0 :         return false;
    4278             :     }
    4279             :     // Sentinel = 'type'
    4280           0 :     if ((!((msg__)->ReadSentinel(iter__, 2982068540)))) {
    4281           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'type' (int) member of 'StepFunction'");
    4282           0 :         return false;
    4283             :     }
    4284           0 :     return true;
    4285             : }
    4286             : 
    4287           0 : auto PWebRenderBridgeParent::Write(
    4288             :         const nsTArray<TileDescriptor>& v__,
    4289             :         Message* msg__) -> void
    4290             : {
    4291           0 :     uint32_t length = (v__).Length();
    4292           0 :     Write(length, msg__);
    4293             :     // Sentinel = ('length', 'TileDescriptor[]')
    4294           0 :     (msg__)->WriteSentinel(709203120);
    4295             : 
    4296           0 :     for (auto& elem : v__) {
    4297           0 :         Write(elem, msg__);
    4298             :         // Sentinel = 'TileDescriptor[]'
    4299           0 :         (msg__)->WriteSentinel(3848440807);
    4300             :     }
    4301           0 : }
    4302             : 
    4303           0 : auto PWebRenderBridgeParent::Read(
    4304             :         nsTArray<TileDescriptor>* v__,
    4305             :         const Message* msg__,
    4306             :         PickleIterator* iter__) -> bool
    4307             : {
    4308           0 :     nsTArray<TileDescriptor> fa;
    4309             :     uint32_t length;
    4310           0 :     if ((!(Read((&(length)), msg__, iter__)))) {
    4311           0 :         mozilla::ipc::ArrayLengthReadError("TileDescriptor[]");
    4312           0 :         return false;
    4313             :     }
    4314             :     // Sentinel = ('length', 'TileDescriptor[]')
    4315           0 :     if ((!((msg__)->ReadSentinel(iter__, 709203120)))) {
    4316           0 :         mozilla::ipc::SentinelReadError("TileDescriptor[]");
    4317           0 :         return false;
    4318             :     }
    4319             : 
    4320           0 :     TileDescriptor* elems = (fa).AppendElements(length);
    4321           0 :     for (uint32_t i = 0; (i) < (length); (++(i))) {
    4322           0 :         if ((!(Read((&(elems[i])), msg__, iter__)))) {
    4323           0 :             FatalError("Error deserializing 'TileDescriptor[i]'");
    4324           0 :             return false;
    4325             :         }
    4326             :         // Sentinel = 'TileDescriptor[]'
    4327           0 :         if ((!((msg__)->ReadSentinel(iter__, 3848440807)))) {
    4328           0 :             mozilla::ipc::SentinelReadError("Error deserializing 'TileDescriptor[i]'");
    4329           0 :             return false;
    4330             :         }
    4331             :     }
    4332           0 :     (v__)->SwapElements(fa);
    4333           0 :     return true;
    4334             : }
    4335             : 
    4336           0 : auto PWebRenderBridgeParent::Write(
    4337             :         const AnimationData& v__,
    4338             :         Message* msg__) -> void
    4339             : {
    4340             :     typedef AnimationData type__;
    4341           0 :     Write(int((v__).type()), msg__);
    4342             :     // Sentinel = 'AnimationData'
    4343           0 :     (msg__)->WriteSentinel(3226711031);
    4344             : 
    4345           0 :     switch ((v__).type()) {
    4346             :     case type__::Tnull_t:
    4347             :         {
    4348           0 :             Write((v__).get_null_t(), msg__);
    4349             :             // Sentinel = 'Tnull_t'
    4350           0 :             (msg__)->WriteSentinel(3731137201);
    4351           0 :             return;
    4352             :         }
    4353             :     case type__::TTransformData:
    4354             :         {
    4355           0 :             Write((v__).get_TransformData(), msg__);
    4356             :             // Sentinel = 'TTransformData'
    4357           0 :             (msg__)->WriteSentinel(3843342686);
    4358           0 :             return;
    4359             :         }
    4360             :     default:
    4361             :         {
    4362           0 :             FatalError("unknown union type");
    4363           0 :             return;
    4364             :         }
    4365             :     }
    4366             : }
    4367             : 
    4368           0 : auto PWebRenderBridgeParent::Read(
    4369             :         AnimationData* v__,
    4370             :         const Message* msg__,
    4371             :         PickleIterator* iter__) -> bool
    4372             : {
    4373             :     typedef AnimationData type__;
    4374             :     int type;
    4375           0 :     if ((!(Read((&(type)), msg__, iter__)))) {
    4376           0 :         mozilla::ipc::UnionTypeReadError("AnimationData");
    4377           0 :         return false;
    4378             :     }
    4379             :     // Sentinel = 'AnimationData'
    4380           0 :     if ((!((msg__)->ReadSentinel(iter__, 3226711031)))) {
    4381           0 :         mozilla::ipc::SentinelReadError("AnimationData");
    4382           0 :         return false;
    4383             :     }
    4384             : 
    4385           0 :     switch (type) {
    4386             :     case type__::Tnull_t:
    4387             :         {
    4388             :             null_t tmp = null_t();
    4389           0 :             (*(v__)) = tmp;
    4390           0 :             if ((!(Read((&((v__)->get_null_t())), msg__, iter__)))) {
    4391           0 :                 FatalError("Error deserializing Union type");
    4392           0 :                 return false;
    4393             :             }
    4394             :             // Sentinel = 'Tnull_t'
    4395           0 :             if ((!((msg__)->ReadSentinel(iter__, 3731137201)))) {
    4396           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    4397           0 :                 return false;
    4398             :             }
    4399           0 :             return true;
    4400             :         }
    4401             :     case type__::TTransformData:
    4402             :         {
    4403           0 :             TransformData tmp = TransformData();
    4404           0 :             (*(v__)) = tmp;
    4405           0 :             if ((!(Read((&((v__)->get_TransformData())), msg__, iter__)))) {
    4406           0 :                 FatalError("Error deserializing Union type");
    4407           0 :                 return false;
    4408             :             }
    4409             :             // Sentinel = 'TTransformData'
    4410           0 :             if ((!((msg__)->ReadSentinel(iter__, 3843342686)))) {
    4411           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    4412           0 :                 return false;
    4413             :             }
    4414           0 :             return true;
    4415             :         }
    4416             :     default:
    4417             :         {
    4418           0 :             FatalError("unknown union type");
    4419           0 :             return false;
    4420             :         }
    4421             :     }
    4422             : }
    4423             : 
    4424           0 : auto PWebRenderBridgeParent::Write(
    4425             :         const nsTArray<AnimationSegment>& v__,
    4426             :         Message* msg__) -> void
    4427             : {
    4428           0 :     uint32_t length = (v__).Length();
    4429           0 :     Write(length, msg__);
    4430             :     // Sentinel = ('length', 'AnimationSegment[]')
    4431           0 :     (msg__)->WriteSentinel(3972020876);
    4432             : 
    4433           0 :     for (auto& elem : v__) {
    4434           0 :         Write(elem, msg__);
    4435             :         // Sentinel = 'AnimationSegment[]'
    4436           0 :         (msg__)->WriteSentinel(3516015771);
    4437             :     }
    4438           0 : }
    4439             : 
    4440           0 : auto PWebRenderBridgeParent::Read(
    4441             :         nsTArray<AnimationSegment>* v__,
    4442             :         const Message* msg__,
    4443             :         PickleIterator* iter__) -> bool
    4444             : {
    4445           0 :     nsTArray<AnimationSegment> fa;
    4446             :     uint32_t length;
    4447           0 :     if ((!(Read((&(length)), msg__, iter__)))) {
    4448           0 :         mozilla::ipc::ArrayLengthReadError("AnimationSegment[]");
    4449           0 :         return false;
    4450             :     }
    4451             :     // Sentinel = ('length', 'AnimationSegment[]')
    4452           0 :     if ((!((msg__)->ReadSentinel(iter__, 3972020876)))) {
    4453           0 :         mozilla::ipc::SentinelReadError("AnimationSegment[]");
    4454           0 :         return false;
    4455             :     }
    4456             : 
    4457           0 :     AnimationSegment* elems = (fa).AppendElements(length);
    4458           0 :     for (uint32_t i = 0; (i) < (length); (++(i))) {
    4459           0 :         if ((!(Read((&(elems[i])), msg__, iter__)))) {
    4460           0 :             FatalError("Error deserializing 'AnimationSegment[i]'");
    4461           0 :             return false;
    4462             :         }
    4463             :         // Sentinel = 'AnimationSegment[]'
    4464           0 :         if ((!((msg__)->ReadSentinel(iter__, 3516015771)))) {
    4465           0 :             mozilla::ipc::SentinelReadError("Error deserializing 'AnimationSegment[i]'");
    4466           0 :             return false;
    4467             :         }
    4468             :     }
    4469           0 :     (v__)->SwapElements(fa);
    4470           0 :     return true;
    4471             : }
    4472             : 
    4473           0 : auto PWebRenderBridgeParent::Write(
    4474             :         const Rotation3D& v__,
    4475             :         Message* msg__) -> void
    4476             : {
    4477           0 :     Write((v__).x(), msg__);
    4478             :     // Sentinel = 'x'
    4479           0 :     (msg__)->WriteSentinel(2475144313);
    4480           0 :     Write((v__).y(), msg__);
    4481             :     // Sentinel = 'y'
    4482           0 :     (msg__)->WriteSentinel(2603144696);
    4483           0 :     Write((v__).z(), msg__);
    4484             :     // Sentinel = 'z'
    4485           0 :     (msg__)->WriteSentinel(2731145083);
    4486           0 :     Write((v__).angle(), msg__);
    4487             :     // Sentinel = 'angle'
    4488           0 :     (msg__)->WriteSentinel(3388308388);
    4489           0 : }
    4490             : 
    4491           0 : auto PWebRenderBridgeParent::Read(
    4492             :         Rotation3D* v__,
    4493             :         const Message* msg__,
    4494             :         PickleIterator* iter__) -> bool
    4495             : {
    4496           0 :     if ((!(Read((&((v__)->x())), msg__, iter__)))) {
    4497           0 :         FatalError("Error deserializing 'x' (float) member of 'Rotation3D'");
    4498           0 :         return false;
    4499             :     }
    4500             :     // Sentinel = 'x'
    4501           0 :     if ((!((msg__)->ReadSentinel(iter__, 2475144313)))) {
    4502           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'x' (float) member of 'Rotation3D'");
    4503           0 :         return false;
    4504             :     }
    4505           0 :     if ((!(Read((&((v__)->y())), msg__, iter__)))) {
    4506           0 :         FatalError("Error deserializing 'y' (float) member of 'Rotation3D'");
    4507           0 :         return false;
    4508             :     }
    4509             :     // Sentinel = 'y'
    4510           0 :     if ((!((msg__)->ReadSentinel(iter__, 2603144696)))) {
    4511           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'y' (float) member of 'Rotation3D'");
    4512           0 :         return false;
    4513             :     }
    4514           0 :     if ((!(Read((&((v__)->z())), msg__, iter__)))) {
    4515           0 :         FatalError("Error deserializing 'z' (float) member of 'Rotation3D'");
    4516           0 :         return false;
    4517             :     }
    4518             :     // Sentinel = 'z'
    4519           0 :     if ((!((msg__)->ReadSentinel(iter__, 2731145083)))) {
    4520           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'z' (float) member of 'Rotation3D'");
    4521           0 :         return false;
    4522             :     }
    4523           0 :     if ((!(Read((&((v__)->angle())), msg__, iter__)))) {
    4524           0 :         FatalError("Error deserializing 'angle' (CSSAngle) member of 'Rotation3D'");
    4525           0 :         return false;
    4526             :     }
    4527             :     // Sentinel = 'angle'
    4528           0 :     if ((!((msg__)->ReadSentinel(iter__, 3388308388)))) {
    4529           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'angle' (CSSAngle) member of 'Rotation3D'");
    4530           0 :         return false;
    4531             :     }
    4532           0 :     return true;
    4533             : }
    4534             : 
    4535           0 : auto PWebRenderBridgeParent::Write(
    4536             :         const ReadLockInit& v__,
    4537             :         Message* msg__) -> void
    4538             : {
    4539           0 :     Write((v__).sharedLock(), msg__);
    4540             :     // Sentinel = 'sharedLock'
    4541           0 :     (msg__)->WriteSentinel(1249896484);
    4542           0 :     Write((v__).handle(), msg__);
    4543             :     // Sentinel = 'handle'
    4544           0 :     (msg__)->WriteSentinel(453975108);
    4545           0 : }
    4546             : 
    4547           0 : auto PWebRenderBridgeParent::Read(
    4548             :         ReadLockInit* v__,
    4549             :         const Message* msg__,
    4550             :         PickleIterator* iter__) -> bool
    4551             : {
    4552           0 :     if ((!(Read((&((v__)->sharedLock())), msg__, iter__)))) {
    4553           0 :         FatalError("Error deserializing 'sharedLock' (ReadLockDescriptor) member of 'ReadLockInit'");
    4554           0 :         return false;
    4555             :     }
    4556             :     // Sentinel = 'sharedLock'
    4557           0 :     if ((!((msg__)->ReadSentinel(iter__, 1249896484)))) {
    4558           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'sharedLock' (ReadLockDescriptor) member of 'ReadLockInit'");
    4559           0 :         return false;
    4560             :     }
    4561           0 :     if ((!(Read((&((v__)->handle())), msg__, iter__)))) {
    4562           0 :         FatalError("Error deserializing 'handle' (ReadLockHandle) member of 'ReadLockInit'");
    4563           0 :         return false;
    4564             :     }
    4565             :     // Sentinel = 'handle'
    4566           0 :     if ((!((msg__)->ReadSentinel(iter__, 453975108)))) {
    4567           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'handle' (ReadLockHandle) member of 'ReadLockInit'");
    4568           0 :         return false;
    4569             :     }
    4570           0 :     return true;
    4571             : }
    4572             : 
    4573           0 : auto PWebRenderBridgeParent::Write(
    4574             :         const nsTArray<TimedTexture>& v__,
    4575             :         Message* msg__) -> void
    4576             : {
    4577           0 :     uint32_t length = (v__).Length();
    4578           0 :     Write(length, msg__);
    4579             :     // Sentinel = ('length', 'TimedTexture[]')
    4580           0 :     (msg__)->WriteSentinel(3681527117);
    4581             : 
    4582           0 :     for (auto& elem : v__) {
    4583           0 :         Write(elem, msg__);
    4584             :         // Sentinel = 'TimedTexture[]'
    4585           0 :         (msg__)->WriteSentinel(1531351012);
    4586             :     }
    4587           0 : }
    4588             : 
    4589           0 : auto PWebRenderBridgeParent::Read(
    4590             :         nsTArray<TimedTexture>* v__,
    4591             :         const Message* msg__,
    4592             :         PickleIterator* iter__) -> bool
    4593             : {
    4594           0 :     nsTArray<TimedTexture> fa;
    4595             :     uint32_t length;
    4596           0 :     if ((!(Read((&(length)), msg__, iter__)))) {
    4597           0 :         mozilla::ipc::ArrayLengthReadError("TimedTexture[]");
    4598           0 :         return false;
    4599             :     }
    4600             :     // Sentinel = ('length', 'TimedTexture[]')
    4601           0 :     if ((!((msg__)->ReadSentinel(iter__, 3681527117)))) {
    4602           0 :         mozilla::ipc::SentinelReadError("TimedTexture[]");
    4603           0 :         return false;
    4604             :     }
    4605             : 
    4606           0 :     TimedTexture* elems = (fa).AppendElements(length);
    4607           0 :     for (uint32_t i = 0; (i) < (length); (++(i))) {
    4608           0 :         if ((!(Read((&(elems[i])), msg__, iter__)))) {
    4609           0 :             FatalError("Error deserializing 'TimedTexture[i]'");
    4610           0 :             return false;
    4611             :         }
    4612             :         // Sentinel = 'TimedTexture[]'
    4613           0 :         if ((!((msg__)->ReadSentinel(iter__, 1531351012)))) {
    4614           0 :             mozilla::ipc::SentinelReadError("Error deserializing 'TimedTexture[i]'");
    4615           0 :             return false;
    4616             :         }
    4617             :     }
    4618           0 :     (v__)->SwapElements(fa);
    4619           0 :     return true;
    4620             : }
    4621             : 
    4622           0 : auto PWebRenderBridgeParent::Write(
    4623             :         const OptionalOpacity& v__,
    4624             :         Message* msg__) -> void
    4625             : {
    4626             :     typedef OptionalOpacity type__;
    4627           0 :     Write(int((v__).type()), msg__);
    4628             :     // Sentinel = 'OptionalOpacity'
    4629           0 :     (msg__)->WriteSentinel(2560878060);
    4630             : 
    4631           0 :     switch ((v__).type()) {
    4632             :     case type__::Tfloat:
    4633             :         {
    4634           0 :             Write((v__).get_float(), msg__);
    4635             :             // Sentinel = 'Tfloat'
    4636           0 :             (msg__)->WriteSentinel(2693237468);
    4637           0 :             return;
    4638             :         }
    4639             :     case type__::Tvoid_t:
    4640             :         {
    4641           0 :             Write((v__).get_void_t(), msg__);
    4642             :             // Sentinel = 'Tvoid_t'
    4643           0 :             (msg__)->WriteSentinel(3041273328);
    4644           0 :             return;
    4645             :         }
    4646             :     default:
    4647             :         {
    4648           0 :             FatalError("unknown union type");
    4649           0 :             return;
    4650             :         }
    4651             :     }
    4652             : }
    4653             : 
    4654           0 : auto PWebRenderBridgeParent::Read(
    4655             :         OptionalOpacity* v__,
    4656             :         const Message* msg__,
    4657             :         PickleIterator* iter__) -> bool
    4658             : {
    4659             :     typedef OptionalOpacity type__;
    4660             :     int type;
    4661           0 :     if ((!(Read((&(type)), msg__, iter__)))) {
    4662           0 :         mozilla::ipc::UnionTypeReadError("OptionalOpacity");
    4663           0 :         return false;
    4664             :     }
    4665             :     // Sentinel = 'OptionalOpacity'
    4666           0 :     if ((!((msg__)->ReadSentinel(iter__, 2560878060)))) {
    4667           0 :         mozilla::ipc::SentinelReadError("OptionalOpacity");
    4668           0 :         return false;
    4669             :     }
    4670             : 
    4671           0 :     switch (type) {
    4672             :     case type__::Tfloat:
    4673             :         {
    4674           0 :             float tmp = float();
    4675           0 :             (*(v__)) = tmp;
    4676           0 :             if ((!(Read((&((v__)->get_float())), msg__, iter__)))) {
    4677           0 :                 FatalError("Error deserializing Union type");
    4678           0 :                 return false;
    4679             :             }
    4680             :             // Sentinel = 'Tfloat'
    4681           0 :             if ((!((msg__)->ReadSentinel(iter__, 2693237468)))) {
    4682           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    4683           0 :                 return false;
    4684             :             }
    4685           0 :             return true;
    4686             :         }
    4687             :     case type__::Tvoid_t:
    4688             :         {
    4689             :             void_t tmp = void_t();
    4690           0 :             (*(v__)) = tmp;
    4691           0 :             if ((!(Read((&((v__)->get_void_t())), msg__, iter__)))) {
    4692           0 :                 FatalError("Error deserializing Union type");
    4693           0 :                 return false;
    4694             :             }
    4695             :             // Sentinel = 'Tvoid_t'
    4696           0 :             if ((!((msg__)->ReadSentinel(iter__, 3041273328)))) {
    4697           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    4698           0 :                 return false;
    4699             :             }
    4700           0 :             return true;
    4701             :         }
    4702             :     default:
    4703             :         {
    4704           0 :             FatalError("unknown union type");
    4705           0 :             return false;
    4706             :         }
    4707             :     }
    4708             : }
    4709             : 
    4710           0 : auto PWebRenderBridgeParent::Write(
    4711             :         const CompositableOperation& v__,
    4712             :         Message* msg__) -> void
    4713             : {
    4714           0 :     Write((v__).compositable(), msg__);
    4715             :     // Sentinel = 'compositable'
    4716           0 :     (msg__)->WriteSentinel(4031958248);
    4717           0 :     Write((v__).detail(), msg__);
    4718             :     // Sentinel = 'detail'
    4719           0 :     (msg__)->WriteSentinel(3931660205);
    4720           0 : }
    4721             : 
    4722           0 : auto PWebRenderBridgeParent::Read(
    4723             :         CompositableOperation* v__,
    4724             :         const Message* msg__,
    4725             :         PickleIterator* iter__) -> bool
    4726             : {
    4727           0 :     if ((!(Read((&((v__)->compositable())), msg__, iter__)))) {
    4728           0 :         FatalError("Error deserializing 'compositable' (CompositableHandle) member of 'CompositableOperation'");
    4729           0 :         return false;
    4730             :     }
    4731             :     // Sentinel = 'compositable'
    4732           0 :     if ((!((msg__)->ReadSentinel(iter__, 4031958248)))) {
    4733           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'compositable' (CompositableHandle) member of 'CompositableOperation'");
    4734           0 :         return false;
    4735             :     }
    4736           0 :     if ((!(Read((&((v__)->detail())), msg__, iter__)))) {
    4737           0 :         FatalError("Error deserializing 'detail' (CompositableOperationDetail) member of 'CompositableOperation'");
    4738           0 :         return false;
    4739             :     }
    4740             :     // Sentinel = 'detail'
    4741           0 :     if ((!((msg__)->ReadSentinel(iter__, 3931660205)))) {
    4742           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'detail' (CompositableOperationDetail) member of 'CompositableOperation'");
    4743           0 :         return false;
    4744             :     }
    4745           0 :     return true;
    4746             : }
    4747             : 
    4748           0 : auto PWebRenderBridgeParent::Write(
    4749             :         const OptionalTransform& v__,
    4750             :         Message* msg__) -> void
    4751             : {
    4752             :     typedef OptionalTransform type__;
    4753           0 :     Write(int((v__).type()), msg__);
    4754             :     // Sentinel = 'OptionalTransform'
    4755           0 :     (msg__)->WriteSentinel(703005225);
    4756             : 
    4757           0 :     switch ((v__).type()) {
    4758             :     case type__::TMatrix4x4:
    4759             :         {
    4760           0 :             Write((v__).get_Matrix4x4(), msg__);
    4761             :             // Sentinel = 'TMatrix4x4'
    4762           0 :             (msg__)->WriteSentinel(1886581935);
    4763           0 :             return;
    4764             :         }
    4765             :     case type__::Tvoid_t:
    4766             :         {
    4767           0 :             Write((v__).get_void_t(), msg__);
    4768             :             // Sentinel = 'Tvoid_t'
    4769           0 :             (msg__)->WriteSentinel(3041273328);
    4770           0 :             return;
    4771             :         }
    4772             :     default:
    4773             :         {
    4774           0 :             FatalError("unknown union type");
    4775           0 :             return;
    4776             :         }
    4777             :     }
    4778             : }
    4779             : 
    4780           0 : auto PWebRenderBridgeParent::Read(
    4781             :         OptionalTransform* v__,
    4782             :         const Message* msg__,
    4783             :         PickleIterator* iter__) -> bool
    4784             : {
    4785             :     typedef OptionalTransform type__;
    4786             :     int type;
    4787           0 :     if ((!(Read((&(type)), msg__, iter__)))) {
    4788           0 :         mozilla::ipc::UnionTypeReadError("OptionalTransform");
    4789           0 :         return false;
    4790             :     }
    4791             :     // Sentinel = 'OptionalTransform'
    4792           0 :     if ((!((msg__)->ReadSentinel(iter__, 703005225)))) {
    4793           0 :         mozilla::ipc::SentinelReadError("OptionalTransform");
    4794           0 :         return false;
    4795             :     }
    4796             : 
    4797           0 :     switch (type) {
    4798             :     case type__::TMatrix4x4:
    4799             :         {
    4800           0 :             Matrix4x4 tmp = Matrix4x4();
    4801           0 :             (*(v__)) = tmp;
    4802           0 :             if ((!(Read((&((v__)->get_Matrix4x4())), msg__, iter__)))) {
    4803           0 :                 FatalError("Error deserializing Union type");
    4804           0 :                 return false;
    4805             :             }
    4806             :             // Sentinel = 'TMatrix4x4'
    4807           0 :             if ((!((msg__)->ReadSentinel(iter__, 1886581935)))) {
    4808           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    4809           0 :                 return false;
    4810             :             }
    4811           0 :             return true;
    4812             :         }
    4813             :     case type__::Tvoid_t:
    4814             :         {
    4815             :             void_t tmp = void_t();
    4816           0 :             (*(v__)) = tmp;
    4817           0 :             if ((!(Read((&((v__)->get_void_t())), msg__, iter__)))) {
    4818           0 :                 FatalError("Error deserializing Union type");
    4819           0 :                 return false;
    4820             :             }
    4821             :             // Sentinel = 'Tvoid_t'
    4822           0 :             if ((!((msg__)->ReadSentinel(iter__, 3041273328)))) {
    4823           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    4824           0 :                 return false;
    4825             :             }
    4826           0 :             return true;
    4827             :         }
    4828             :     default:
    4829             :         {
    4830           0 :             FatalError("unknown union type");
    4831           0 :             return false;
    4832             :         }
    4833             :     }
    4834             : }
    4835             : 
    4836           0 : auto PWebRenderBridgeParent::Write(
    4837             :         const Skew& v__,
    4838             :         Message* msg__) -> void
    4839             : {
    4840           0 :     Write((v__).x(), msg__);
    4841             :     // Sentinel = 'x'
    4842           0 :     (msg__)->WriteSentinel(2475144313);
    4843           0 :     Write((v__).y(), msg__);
    4844             :     // Sentinel = 'y'
    4845           0 :     (msg__)->WriteSentinel(2603144696);
    4846           0 : }
    4847             : 
    4848           0 : auto PWebRenderBridgeParent::Read(
    4849             :         Skew* v__,
    4850             :         const Message* msg__,
    4851             :         PickleIterator* iter__) -> bool
    4852             : {
    4853           0 :     if ((!(Read((&((v__)->x())), msg__, iter__)))) {
    4854           0 :         FatalError("Error deserializing 'x' (CSSAngle) member of 'Skew'");
    4855           0 :         return false;
    4856             :     }
    4857             :     // Sentinel = 'x'
    4858           0 :     if ((!((msg__)->ReadSentinel(iter__, 2475144313)))) {
    4859           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'x' (CSSAngle) member of 'Skew'");
    4860           0 :         return false;
    4861             :     }
    4862           0 :     if ((!(Read((&((v__)->y())), msg__, iter__)))) {
    4863           0 :         FatalError("Error deserializing 'y' (CSSAngle) member of 'Skew'");
    4864           0 :         return false;
    4865             :     }
    4866             :     // Sentinel = 'y'
    4867           0 :     if ((!((msg__)->ReadSentinel(iter__, 2603144696)))) {
    4868           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'y' (CSSAngle) member of 'Skew'");
    4869           0 :         return false;
    4870             :     }
    4871           0 :     return true;
    4872             : }
    4873             : 
    4874           0 : auto PWebRenderBridgeParent::Write(
    4875             :         const CompositableOperationDetail& v__,
    4876             :         Message* msg__) -> void
    4877             : {
    4878             :     typedef CompositableOperationDetail type__;
    4879           0 :     Write(int((v__).type()), msg__);
    4880             :     // Sentinel = 'CompositableOperationDetail'
    4881           0 :     (msg__)->WriteSentinel(676020439);
    4882             : 
    4883           0 :     switch ((v__).type()) {
    4884             :     case type__::TOpPaintTextureRegion:
    4885             :         {
    4886           0 :             Write((v__).get_OpPaintTextureRegion(), msg__);
    4887             :             // Sentinel = 'TOpPaintTextureRegion'
    4888           0 :             (msg__)->WriteSentinel(734509049);
    4889           0 :             return;
    4890             :         }
    4891             :     case type__::TOpUseTiledLayerBuffer:
    4892             :         {
    4893           0 :             Write((v__).get_OpUseTiledLayerBuffer(), msg__);
    4894             :             // Sentinel = 'TOpUseTiledLayerBuffer'
    4895           0 :             (msg__)->WriteSentinel(916924693);
    4896           0 :             return;
    4897             :         }
    4898             :     case type__::TOpRemoveTexture:
    4899             :         {
    4900           0 :             Write((v__).get_OpRemoveTexture(), msg__);
    4901             :             // Sentinel = 'TOpRemoveTexture'
    4902           0 :             (msg__)->WriteSentinel(2379906162);
    4903           0 :             return;
    4904             :         }
    4905             :     case type__::TOpUseTexture:
    4906             :         {
    4907           0 :             Write((v__).get_OpUseTexture(), msg__);
    4908             :             // Sentinel = 'TOpUseTexture'
    4909           0 :             (msg__)->WriteSentinel(581630962);
    4910           0 :             return;
    4911             :         }
    4912             :     case type__::TOpUseComponentAlphaTextures:
    4913             :         {
    4914           0 :             Write((v__).get_OpUseComponentAlphaTextures(), msg__);
    4915             :             // Sentinel = 'TOpUseComponentAlphaTextures'
    4916           0 :             (msg__)->WriteSentinel(457985329);
    4917           0 :             return;
    4918             :         }
    4919             :     default:
    4920             :         {
    4921           0 :             FatalError("unknown union type");
    4922           0 :             return;
    4923             :         }
    4924             :     }
    4925             : }
    4926             : 
    4927           0 : auto PWebRenderBridgeParent::Read(
    4928             :         CompositableOperationDetail* v__,
    4929             :         const Message* msg__,
    4930             :         PickleIterator* iter__) -> bool
    4931             : {
    4932             :     typedef CompositableOperationDetail type__;
    4933             :     int type;
    4934           0 :     if ((!(Read((&(type)), msg__, iter__)))) {
    4935           0 :         mozilla::ipc::UnionTypeReadError("CompositableOperationDetail");
    4936           0 :         return false;
    4937             :     }
    4938             :     // Sentinel = 'CompositableOperationDetail'
    4939           0 :     if ((!((msg__)->ReadSentinel(iter__, 676020439)))) {
    4940           0 :         mozilla::ipc::SentinelReadError("CompositableOperationDetail");
    4941           0 :         return false;
    4942             :     }
    4943             : 
    4944           0 :     switch (type) {
    4945             :     case type__::TOpPaintTextureRegion:
    4946             :         {
    4947           0 :             OpPaintTextureRegion tmp = OpPaintTextureRegion();
    4948           0 :             (*(v__)) = tmp;
    4949           0 :             if ((!(Read((&((v__)->get_OpPaintTextureRegion())), msg__, iter__)))) {
    4950           0 :                 FatalError("Error deserializing Union type");
    4951           0 :                 return false;
    4952             :             }
    4953             :             // Sentinel = 'TOpPaintTextureRegion'
    4954           0 :             if ((!((msg__)->ReadSentinel(iter__, 734509049)))) {
    4955           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    4956           0 :                 return false;
    4957             :             }
    4958           0 :             return true;
    4959             :         }
    4960             :     case type__::TOpUseTiledLayerBuffer:
    4961             :         {
    4962           0 :             OpUseTiledLayerBuffer tmp = OpUseTiledLayerBuffer();
    4963           0 :             (*(v__)) = tmp;
    4964           0 :             if ((!(Read((&((v__)->get_OpUseTiledLayerBuffer())), msg__, iter__)))) {
    4965           0 :                 FatalError("Error deserializing Union type");
    4966           0 :                 return false;
    4967             :             }
    4968             :             // Sentinel = 'TOpUseTiledLayerBuffer'
    4969           0 :             if ((!((msg__)->ReadSentinel(iter__, 916924693)))) {
    4970           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    4971           0 :                 return false;
    4972             :             }
    4973           0 :             return true;
    4974             :         }
    4975             :     case type__::TOpRemoveTexture:
    4976             :         {
    4977           0 :             OpRemoveTexture tmp = OpRemoveTexture();
    4978           0 :             (*(v__)) = tmp;
    4979           0 :             if ((!(Read((&((v__)->get_OpRemoveTexture())), msg__, iter__)))) {
    4980           0 :                 FatalError("Error deserializing Union type");
    4981           0 :                 return false;
    4982             :             }
    4983             :             // Sentinel = 'TOpRemoveTexture'
    4984           0 :             if ((!((msg__)->ReadSentinel(iter__, 2379906162)))) {
    4985           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    4986           0 :                 return false;
    4987             :             }
    4988           0 :             return true;
    4989             :         }
    4990             :     case type__::TOpUseTexture:
    4991             :         {
    4992           0 :             OpUseTexture tmp = OpUseTexture();
    4993           0 :             (*(v__)) = tmp;
    4994           0 :             if ((!(Read((&((v__)->get_OpUseTexture())), msg__, iter__)))) {
    4995           0 :                 FatalError("Error deserializing Union type");
    4996           0 :                 return false;
    4997             :             }
    4998             :             // Sentinel = 'TOpUseTexture'
    4999           0 :             if ((!((msg__)->ReadSentinel(iter__, 581630962)))) {
    5000           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    5001           0 :                 return false;
    5002             :             }
    5003           0 :             return true;
    5004             :         }
    5005             :     case type__::TOpUseComponentAlphaTextures:
    5006             :         {
    5007           0 :             OpUseComponentAlphaTextures tmp = OpUseComponentAlphaTextures();
    5008           0 :             (*(v__)) = tmp;
    5009           0 :             if ((!(Read((&((v__)->get_OpUseComponentAlphaTextures())), msg__, iter__)))) {
    5010           0 :                 FatalError("Error deserializing Union type");
    5011           0 :                 return false;
    5012             :             }
    5013             :             // Sentinel = 'TOpUseComponentAlphaTextures'
    5014           0 :             if ((!((msg__)->ReadSentinel(iter__, 457985329)))) {
    5015           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    5016           0 :                 return false;
    5017             :             }
    5018           0 :             return true;
    5019             :         }
    5020             :     default:
    5021             :         {
    5022           0 :             FatalError("unknown union type");
    5023           0 :             return false;
    5024             :         }
    5025             :     }
    5026             : }
    5027             : 
    5028           0 : auto PWebRenderBridgeParent::Write(
    5029             :         const nsTArray<OpDestroy>& v__,
    5030             :         Message* msg__) -> void
    5031             : {
    5032           0 :     uint32_t length = (v__).Length();
    5033           0 :     Write(length, msg__);
    5034             :     // Sentinel = ('length', 'OpDestroy[]')
    5035           0 :     (msg__)->WriteSentinel(1887202695);
    5036             : 
    5037           0 :     for (auto& elem : v__) {
    5038           0 :         Write(elem, msg__);
    5039             :         // Sentinel = 'OpDestroy[]'
    5040           0 :         (msg__)->WriteSentinel(2935587554);
    5041             :     }
    5042           0 : }
    5043             : 
    5044           0 : auto PWebRenderBridgeParent::Read(
    5045             :         nsTArray<OpDestroy>* v__,
    5046             :         const Message* msg__,
    5047             :         PickleIterator* iter__) -> bool
    5048             : {
    5049           0 :     nsTArray<OpDestroy> fa;
    5050             :     uint32_t length;
    5051           0 :     if ((!(Read((&(length)), msg__, iter__)))) {
    5052           0 :         mozilla::ipc::ArrayLengthReadError("OpDestroy[]");
    5053           0 :         return false;
    5054             :     }
    5055             :     // Sentinel = ('length', 'OpDestroy[]')
    5056           0 :     if ((!((msg__)->ReadSentinel(iter__, 1887202695)))) {
    5057           0 :         mozilla::ipc::SentinelReadError("OpDestroy[]");
    5058           0 :         return false;
    5059             :     }
    5060             : 
    5061           0 :     OpDestroy* elems = (fa).AppendElements(length);
    5062           0 :     for (uint32_t i = 0; (i) < (length); (++(i))) {
    5063           0 :         if ((!(Read((&(elems[i])), msg__, iter__)))) {
    5064           0 :             FatalError("Error deserializing 'OpDestroy[i]'");
    5065           0 :             return false;
    5066             :         }
    5067             :         // Sentinel = 'OpDestroy[]'
    5068           0 :         if ((!((msg__)->ReadSentinel(iter__, 2935587554)))) {
    5069           0 :             mozilla::ipc::SentinelReadError("Error deserializing 'OpDestroy[i]'");
    5070           0 :             return false;
    5071             :         }
    5072             :     }
    5073           0 :     (v__)->SwapElements(fa);
    5074           0 :     return true;
    5075             : }
    5076             : 
    5077           0 : auto PWebRenderBridgeParent::Write(
    5078             :         const OpUseTexture& v__,
    5079             :         Message* msg__) -> void
    5080             : {
    5081           0 :     Write((v__).textures(), msg__);
    5082             :     // Sentinel = 'textures'
    5083           0 :     (msg__)->WriteSentinel(1760338112);
    5084           0 : }
    5085             : 
    5086           0 : auto PWebRenderBridgeParent::Read(
    5087             :         OpUseTexture* v__,
    5088             :         const Message* msg__,
    5089             :         PickleIterator* iter__) -> bool
    5090             : {
    5091           0 :     if ((!(Read((&((v__)->textures())), msg__, iter__)))) {
    5092           0 :         FatalError("Error deserializing 'textures' (TimedTexture[]) member of 'OpUseTexture'");
    5093           0 :         return false;
    5094             :     }
    5095             :     // Sentinel = 'textures'
    5096           0 :     if ((!((msg__)->ReadSentinel(iter__, 1760338112)))) {
    5097           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'textures' (TimedTexture[]) member of 'OpUseTexture'");
    5098           0 :         return false;
    5099             :     }
    5100           0 :     return true;
    5101             : }
    5102             : 
    5103           0 : auto PWebRenderBridgeParent::Write(
    5104             :         const CrossProcessSemaphoreDescriptor& v__,
    5105             :         Message* msg__) -> void
    5106             : {
    5107           0 :     Write((v__).sem(), msg__);
    5108             :     // Sentinel = 'sem'
    5109           0 :     (msg__)->WriteSentinel(3763377306);
    5110           0 : }
    5111             : 
    5112           0 : auto PWebRenderBridgeParent::Read(
    5113             :         CrossProcessSemaphoreDescriptor* v__,
    5114             :         const Message* msg__,
    5115             :         PickleIterator* iter__) -> bool
    5116             : {
    5117           0 :     if ((!(Read((&((v__)->sem())), msg__, iter__)))) {
    5118           0 :         FatalError("Error deserializing 'sem' (CrossProcessSemaphoreHandle) member of 'CrossProcessSemaphoreDescriptor'");
    5119           0 :         return false;
    5120             :     }
    5121             :     // Sentinel = 'sem'
    5122           0 :     if ((!((msg__)->ReadSentinel(iter__, 3763377306)))) {
    5123           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'sem' (CrossProcessSemaphoreHandle) member of 'CrossProcessSemaphoreDescriptor'");
    5124           0 :         return false;
    5125             :     }
    5126           0 :     return true;
    5127             : }
    5128             : 
    5129           0 : auto PWebRenderBridgeParent::Write(
    5130             :         const ReadLockDescriptor& v__,
    5131             :         Message* msg__) -> void
    5132             : {
    5133             :     typedef ReadLockDescriptor type__;
    5134           0 :     Write(int((v__).type()), msg__);
    5135             :     // Sentinel = 'ReadLockDescriptor'
    5136           0 :     (msg__)->WriteSentinel(3238270764);
    5137             : 
    5138           0 :     switch ((v__).type()) {
    5139             :     case type__::TShmemSection:
    5140             :         {
    5141           0 :             Write((v__).get_ShmemSection(), msg__);
    5142             :             // Sentinel = 'TShmemSection'
    5143           0 :             (msg__)->WriteSentinel(3037204004);
    5144           0 :             return;
    5145             :         }
    5146             :     case type__::TCrossProcessSemaphoreDescriptor:
    5147             :         {
    5148           0 :             Write((v__).get_CrossProcessSemaphoreDescriptor(), msg__);
    5149             :             // Sentinel = 'TCrossProcessSemaphoreDescriptor'
    5150           0 :             (msg__)->WriteSentinel(2516853580);
    5151           0 :             return;
    5152             :         }
    5153             :     case type__::Tuintptr_t:
    5154             :         {
    5155           0 :             Write((v__).get_uintptr_t(), msg__);
    5156             :             // Sentinel = 'Tuintptr_t'
    5157           0 :             (msg__)->WriteSentinel(3218141805);
    5158           0 :             return;
    5159             :         }
    5160             :     case type__::Tnull_t:
    5161             :         {
    5162           0 :             Write((v__).get_null_t(), msg__);
    5163             :             // Sentinel = 'Tnull_t'
    5164           0 :             (msg__)->WriteSentinel(3731137201);
    5165           0 :             return;
    5166             :         }
    5167             :     default:
    5168             :         {
    5169           0 :             FatalError("unknown union type");
    5170           0 :             return;
    5171             :         }
    5172             :     }
    5173             : }
    5174             : 
    5175           0 : auto PWebRenderBridgeParent::Read(
    5176             :         ReadLockDescriptor* v__,
    5177             :         const Message* msg__,
    5178             :         PickleIterator* iter__) -> bool
    5179             : {
    5180             :     typedef ReadLockDescriptor type__;
    5181             :     int type;
    5182           0 :     if ((!(Read((&(type)), msg__, iter__)))) {
    5183           0 :         mozilla::ipc::UnionTypeReadError("ReadLockDescriptor");
    5184           0 :         return false;
    5185             :     }
    5186             :     // Sentinel = 'ReadLockDescriptor'
    5187           0 :     if ((!((msg__)->ReadSentinel(iter__, 3238270764)))) {
    5188           0 :         mozilla::ipc::SentinelReadError("ReadLockDescriptor");
    5189           0 :         return false;
    5190             :     }
    5191             : 
    5192           0 :     switch (type) {
    5193             :     case type__::TShmemSection:
    5194             :         {
    5195           0 :             ShmemSection tmp = ShmemSection();
    5196           0 :             (*(v__)) = tmp;
    5197           0 :             if ((!(Read((&((v__)->get_ShmemSection())), msg__, iter__)))) {
    5198           0 :                 FatalError("Error deserializing Union type");
    5199           0 :                 return false;
    5200             :             }
    5201             :             // Sentinel = 'TShmemSection'
    5202           0 :             if ((!((msg__)->ReadSentinel(iter__, 3037204004)))) {
    5203           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    5204           0 :                 return false;
    5205             :             }
    5206           0 :             return true;
    5207             :         }
    5208             :     case type__::TCrossProcessSemaphoreDescriptor:
    5209             :         {
    5210           0 :             CrossProcessSemaphoreDescriptor tmp = CrossProcessSemaphoreDescriptor();
    5211           0 :             (*(v__)) = tmp;
    5212           0 :             if ((!(Read((&((v__)->get_CrossProcessSemaphoreDescriptor())), msg__, iter__)))) {
    5213           0 :                 FatalError("Error deserializing Union type");
    5214           0 :                 return false;
    5215             :             }
    5216             :             // Sentinel = 'TCrossProcessSemaphoreDescriptor'
    5217           0 :             if ((!((msg__)->ReadSentinel(iter__, 2516853580)))) {
    5218           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    5219           0 :                 return false;
    5220             :             }
    5221           0 :             return true;
    5222             :         }
    5223             :     case type__::Tuintptr_t:
    5224             :         {
    5225           0 :             uintptr_t tmp = uintptr_t();
    5226           0 :             (*(v__)) = tmp;
    5227           0 :             if ((!(Read((&((v__)->get_uintptr_t())), msg__, iter__)))) {
    5228           0 :                 FatalError("Error deserializing Union type");
    5229           0 :                 return false;
    5230             :             }
    5231             :             // Sentinel = 'Tuintptr_t'
    5232           0 :             if ((!((msg__)->ReadSentinel(iter__, 3218141805)))) {
    5233           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    5234           0 :                 return false;
    5235             :             }
    5236           0 :             return true;
    5237             :         }
    5238             :     case type__::Tnull_t:
    5239             :         {
    5240             :             null_t tmp = null_t();
    5241           0 :             (*(v__)) = tmp;
    5242           0 :             if ((!(Read((&((v__)->get_null_t())), msg__, iter__)))) {
    5243           0 :                 FatalError("Error deserializing Union type");
    5244           0 :                 return false;
    5245             :             }
    5246             :             // Sentinel = 'Tnull_t'
    5247           0 :             if ((!((msg__)->ReadSentinel(iter__, 3731137201)))) {
    5248           0 :                 mozilla::ipc::SentinelReadError("Error deserializing Union type");
    5249           0 :                 return false;
    5250             :             }
    5251           0 :             return true;
    5252             :         }
    5253             :     default:
    5254             :         {
    5255           0 :             FatalError("unknown union type");
    5256           0 :             return false;
    5257             :         }
    5258             :     }
    5259             : }
    5260             : 
    5261           0 : auto PWebRenderBridgeParent::Write(
    5262             :         const TexturedTileDescriptor& v__,
    5263             :         Message* msg__) -> void
    5264             : {
    5265           0 :     Write((v__).textureParent(), msg__, false);
    5266             :     // Sentinel = 'texture'
    5267           0 :     (msg__)->WriteSentinel(3654462510);
    5268             :     // skipping actor field that's meaningless on this side
    5269           0 :     Write((v__).textureOnWhite(), msg__);
    5270             :     // Sentinel = 'textureOnWhite'
    5271           0 :     (msg__)->WriteSentinel(4123373327);
    5272           0 :     Write((v__).updateRect(), msg__);
    5273             :     // Sentinel = 'updateRect'
    5274           0 :     (msg__)->WriteSentinel(655450235);
    5275           0 :     Write((v__).sharedLock(), msg__);
    5276             :     // Sentinel = 'sharedLock'
    5277           0 :     (msg__)->WriteSentinel(1249896484);
    5278           0 :     Write((v__).sharedLockOnWhite(), msg__);
    5279             :     // Sentinel = 'sharedLockOnWhite'
    5280           0 :     (msg__)->WriteSentinel(2954092853);
    5281           0 :     Write((v__).wasPlaceholder(), msg__);
    5282             :     // Sentinel = 'wasPlaceholder'
    5283           0 :     (msg__)->WriteSentinel(3801375384);
    5284           0 : }
    5285             : 
    5286           0 : auto PWebRenderBridgeParent::Read(
    5287             :         TexturedTileDescriptor* v__,
    5288             :         const Message* msg__,
    5289             :         PickleIterator* iter__) -> bool
    5290             : {
    5291           0 :     if ((!(Read((&((v__)->textureParent())), msg__, iter__, false)))) {
    5292           0 :         FatalError("Error deserializing 'textureParent' (PTexture) member of 'TexturedTileDescriptor'");
    5293           0 :         return false;
    5294             :     }
    5295             :     // Sentinel = 'texture'
    5296           0 :     if ((!((msg__)->ReadSentinel(iter__, 3654462510)))) {
    5297           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'textureParent' (PTexture) member of 'TexturedTileDescriptor'");
    5298           0 :         return false;
    5299             :     }
    5300             :     // skipping actor field that's meaningless on this side
    5301           0 :     if ((!(Read((&((v__)->textureOnWhite())), msg__, iter__)))) {
    5302           0 :         FatalError("Error deserializing 'textureOnWhite' (MaybeTexture) member of 'TexturedTileDescriptor'");
    5303           0 :         return false;
    5304             :     }
    5305             :     // Sentinel = 'textureOnWhite'
    5306           0 :     if ((!((msg__)->ReadSentinel(iter__, 4123373327)))) {
    5307           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'textureOnWhite' (MaybeTexture) member of 'TexturedTileDescriptor'");
    5308           0 :         return false;
    5309             :     }
    5310           0 :     if ((!(Read((&((v__)->updateRect())), msg__, iter__)))) {
    5311           0 :         FatalError("Error deserializing 'updateRect' (IntRect) member of 'TexturedTileDescriptor'");
    5312           0 :         return false;
    5313             :     }
    5314             :     // Sentinel = 'updateRect'
    5315           0 :     if ((!((msg__)->ReadSentinel(iter__, 655450235)))) {
    5316           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'updateRect' (IntRect) member of 'TexturedTileDescriptor'");
    5317           0 :         return false;
    5318             :     }
    5319           0 :     if ((!(Read((&((v__)->sharedLock())), msg__, iter__)))) {
    5320           0 :         FatalError("Error deserializing 'sharedLock' (ReadLockDescriptor) member of 'TexturedTileDescriptor'");
    5321           0 :         return false;
    5322             :     }
    5323             :     // Sentinel = 'sharedLock'
    5324           0 :     if ((!((msg__)->ReadSentinel(iter__, 1249896484)))) {
    5325           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'sharedLock' (ReadLockDescriptor) member of 'TexturedTileDescriptor'");
    5326           0 :         return false;
    5327             :     }
    5328           0 :     if ((!(Read((&((v__)->sharedLockOnWhite())), msg__, iter__)))) {
    5329           0 :         FatalError("Error deserializing 'sharedLockOnWhite' (ReadLockDescriptor) member of 'TexturedTileDescriptor'");
    5330           0 :         return false;
    5331             :     }
    5332             :     // Sentinel = 'sharedLockOnWhite'
    5333           0 :     if ((!((msg__)->ReadSentinel(iter__, 2954092853)))) {
    5334           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'sharedLockOnWhite' (ReadLockDescriptor) member of 'TexturedTileDescriptor'");
    5335           0 :         return false;
    5336             :     }
    5337           0 :     if ((!(Read((&((v__)->wasPlaceholder())), msg__, iter__)))) {
    5338           0 :         FatalError("Error deserializing 'wasPlaceholder' (bool) member of 'TexturedTileDescriptor'");
    5339           0 :         return false;
    5340             :     }
    5341             :     // Sentinel = 'wasPlaceholder'
    5342           0 :     if ((!((msg__)->ReadSentinel(iter__, 3801375384)))) {
    5343           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'wasPlaceholder' (bool) member of 'TexturedTileDescriptor'");
    5344           0 :         return false;
    5345             :     }
    5346           0 :     return true;
    5347             : }
    5348             : 
    5349           0 : auto PWebRenderBridgeParent::Write(
    5350             :         const nsTArray<WebRenderParentCommand>& v__,
    5351             :         Message* msg__) -> void
    5352             : {
    5353           0 :     uint32_t length = (v__).Length();
    5354           0 :     Write(length, msg__);
    5355             :     // Sentinel = ('length', 'WebRenderParentCommand[]')
    5356           0 :     (msg__)->WriteSentinel(1401265010);
    5357             : 
    5358           0 :     for (auto& elem : v__) {
    5359           0 :         Write(elem, msg__);
    5360             :         // Sentinel = 'WebRenderParentCommand[]'
    5361           0 :         (msg__)->WriteSentinel(1488682301);
    5362             :     }
    5363           0 : }
    5364             : 
    5365           0 : auto PWebRenderBridgeParent::Read(
    5366             :         nsTArray<WebRenderParentCommand>* v__,
    5367             :         const Message* msg__,
    5368             :         PickleIterator* iter__) -> bool
    5369             : {
    5370           0 :     nsTArray<WebRenderParentCommand> fa;
    5371             :     uint32_t length;
    5372           0 :     if ((!(Read((&(length)), msg__, iter__)))) {
    5373           0 :         mozilla::ipc::ArrayLengthReadError("WebRenderParentCommand[]");
    5374           0 :         return false;
    5375             :     }
    5376             :     // Sentinel = ('length', 'WebRenderParentCommand[]')
    5377           0 :     if ((!((msg__)->ReadSentinel(iter__, 1401265010)))) {
    5378           0 :         mozilla::ipc::SentinelReadError("WebRenderParentCommand[]");
    5379           0 :         return false;
    5380             :     }
    5381             : 
    5382           0 :     WebRenderParentCommand* elems = (fa).AppendElements(length);
    5383           0 :     for (uint32_t i = 0; (i) < (length); (++(i))) {
    5384           0 :         if ((!(Read((&(elems[i])), msg__, iter__)))) {
    5385           0 :             FatalError("Error deserializing 'WebRenderParentCommand[i]'");
    5386           0 :             return false;
    5387             :         }
    5388             :         // Sentinel = 'WebRenderParentCommand[]'
    5389           0 :         if ((!((msg__)->ReadSentinel(iter__, 1488682301)))) {
    5390           0 :             mozilla::ipc::SentinelReadError("Error deserializing 'WebRenderParentCommand[i]'");
    5391           0 :             return false;
    5392             :         }
    5393             :     }
    5394           0 :     (v__)->SwapElements(fa);
    5395           0 :     return true;
    5396             : }
    5397             : 
    5398           0 : auto PWebRenderBridgeParent::Write(
    5399             :         const RotationX& v__,
    5400             :         Message* msg__) -> void
    5401             : {
    5402           0 :     Write((v__).angle(), msg__);
    5403             :     // Sentinel = 'angle'
    5404           0 :     (msg__)->WriteSentinel(3388308388);
    5405           0 : }
    5406             : 
    5407           0 : auto PWebRenderBridgeParent::Read(
    5408             :         RotationX* v__,
    5409             :         const Message* msg__,
    5410             :         PickleIterator* iter__) -> bool
    5411             : {
    5412           0 :     if ((!(Read((&((v__)->angle())), msg__, iter__)))) {
    5413           0 :         FatalError("Error deserializing 'angle' (CSSAngle) member of 'RotationX'");
    5414           0 :         return false;
    5415             :     }
    5416             :     // Sentinel = 'angle'
    5417           0 :     if ((!((msg__)->ReadSentinel(iter__, 3388308388)))) {
    5418           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'angle' (CSSAngle) member of 'RotationX'");
    5419           0 :         return false;
    5420             :     }
    5421           0 :     return true;
    5422             : }
    5423             : 
    5424           0 : auto PWebRenderBridgeParent::Write(
    5425             :         const OpUseComponentAlphaTextures& v__,
    5426             :         Message* msg__) -> void
    5427             : {
    5428           0 :     Write((v__).textureOnBlackParent(), msg__, false);
    5429             :     // Sentinel = 'textureOnBlack'
    5430           0 :     (msg__)->WriteSentinel(2782165397);
    5431             :     // skipping actor field that's meaningless on this side
    5432           0 :     Write((v__).textureOnWhiteParent(), msg__, false);
    5433             :     // Sentinel = 'textureOnWhite'
    5434           0 :     (msg__)->WriteSentinel(4123373327);
    5435             :     // skipping actor field that's meaningless on this side
    5436           0 :     Write((v__).sharedLockBlack(), msg__);
    5437             :     // Sentinel = 'sharedLockBlack'
    5438           0 :     (msg__)->WriteSentinel(3577180696);
    5439           0 :     Write((v__).sharedLockWhite(), msg__);
    5440             :     // Sentinel = 'sharedLockWhite'
    5441           0 :     (msg__)->WriteSentinel(3643157938);
    5442           0 : }
    5443             : 
    5444           0 : auto PWebRenderBridgeParent::Read(
    5445             :         OpUseComponentAlphaTextures* v__,
    5446             :         const Message* msg__,
    5447             :         PickleIterator* iter__) -> bool
    5448             : {
    5449           0 :     if ((!(Read((&((v__)->textureOnBlackParent())), msg__, iter__, false)))) {
    5450           0 :         FatalError("Error deserializing 'textureOnBlackParent' (PTexture) member of 'OpUseComponentAlphaTextures'");
    5451           0 :         return false;
    5452             :     }
    5453             :     // Sentinel = 'textureOnBlack'
    5454           0 :     if ((!((msg__)->ReadSentinel(iter__, 2782165397)))) {
    5455           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'textureOnBlackParent' (PTexture) member of 'OpUseComponentAlphaTextures'");
    5456           0 :         return false;
    5457             :     }
    5458             :     // skipping actor field that's meaningless on this side
    5459           0 :     if ((!(Read((&((v__)->textureOnWhiteParent())), msg__, iter__, false)))) {
    5460           0 :         FatalError("Error deserializing 'textureOnWhiteParent' (PTexture) member of 'OpUseComponentAlphaTextures'");
    5461           0 :         return false;
    5462             :     }
    5463             :     // Sentinel = 'textureOnWhite'
    5464           0 :     if ((!((msg__)->ReadSentinel(iter__, 4123373327)))) {
    5465           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'textureOnWhiteParent' (PTexture) member of 'OpUseComponentAlphaTextures'");
    5466           0 :         return false;
    5467             :     }
    5468             :     // skipping actor field that's meaningless on this side
    5469           0 :     if ((!(Read((&((v__)->sharedLockBlack())), msg__, iter__)))) {
    5470           0 :         FatalError("Error deserializing 'sharedLockBlack' (ReadLockHandle) member of 'OpUseComponentAlphaTextures'");
    5471           0 :         return false;
    5472             :     }
    5473             :     // Sentinel = 'sharedLockBlack'
    5474           0 :     if ((!((msg__)->ReadSentinel(iter__, 3577180696)))) {
    5475           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'sharedLockBlack' (ReadLockHandle) member of 'OpUseComponentAlphaTextures'");
    5476           0 :         return false;
    5477             :     }
    5478           0 :     if ((!(Read((&((v__)->sharedLockWhite())), msg__, iter__)))) {
    5479           0 :         FatalError("Error deserializing 'sharedLockWhite' (ReadLockHandle) member of 'OpUseComponentAlphaTextures'");
    5480           0 :         return false;
    5481             :     }
    5482             :     // Sentinel = 'sharedLockWhite'
    5483           0 :     if ((!((msg__)->ReadSentinel(iter__, 3643157938)))) {
    5484           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'sharedLockWhite' (ReadLockHandle) member of 'OpUseComponentAlphaTextures'");
    5485           0 :         return false;
    5486             :     }
    5487           0 :     return true;
    5488             : }
    5489             : 
    5490           0 : auto PWebRenderBridgeParent::Write(
    5491             :         const ThebesBufferData& v__,
    5492             :         Message* msg__) -> void
    5493             : {
    5494           0 :     Write((v__).rect(), msg__);
    5495             :     // Sentinel = 'rect'
    5496           0 :     (msg__)->WriteSentinel(438776542);
    5497           0 :     Write((v__).rotation(), msg__);
    5498             :     // Sentinel = 'rotation'
    5499           0 :     (msg__)->WriteSentinel(289872474);
    5500           0 : }
    5501             : 
    5502           0 : auto PWebRenderBridgeParent::Read(
    5503             :         ThebesBufferData* v__,
    5504             :         const Message* msg__,
    5505             :         PickleIterator* iter__) -> bool
    5506             : {
    5507           0 :     if ((!(Read((&((v__)->rect())), msg__, iter__)))) {
    5508           0 :         FatalError("Error deserializing 'rect' (IntRect) member of 'ThebesBufferData'");
    5509           0 :         return false;
    5510             :     }
    5511             :     // Sentinel = 'rect'
    5512           0 :     if ((!((msg__)->ReadSentinel(iter__, 438776542)))) {
    5513           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'rect' (IntRect) member of 'ThebesBufferData'");
    5514           0 :         return false;
    5515             :     }
    5516           0 :     if ((!(Read((&((v__)->rotation())), msg__, iter__)))) {
    5517           0 :         FatalError("Error deserializing 'rotation' (IntPoint) member of 'ThebesBufferData'");
    5518           0 :         return false;
    5519             :     }
    5520             :     // Sentinel = 'rotation'
    5521           0 :     if ((!((msg__)->ReadSentinel(iter__, 289872474)))) {
    5522           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'rotation' (IntPoint) member of 'ThebesBufferData'");
    5523           0 :         return false;
    5524             :     }
    5525           0 :     return true;
    5526             : }
    5527             : 
    5528           0 : auto PWebRenderBridgeParent::Write(
    5529             :         const nsTArray<Animation>& v__,
    5530             :         Message* msg__) -> void
    5531             : {
    5532           0 :     uint32_t length = (v__).Length();
    5533           0 :     Write(length, msg__);
    5534             :     // Sentinel = ('length', 'Animation[]')
    5535           0 :     (msg__)->WriteSentinel(4007294134);
    5536             : 
    5537           0 :     for (auto& elem : v__) {
    5538           0 :         Write(elem, msg__);
    5539             :         // Sentinel = 'Animation[]'
    5540           0 :         (msg__)->WriteSentinel(2603867689);
    5541             :     }
    5542           0 : }
    5543             : 
    5544           0 : auto PWebRenderBridgeParent::Read(
    5545             :         nsTArray<Animation>* v__,
    5546             :         const Message* msg__,
    5547             :         PickleIterator* iter__) -> bool
    5548             : {
    5549           0 :     nsTArray<Animation> fa;
    5550             :     uint32_t length;
    5551           0 :     if ((!(Read((&(length)), msg__, iter__)))) {
    5552           0 :         mozilla::ipc::ArrayLengthReadError("Animation[]");
    5553           0 :         return false;
    5554             :     }
    5555             :     // Sentinel = ('length', 'Animation[]')
    5556           0 :     if ((!((msg__)->ReadSentinel(iter__, 4007294134)))) {
    5557           0 :         mozilla::ipc::SentinelReadError("Animation[]");
    5558           0 :         return false;
    5559             :     }
    5560             : 
    5561           0 :     Animation* elems = (fa).AppendElements(length);
    5562           0 :     for (uint32_t i = 0; (i) < (length); (++(i))) {
    5563           0 :         if ((!(Read((&(elems[i])), msg__, iter__)))) {
    5564           0 :             FatalError("Error deserializing 'Animation[i]'");
    5565           0 :             return false;
    5566             :         }
    5567             :         // Sentinel = 'Animation[]'
    5568           0 :         if ((!((msg__)->ReadSentinel(iter__, 2603867689)))) {
    5569           0 :             mozilla::ipc::SentinelReadError("Error deserializing 'Animation[i]'");
    5570           0 :             return false;
    5571             :         }
    5572             :     }
    5573           0 :     (v__)->SwapElements(fa);
    5574           0 :     return true;
    5575             : }
    5576             : 
    5577           0 : auto PWebRenderBridgeParent::Write(
    5578             :         const Scale& v__,
    5579             :         Message* msg__) -> void
    5580             : {
    5581           0 :     Write((v__).x(), msg__);
    5582             :     // Sentinel = 'x'
    5583           0 :     (msg__)->WriteSentinel(2475144313);
    5584           0 :     Write((v__).y(), msg__);
    5585             :     // Sentinel = 'y'
    5586           0 :     (msg__)->WriteSentinel(2603144696);
    5587           0 :     Write((v__).z(), msg__);
    5588             :     // Sentinel = 'z'
    5589           0 :     (msg__)->WriteSentinel(2731145083);
    5590           0 : }
    5591             : 
    5592           0 : auto PWebRenderBridgeParent::Read(
    5593             :         Scale* v__,
    5594             :         const Message* msg__,
    5595             :         PickleIterator* iter__) -> bool
    5596             : {
    5597           0 :     if ((!(Read((&((v__)->x())), msg__, iter__)))) {
    5598           0 :         FatalError("Error deserializing 'x' (float) member of 'Scale'");
    5599           0 :         return false;
    5600             :     }
    5601             :     // Sentinel = 'x'
    5602           0 :     if ((!((msg__)->ReadSentinel(iter__, 2475144313)))) {
    5603           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'x' (float) member of 'Scale'");
    5604           0 :         return false;
    5605             :     }
    5606           0 :     if ((!(Read((&((v__)->y())), msg__, iter__)))) {
    5607           0 :         FatalError("Error deserializing 'y' (float) member of 'Scale'");
    5608           0 :         return false;
    5609             :     }
    5610             :     // Sentinel = 'y'
    5611           0 :     if ((!((msg__)->ReadSentinel(iter__, 2603144696)))) {
    5612           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'y' (float) member of 'Scale'");
    5613           0 :         return false;
    5614             :     }
    5615           0 :     if ((!(Read((&((v__)->z())), msg__, iter__)))) {
    5616           0 :         FatalError("Error deserializing 'z' (float) member of 'Scale'");
    5617           0 :         return false;
    5618             :     }
    5619             :     // Sentinel = 'z'
    5620           0 :     if ((!((msg__)->ReadSentinel(iter__, 2731145083)))) {
    5621           0 :         mozilla::ipc::SentinelReadError("Error deserializing 'z' (float) member of 'Scale'");
    5622           0 :         return false;
    5623             :     }
    5624           0 :     return true;
    5625             : }
    5626             : 
    5627           0 : auto PWebRenderBridgeParent::Write(
    5628             :         const PTextureParent* v__,
    5629             :         Message* msg__,
    5630             :         bool nullable__) -> void
    5631             : {
    5632             :     int32_t id;
    5633           0 :     if ((!(v__))) {
    5634           0 :         if ((!(nullable__))) {
    5635           0 :             FatalError("NULL actor value passed to non-nullable param");
    5636             :         }
    5637           0 :         id = 0;
    5638             :     }
    5639             :     else {
    5640           0 :         id = (v__)->Id();
    5641           0 :         if ((1) == (id)) {
    5642           0 :             FatalError("actor has been |delete|d");
    5643             :         }
    5644             :     }
    5645             : 
    5646           0 :     Write(id, msg__);
    5647           0 : }
    5648             : 
    5649           0 : auto PWebRenderBridgeParent::Read(
    5650             :         PTextureParent** v__,
    5651             :         const Message* msg__,
    5652             :         PickleIterator* iter__,
    5653             :         bool nullable__) -> bool
    5654             : {
    5655           0 :     Maybe<mozilla::ipc::IProtocol*> actor = ReadActor(msg__, iter__, nullable__, "PTexture", PTextureMsgStart);
    5656           0 :     if ((actor).isNothing()) {
    5657           0 :         return false;
    5658             :     }
    5659             : 
    5660           0 :     (*(v__)) = static_cast<PTextureParent*>((actor).value());
    5661           0 :     return true;
    5662             : }
    5663             : 
    5664             : 
    5665             : 
    5666             : } // namespace layers
    5667             : } // namespace mozilla

Generated by: LCOV version 1.13