pkgsrc-ng/www/firefox31/patches/patch-ipc_glue_ScopedXREEmbed.cpp
2016-01-21 23:40:00 +01:00

17 lines
630 B
C++

$NetBSD: patch-ipc_glue_ScopedXREEmbed.cpp,v 1.1 2014/11/03 12:18:32 ryoon Exp $
Walking out of [subprocess].app/Contents/MacOS would only be needed if
we were using the cocoa toolkit.
--- ipc/glue/ScopedXREEmbed.cpp.orig 2014-05-06 22:55:41.000000000 +0000
+++ ipc/glue/ScopedXREEmbed.cpp
@@ -66,7 +66,7 @@ ScopedXREEmbed::Start()
localFile = do_QueryInterface(parent);
NS_ENSURE_TRUE_VOID(localFile);
-#ifdef OS_MACOSX
+#ifdef MOZ_WIDGET_COCOA
if (XRE_GetProcessType() == GeckoProcessType_Content) {
// We're an XPCOM-using subprocess. Walk out of
// [subprocess].app/Contents/MacOS to the real GRE dir.