diff --git a/caps/nsJSPrincipals.cpp b/caps/nsJSPrincipals.cpp index 5640f80542d8..d369e8fab31e 100644 --- a/caps/nsJSPrincipals.cpp +++ b/caps/nsJSPrincipals.cpp @@ -83,7 +83,7 @@ nsJSPrincipals::Destroy(JSPrincipals *jsprin) #ifdef DEBUG // Defined here so one can do principals->dump() in the debugger -JS_EXPORT_API(void) +JS_PUBLIC_API(void) JSPrincipals::dump() { if (debugToken == nsJSPrincipals::DEBUG_TOKEN) {