diff options
author | Gaming4JC <g4jc@hyperbola.info> | 2019-06-09 00:58:44 -0400 |
---|---|---|
committer | Gaming4JC <g4jc@hyperbola.info> | 2019-07-18 22:38:29 -0400 |
commit | fe760880b72f08b75a9adacdcad51d71eac5dfa9 (patch) | |
tree | a0bc22d21422cd784fe414d451cc47237aed8ae9 /js/src/vm/NativeObject.cpp | |
parent | 72f723f391e5bfb18649d3c26e781c2b0e28e328 (diff) | |
download | uxp-fe760880b72f08b75a9adacdcad51d71eac5dfa9.tar.gz |
1320408 - Part 24: Change NativeObject::{fillInAfterSwap,replaceWithNewEquivalentShape,generateOwnShape,shadowingShapeChange} to static method.
Diffstat (limited to 'js/src/vm/NativeObject.cpp')
-rw-r--r-- | js/src/vm/NativeObject.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/src/vm/NativeObject.cpp b/js/src/vm/NativeObject.cpp index 190a19e565..da0f59fe2e 100644 --- a/js/src/vm/NativeObject.cpp +++ b/js/src/vm/NativeObject.cpp @@ -1117,7 +1117,7 @@ PurgeProtoChain(ExclusiveContext* cx, JSObject* objArg, HandleId id) shape = obj->as<NativeObject>().lookup(cx, id); if (shape) - return obj->as<NativeObject>().shadowingShapeChange(cx, *shape); + return NativeObject::shadowingShapeChange(cx, obj.as<NativeObject>(), *shape); obj = obj->staticPrototype(); } |