diff options
author | wolfbeast <mcwerewolf@wolfbeast.com> | 2020-02-22 21:07:48 +0100 |
---|---|---|
committer | wolfbeast <mcwerewolf@wolfbeast.com> | 2020-04-14 21:10:50 +0200 |
commit | b9e692af05df98d3efc43996dda0983d31dfa7b4 (patch) | |
tree | 0e43271567377cb53f217653ff0c3ea2036d60d3 /js/src/vm/NativeObject.h | |
parent | 871e57fdd6d7e7aabf00f47f1b30e2ed084eed69 (diff) | |
download | UXP-b9e692af05df98d3efc43996dda0983d31dfa7b4.tar UXP-b9e692af05df98d3efc43996dda0983d31dfa7b4.tar.gz UXP-b9e692af05df98d3efc43996dda0983d31dfa7b4.tar.lz UXP-b9e692af05df98d3efc43996dda0983d31dfa7b4.tar.xz UXP-b9e692af05df98d3efc43996dda0983d31dfa7b4.zip |
Revert 1320408 part 15: Make addDataProperty static
Diffstat (limited to 'js/src/vm/NativeObject.h')
-rw-r--r-- | js/src/vm/NativeObject.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/js/src/vm/NativeObject.h b/js/src/vm/NativeObject.h index 107fade8c..3a3e50244 100644 --- a/js/src/vm/NativeObject.h +++ b/js/src/vm/NativeObject.h @@ -746,10 +746,10 @@ class NativeObject : public ShapedObject bool allowDictionary = true); /* Add a data property whose id is not yet in this scope. */ - static Shape* addDataProperty(ExclusiveContext* cx, HandleNativeObject obj, - jsid id_, uint32_t slot, unsigned attrs); - static Shape* addDataProperty(ExclusiveContext* cx, HandleNativeObject obj, - HandlePropertyName name, uint32_t slot, unsigned attrs); + Shape* addDataProperty(ExclusiveContext* cx, + jsid id_, uint32_t slot, unsigned attrs); + Shape* addDataProperty(ExclusiveContext* cx, HandlePropertyName name, + uint32_t slot, unsigned attrs); /* Add or overwrite a property for id in this scope. */ static Shape* |