summaryrefslogtreecommitdiff
path: root/js/src/vm/NativeObject.cpp
diff options
context:
space:
mode:
authorGaming4JC <g4jc@hyperbola.info>2019-06-08 23:44:08 -0400
committerGaming4JC <g4jc@hyperbola.info>2019-07-18 22:38:26 -0400
commit08aee2f9d9948c9a4540706d40ea4abf01f452a5 (patch)
tree547be0da21d021593c9522e35d9cafe451d3e50d /js/src/vm/NativeObject.cpp
parent4c56c51c89a3229e52f4c735d236e956c6b1ab2c (diff)
downloaduxp-08aee2f9d9948c9a4540706d40ea4abf01f452a5.tar.gz
1320408 - Part 17: Change NativeObject::clearFlag to static method.
Diffstat (limited to 'js/src/vm/NativeObject.cpp')
-rw-r--r--js/src/vm/NativeObject.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/src/vm/NativeObject.cpp b/js/src/vm/NativeObject.cpp
index eaa47d20a1..190a19e565 100644
--- a/js/src/vm/NativeObject.cpp
+++ b/js/src/vm/NativeObject.cpp
@@ -691,7 +691,7 @@ NativeObject::maybeDensifySparseElements(js::ExclusiveContext* cx, HandleNativeO
* flag so that we will not start using sparse indexes again if we need
* to grow the object.
*/
- if (!obj->clearFlag(cx, BaseShape::INDEXED))
+ if (!NativeObject::clearFlag(cx, obj, BaseShape::INDEXED))
return DenseElementResult::Failure;
return DenseElementResult::Success;