From 180745d3d9d9724675f4cd85219e909b5a24ecb5 Mon Sep 17 00:00:00 2001 From: adeshkp Date: Fri, 24 Apr 2020 10:27:10 -0400 Subject: [PATCH] Issue #80 - Include D3DMessageUtils.h in dom/plugins/ipc for Mac build This should ideally not be needed on Mac but compilation fails due to sizeof `DxgiAdapterDesc` not known. Didn't face this issue on Linux though, probably due to a different include chain which already has this file included somewhere along the way. --- dom/plugins/ipc/PluginInstanceParent.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/dom/plugins/ipc/PluginInstanceParent.cpp b/dom/plugins/ipc/PluginInstanceParent.cpp index a7d4a6ff5c..523dc5c803 100644 --- a/dom/plugins/ipc/PluginInstanceParent.cpp +++ b/dom/plugins/ipc/PluginInstanceParent.cpp @@ -9,6 +9,7 @@ #include "mozilla/BasicEvents.h" #include "mozilla/Preferences.h" +#include "mozilla/D3DMessageUtils.h" #include "D3D11SurfaceHolder.h" #include "PluginInstanceParent.h" #include "BrowserStreamParent.h"