зеркало из https://github.com/mozilla/pjs.git
bug 580128 - Don't allow fast getting of nsGlobalWindow's wrapper cache. r=peterv
This commit is contained in:
Родитель
c087d103c7
Коммит
2a3b7cc2e2
|
@ -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)
|
||||
{
|
||||
|
|
Загрузка…
Ссылка в новой задаче