mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
bug 580128 - Don't allow fast getting of nsGlobalWindow's wrapper cache. r=peterv
This commit is contained in:
parent
b594d291ff
commit
c878f8f2a9
@ -627,6 +627,12 @@ xpc_qsGetWrapperCache(nsWrapperCache *cache)
|
||||
return cache;
|
||||
}
|
||||
|
||||
// nsGlobalWindow implements nsWrapperCache, but doesn't always use it. Don't
|
||||
// try to use it without fixing that first.
|
||||
class nsGlobalWindow;
|
||||
inline nsWrapperCache*
|
||||
xpc_qsGetWrapperCache(nsGlobalWindow *not_allowed);
|
||||
|
||||
inline nsWrapperCache*
|
||||
xpc_qsGetWrapperCache(void *p)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user