diff --git a/atom/browser/lib/guest-view-manager.coffee b/atom/browser/lib/guest-view-manager.coffee index d123d95d2ee..09f2d06ef2a 100644 --- a/atom/browser/lib/guest-view-manager.coffee +++ b/atom/browser/lib/guest-view-manager.coffee @@ -68,7 +68,8 @@ createGuest = (embedder, params) -> embedder.send "ATOM_SHELL_GUEST_VIEW_INTERNAL_DISPATCH_EVENT-#{guest.viewInstanceId}", event, args... # Dispatch guest's IPC messages to embedder. - guest.on 'ipc-message-host', (_, channel, args...) -> + guest.on 'ipc-message-host', (_, packed) -> + [channel, args...] = packed embedder.send "ATOM_SHELL_GUEST_VIEW_INTERNAL_IPC_MESSAGE-#{guest.viewInstanceId}", channel, args... # Autosize.