mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 924720 - Part 8: Remove BaseProxyHandler::isOuterWindow(). (r=bholley)
This commit is contained in:
parent
c41d46714f
commit
2ae17ed581
@ -587,10 +587,6 @@ class nsOuterWindowProxy : public js::Wrapper
|
||||
public:
|
||||
nsOuterWindowProxy() : js::Wrapper(0) { }
|
||||
|
||||
virtual bool isOuterWindow() {
|
||||
return true;
|
||||
}
|
||||
|
||||
virtual bool finalizeInBackground(JS::Value priv) {
|
||||
return false;
|
||||
}
|
||||
|
@ -3134,11 +3134,8 @@ ProxyObject::renew(JSContext *cx, BaseProxyHandler *handler, Value priv)
|
||||
JS_ASSERT_IF(IsCrossCompartmentWrapper(this), IsDeadProxyObject(this));
|
||||
JS_ASSERT(getParent() == cx->global());
|
||||
JS_ASSERT(getClass() == &uncallableClass_);
|
||||
JS_ASSERT(!getClass()->ext.innerObject);
|
||||
JS_ASSERT(getTaggedProto().isLazy());
|
||||
#ifdef DEBUG
|
||||
AutoSuppressGC suppressGC(cx);
|
||||
JS_ASSERT(!handler->isOuterWindow());
|
||||
#endif
|
||||
|
||||
setSlot(HANDLER_SLOT, PrivateValue(handler));
|
||||
setCrossCompartmentSlot(PRIVATE_SLOT, priv);
|
||||
|
@ -122,10 +122,6 @@ class JS_FRIEND_API(BaseProxyHandler)
|
||||
return offsetof(BaseProxyHandler, mFamily);
|
||||
}
|
||||
|
||||
virtual bool isOuterWindow() {
|
||||
return false;
|
||||
}
|
||||
|
||||
virtual bool finalizeInBackground(Value priv) {
|
||||
/*
|
||||
* Called on creation of a proxy to determine whether its finalize
|
||||
|
Loading…
Reference in New Issue
Block a user