diff options
author | Gaming4JC <g4jc@hyperbola.info> | 2019-06-08 23:42:05 -0400 |
---|---|---|
committer | Gaming4JC <g4jc@hyperbola.info> | 2019-07-18 22:38:26 -0400 |
commit | 4c56c51c89a3229e52f4c735d236e956c6b1ab2c (patch) | |
tree | f43847f511012b6c074b9e63633ff989b061ccc8 /js/src/vm/NativeObject.h | |
parent | caf39feeeb457ffb143110826a0220211c00afb6 (diff) | |
download | UXP-4c56c51c89a3229e52f4c735d236e956c6b1ab2c.tar UXP-4c56c51c89a3229e52f4c735d236e956c6b1ab2c.tar.gz UXP-4c56c51c89a3229e52f4c735d236e956c6b1ab2c.tar.lz UXP-4c56c51c89a3229e52f4c735d236e956c6b1ab2c.tar.xz UXP-4c56c51c89a3229e52f4c735d236e956c6b1ab2c.zip |
1320408 - Part 16: Change NativeObject::removeProperty to static method.
Diffstat (limited to 'js/src/vm/NativeObject.h')
-rw-r--r-- | js/src/vm/NativeObject.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/src/vm/NativeObject.h b/js/src/vm/NativeObject.h index 7b240db34..ea0bf9ab3 100644 --- a/js/src/vm/NativeObject.h +++ b/js/src/vm/NativeObject.h @@ -764,7 +764,7 @@ class NativeObject : public ShapedObject unsigned attrs, JSGetterOp getter, JSSetterOp setter); /* Remove the property named by id from this object. */ - bool removeProperty(ExclusiveContext* cx, jsid id); + static bool removeProperty(ExclusiveContext* cx, HandleNativeObject obj, jsid id); /* Clear the scope, making it empty. */ static void clear(ExclusiveContext* cx, HandleNativeObject obj); |