1320408 - Part 16: Change NativeObject::removeProperty to static method.

This commit is contained in:
Gaming4JC 2019-06-08 23:42:05 -04:00 • committed by Roy Tam
commit 9e0f10ac59
3 changed files with 28 additions and 29 deletions

View file

@ -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);