From 4d6e9aec05a3dcea595dbf1508a29a3f2ab351c0 Mon Sep 17 00:00:00 2001 From: Moonchild Date: Sat, 30 Jan 2021 13:16:33 +0000 Subject: Issue #1720 - Remove explicit header inclusion from npapi.h This should allow the header to be used outside of the UXP tree for compiling plugins etc. Resolves #1720 --- dom/plugins/base/npapi.h | 1 - 1 file changed, 1 deletion(-) (limited to 'dom/plugins/base/npapi.h') diff --git a/dom/plugins/base/npapi.h b/dom/plugins/base/npapi.h index e554aaabc..097a79fc6 100644 --- a/dom/plugins/base/npapi.h +++ b/dom/plugins/base/npapi.h @@ -46,7 +46,6 @@ #if defined(MOZ_X11) #include #include -#include "X11UndefineNone.h" #endif #endif -- cgit v1.2.3 From ce297b972b0025fafd69245212facf09a3a71c1a Mon Sep 17 00:00:00 2001 From: Moonchild Date: Sat, 30 Jan 2021 13:17:11 +0000 Subject: Fix CRLF line endings in npapi.h --- dom/plugins/base/npapi.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'dom/plugins/base/npapi.h') diff --git a/dom/plugins/base/npapi.h b/dom/plugins/base/npapi.h index 097a79fc6..aa6a66b2b 100644 --- a/dom/plugins/base/npapi.h +++ b/dom/plugins/base/npapi.h @@ -268,12 +268,12 @@ typedef struct * the parameters to the Windows API IMMNotificationClient object. * This is the value of the NPNVaudioDeviceChangeDetails variable. */ -typedef struct _NPAudioDeviceChangeDetails -{ - int32_t flow; - int32_t role; - const wchar_t* defaultDevice; // this pointer is only valid during the call - // to NPPSetValue. +typedef struct _NPAudioDeviceChangeDetails +{ + int32_t flow; + int32_t role; + const wchar_t* defaultDevice; // this pointer is only valid during the call + // to NPPSetValue. } NPAudioDeviceChangeDetails; #endif /* XP_WIN */ -- cgit v1.2.3