Bug 1063700 - Remove unused IsSecurityWrapper functions. r=bholley.

--HG--
extra : rebase_source : 32499305e3e28c690d0158f3e9df333b73e2259b
This commit is contained in:
Peter Van der Beken 2014-09-09 15:38:45 +02:00
parent 11c21c38f7
commit ecae689c0c
2 changed files with 0 additions and 10 deletions

View File

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

View File

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