mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1063700 - Remove unused IsSecurityWrapper functions. r=bholley.
--HG-- extra : rebase_source : 32499305e3e28c690d0158f3e9df333b73e2259b
This commit is contained in:
parent
11c21c38f7
commit
ecae689c0c
@ -34,12 +34,6 @@ AttachNewConstructorObject(JSContext *aCx, JS::HandleObject aGlobalObject);
|
||||
// objects).
|
||||
namespace XPCWrapper {
|
||||
|
||||
inline bool
|
||||
IsSecurityWrapper(JSObject *wrapper)
|
||||
{
|
||||
return js::IsWrapper(wrapper);
|
||||
}
|
||||
|
||||
JSObject *
|
||||
UnsafeUnwrapSecurityWrapper(JSObject *obj);
|
||||
|
||||
|
@ -31,10 +31,6 @@ class WrapperFactory {
|
||||
return HasWrapperFlag(wrapper, WAIVE_XRAY_WRAPPER_FLAG);
|
||||
}
|
||||
|
||||
static bool IsSecurityWrapper(JSObject *obj) {
|
||||
return !js::CheckedUnwrap(obj);
|
||||
}
|
||||
|
||||
static bool IsCOW(JSObject *wrapper);
|
||||
|
||||
static JSObject *GetXrayWaiver(JS::HandleObject obj);
|
||||
|
Loading…
Reference in New Issue
Block a user