Make the guard-object macros, used to ensure a class can't accidentally be constructed only temporarily, JS_FRIEND_API-compatible, since they're being used in friend declarations now. rs=cdleary/luke, no bug

This commit is contained in:
Jeff Walden 2011-10-05 15:21:53 -07:00
parent f2379c9f1a
commit f47bb0a324

View File

@ -589,7 +589,7 @@ class UnwantedForeground : public Foreground {
* JS_GUARD_OBJECT_NOTIFIER_PARAM.
*/
#ifdef DEBUG
class JSGuardObjectNotifier
class JS_FRIEND_API(JSGuardObjectNotifier)
{
private:
bool* mStatementDone;
@ -605,7 +605,7 @@ public:
}
};
class JSGuardObjectNotificationReceiver
class JS_FRIEND_API(JSGuardObjectNotificationReceiver)
{
private:
bool mStatementDone;