summaryrefslogtreecommitdiff
path: root/caps/nsJSPrincipals.cpp
diff options
context:
space:
mode:
authorJob Bautista <jobbautista9@aol.com>2023-04-02 12:47:04 +0800
committerJob Bautista <jobbautista9@aol.com>2023-04-02 12:47:04 +0800
commitd3ed316788c3e6f836b3a213f1f12b56c416dd87 (patch)
treec1e234a17000a13e5ee40048aea28c23c3247e2e /caps/nsJSPrincipals.cpp
parent131409a24bbcfd42378a99c14ff3de744c059156 (diff)
downloaduxp-d3ed316788c3e6f836b3a213f1f12b56c416dd87.tar.gz
Issue #62 - Follow-up: Fix debug build bustage with shared Spidermonkey.
A method marked with dllimport shouldn't be defined.
Diffstat (limited to 'caps/nsJSPrincipals.cpp')
-rw-r--r--caps/nsJSPrincipals.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/caps/nsJSPrincipals.cpp b/caps/nsJSPrincipals.cpp
index 8349aed530..e966c48bad 100644
--- a/caps/nsJSPrincipals.cpp
+++ b/caps/nsJSPrincipals.cpp
@@ -85,7 +85,7 @@ nsJSPrincipals::Destroy(JSPrincipals *jsprin)
#ifdef DEBUG
// Defined here so one can do principals->dump() in the debugger
-JS_PUBLIC_API(void)
+void
JSPrincipals::dump()
{
if (debugToken == nsJSPrincipals::DEBUG_TOKEN) {