summaryrefslogtreecommitdiff
path: root/dom/plugins/base/nsPluginNativeWindow.cpp
diff options
context:
space:
mode:
authorBrian Smith <brian@dbsoft.org>2022-04-26 11:24:42 -0500
committerBrian Smith <brian@dbsoft.org>2022-04-26 11:24:42 -0500
commitc82b759d56454bcd3eac54c484569e1239f7d1cc (patch)
tree14b786bac9fd295d1fca6bd32683652b7ac9ef7e /dom/plugins/base/nsPluginNativeWindow.cpp
parent9e2a89c71ddf67975da35eb100673f6b5546f292 (diff)
downloaduxp-c82b759d56454bcd3eac54c484569e1239f7d1cc.tar.gz
Issue #1829 - Revert "Issue #1751 -- Remove XP_MACOSX conditionals from /dom"
This reverts commit 0dd3424f774954627d6f53df9fb47379d9b5c871.
Diffstat (limited to 'dom/plugins/base/nsPluginNativeWindow.cpp')
-rw-r--r--dom/plugins/base/nsPluginNativeWindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/dom/plugins/base/nsPluginNativeWindow.cpp b/dom/plugins/base/nsPluginNativeWindow.cpp
index 1c251936a5..f9baf5b813 100644
--- a/dom/plugins/base/nsPluginNativeWindow.cpp
+++ b/dom/plugins/base/nsPluginNativeWindow.cpp
@@ -27,7 +27,7 @@ nsPluginNativeWindowPLATFORM::nsPluginNativeWindowPLATFORM() : nsPluginNativeWin
width = 0;
height = 0;
memset(&clipRect, 0, sizeof(clipRect));
-#if defined(XP_UNIX)
+#if defined(XP_UNIX) && !defined(XP_MACOSX)
ws_info = nullptr;
#endif
type = NPWindowTypeWindow;