mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-23 12:51:06 +00:00
Bug 1254906 - Change the annotation on JSPrincipals::dump's definition to match that of its declaration. r=bz
The current discrepancy works because gecko and js don't actually agree on the meaning of JS_EXPORT_API and JS_PUBLIC_API, but moving the configure flags that incluences their meaning is going to make them agree, and that adds a fatal warning when building nsJSPrincipals.cpp because of the discrepancy.
This commit is contained in:
parent
9dcdc9ab75
commit
fed1d8ce2b
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user