From 34d65c1f9047cd1f23e9198cc3c62ddc7464c39a Mon Sep 17 00:00:00 2001 From: Botond Ballo Date: Fri, 29 Jul 2016 16:39:14 -0400 Subject: [PATCH] Bug 1289608 - Provide explicit instantiation declarations for the various instantiations of XrapWrapper. r=bholley MozReview-Commit-ID: 6rS9JJ1Ba9R --HG-- extra : rebase_source : 29a69c5b0068bc2e948e007d656ef7b7d4efb13d --- js/xpconnect/wrappers/XrayWrapper.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/js/xpconnect/wrappers/XrayWrapper.h b/js/xpconnect/wrappers/XrayWrapper.h index 569dcb34ddcb..246db7cd7d80 100644 --- a/js/xpconnect/wrappers/XrayWrapper.h +++ b/js/xpconnect/wrappers/XrayWrapper.h @@ -497,6 +497,14 @@ class XrayWrapper : public Base { #define PermissiveXrayOpaque xpc::XrayWrapper #define SCSecurityXrayXPCWN xpc::XrayWrapper +extern template class PermissiveXrayXPCWN; +extern template class SecurityXrayXPCWN; +extern template class PermissiveXrayDOM; +extern template class SecurityXrayDOM; +extern template class PermissiveXrayJS; +extern template class PermissiveXrayOpaque; +extern template class PermissiveXrayXPCWN; + class SandboxProxyHandler : public js::Wrapper { public: constexpr SandboxProxyHandler() : js::Wrapper(0)