summaryrefslogtreecommitdiff
path: root/www/firefox38/patches/patch-js_xpconnect_src_xpcprivate.h
blob: 6a68df43e0b5b6372ead9c5f9f25a1a28de5eef4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
$NetBSD: patch-js_xpconnect_src_xpcprivate.h,v 1.1 2015/07/09 14:13:52 ryoon Exp $

From commit log 1.1:
  Instantiate WeakMapPtr explicitly to get the right visibility with
  clang.

--- js/xpconnect/src/xpcprivate.h.orig	2015-01-23 06:00:06.000000000 +0000
+++ js/xpconnect/src/xpcprivate.h
@@ -1016,6 +1016,8 @@ static inline bool IS_PROTO_CLASS(const 
 /***************************************************************************/
 // XPCWrappedNativeScope is one-to-one with a JS global object.
 
+extern template class JS_PUBLIC_API(JS::WeakMapPtr)<JSObject*, JSObject*>;
+
 class nsIAddonInterposition;
 class nsXPCComponentsBase;
 class XPCWrappedNativeScope : public PRCList