diff options
author | Gaming4JC <g4jc@hyperbola.info> | 2019-06-08 19:49:29 -0400 |
---|---|---|
committer | Gaming4JC <g4jc@hyperbola.info> | 2019-07-18 22:38:24 -0400 |
commit | 1d0ab1c752c583c153b850af339edb86d23f6cc8 (patch) | |
tree | a59897de81ee25b02faad4dd67c08e3acf1272a5 /js/src/proxy | |
parent | fe20cd26491f8db4e7304d509a2639cfccf26c7e (diff) | |
download | UXP-1d0ab1c752c583c153b850af339edb86d23f6cc8.tar UXP-1d0ab1c752c583c153b850af339edb86d23f6cc8.tar.gz UXP-1d0ab1c752c583c153b850af339edb86d23f6cc8.tar.lz UXP-1d0ab1c752c583c153b850af339edb86d23f6cc8.tar.xz UXP-1d0ab1c752c583c153b850af339edb86d23f6cc8.zip |
1320408 - Part 9: Change JSObject::setFlags and depending methods to static method.
Diffstat (limited to 'js/src/proxy')
-rw-r--r-- | js/src/proxy/CrossCompartmentWrapper.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/js/src/proxy/CrossCompartmentWrapper.cpp b/js/src/proxy/CrossCompartmentWrapper.cpp index 2a6cb5400..246639956 100644 --- a/js/src/proxy/CrossCompartmentWrapper.cpp +++ b/js/src/proxy/CrossCompartmentWrapper.cpp @@ -89,7 +89,7 @@ CrossCompartmentWrapper::getPrototype(JSContext* cx, HandleObject wrapper, if (!GetPrototype(cx, wrapped, protop)) return false; if (protop) { - if (!protop->setDelegate(cx)) + if (!JSObject::setDelegate(cx, protop)) return false; } } @@ -122,7 +122,7 @@ CrossCompartmentWrapper::getPrototypeIfOrdinary(JSContext* cx, HandleObject wrap return true; if (protop) { - if (!protop->setDelegate(cx)) + if (!JSObject::setDelegate(cx, protop)) return false; } } |