bug 825341 - fix rebase of WrapObject landing on a CLOSED TREE

This commit is contained in:
Trevor Saunders 2013-03-11 21:26:17 -04:00
parent 3de595d32e
commit ce1d771eae
2 changed files with 3 additions and 4 deletions

View File

@ -37,9 +37,9 @@
using namespace mozilla;
JSObject*
nsRange::WrapObject(JSContext* aCx, JSObject* aScope, bool* aTriedToWrap)
nsRange::WrapObject(JSContext* aCx, JSObject* aScope)
{
return dom::RangeBinding::Wrap(aCx, aScope, this, aTriedToWrap);
return dom::RangeBinding::Wrap(aCx, aScope, this);
}
/******************************************************

View File

@ -196,8 +196,7 @@ public:
already_AddRefed<nsClientRectList> GetClientRects(ErrorResult& aErr);
nsINode* GetParentObject() const { return mOwner; }
virtual JSObject* WrapObject(JSContext* cx, JSObject* scope, bool* tried)
MOZ_OVERRIDE MOZ_FINAL;
virtual JSObject* WrapObject(JSContext* cx, JSObject* scope) MOZ_OVERRIDE MOZ_FINAL;
private:
// no copy's or assigns