зеркало из https://github.com/mozilla/gecko-dev.git
bug 825341 - fix rebase of WrapObject landing on a CLOSED TREE
This commit is contained in:
Родитель
bcb6f556e0
Коммит
9c37ec87a7
|
@ -37,9 +37,9 @@
|
||||||
using namespace mozilla;
|
using namespace mozilla;
|
||||||
|
|
||||||
JSObject*
|
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);
|
||||||
}
|
}
|
||||||
|
|
||||||
/******************************************************
|
/******************************************************
|
||||||
|
|
|
@ -196,8 +196,7 @@ public:
|
||||||
already_AddRefed<nsClientRectList> GetClientRects(ErrorResult& aErr);
|
already_AddRefed<nsClientRectList> GetClientRects(ErrorResult& aErr);
|
||||||
|
|
||||||
nsINode* GetParentObject() const { return mOwner; }
|
nsINode* GetParentObject() const { return mOwner; }
|
||||||
virtual JSObject* WrapObject(JSContext* cx, JSObject* scope, bool* tried)
|
virtual JSObject* WrapObject(JSContext* cx, JSObject* scope) MOZ_OVERRIDE MOZ_FINAL;
|
||||||
MOZ_OVERRIDE MOZ_FINAL;
|
|
||||||
|
|
||||||
private:
|
private:
|
||||||
// no copy's or assigns
|
// no copy's or assigns
|
||||||
|
|
Загрузка…
Ссылка в новой задаче