mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
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:
parent
f2379c9f1a
commit
f47bb0a324
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user