diff options
author | Gaming4JC <g4jc@hyperbola.info> | 2019-06-08 23:44:08 -0400 |
---|---|---|
committer | Gaming4JC <g4jc@hyperbola.info> | 2019-07-18 22:38:26 -0400 |
commit | 08aee2f9d9948c9a4540706d40ea4abf01f452a5 (patch) | |
tree | 547be0da21d021593c9522e35d9cafe451d3e50d /js/src/vm/NativeObject.h | |
parent | 4c56c51c89a3229e52f4c735d236e956c6b1ab2c (diff) | |
download | uxp-08aee2f9d9948c9a4540706d40ea4abf01f452a5.tar.gz |
1320408 - Part 17: Change NativeObject::clearFlag 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 ea0bf9ab37..9b8fe4721b 100644 --- a/js/src/vm/NativeObject.h +++ b/js/src/vm/NativeObject.h @@ -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 |