diff options
author | wolfbeast <mcwerewolf@wolfbeast.com> | 2020-02-22 21:07:48 +0100 |
---|---|---|
committer | wolfbeast <mcwerewolf@wolfbeast.com> | 2020-02-22 21:07:48 +0100 |
commit | b1cd96989bb5107f83895c2320e0046d84b448ab (patch) | |
tree | 468d90d65d7cb753f0e99fada6bc6798a3ff0e31 /js/src/vm/NativeObject.h | |
parent | a7888b8cf20691a4090715ab9b055ec3cb75f5e8 (diff) | |
download | UXP-b1cd96989bb5107f83895c2320e0046d84b448ab.tar UXP-b1cd96989bb5107f83895c2320e0046d84b448ab.tar.gz UXP-b1cd96989bb5107f83895c2320e0046d84b448ab.tar.lz UXP-b1cd96989bb5107f83895c2320e0046d84b448ab.tar.xz UXP-b1cd96989bb5107f83895c2320e0046d84b448ab.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 9cc6d5436..b17920ef9 100644 --- a/js/src/vm/NativeObject.h +++ b/js/src/vm/NativeObject.h @@ -744,10 +744,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* |