diff options
Diffstat (limited to 'dom/plugins/ipc/PluginMessageUtils.cpp')
-rw-r--r-- | dom/plugins/ipc/PluginMessageUtils.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/dom/plugins/ipc/PluginMessageUtils.cpp b/dom/plugins/ipc/PluginMessageUtils.cpp index 9b27c76d5a..be1b2d15a5 100644 --- a/dom/plugins/ipc/PluginMessageUtils.cpp +++ b/dom/plugins/ipc/PluginMessageUtils.cpp @@ -49,10 +49,13 @@ namespace plugins { NPRemoteWindow::NPRemoteWindow() : window(0), x(0), y(0), width(0), height(0), type(NPWindowTypeDrawable) -#if defined(MOZ_X11) && defined(XP_UNIX) +#if defined(MOZ_X11) && defined(XP_UNIX) && !defined(XP_MACOSX) , visualID(0) , colormap(0) #endif /* XP_UNIX */ +#if defined(XP_MACOSX) + ,contentsScaleFactor(1.0) +#endif { clipRect.top = 0; clipRect.left = 0; |