1320408 - Part 17: Change NativeObject::clearFlag to static method.

This commit is contained in:
Gaming4JC 2019-06-08 23:44:08 -04:00 • committed by Roy Tam
commit d102bd41c8
3 changed files with 8 additions and 9 deletions

View file

@ -614,7 +614,7 @@ class NativeObject : public ShapedObject
}
bool shadowingShapeChange(ExclusiveContext* cx, const Shape& shape);
bool clearFlag(ExclusiveContext* cx, BaseShape::Flag flag);
static bool clearFlag(ExclusiveContext* cx, HandleNativeObject obj, BaseShape::Flag flag);
// The maximum number of slots in an object.
// |MAX_SLOTS_COUNT * sizeof(JS::Value)| shouldn't overflow