bug 580128 - Don't allow fast getting of nsGlobalWindow's wrapper cache. r=peterv

This commit is contained in:
Blake Kaplan 2010-09-17 14:54:41 -07:00
parent b594d291ff
commit c878f8f2a9

View File

@ -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)
{