Deprecate Object::Has and Object::Delete
Bug: v8:7284 Cq-Include-Trybots: luci.chromium.try:linux_chromium_rel_ng;luci.chromium.try:linux-chromeos-dbg;luci.chromium.try:linux-chromeos-rel Change-Id: I2a652fd99caaf04201da45c485b670cc2c35c2e7 Reviewed-on: https://chromium-review.googlesource.com/c/1264755 Commit-Queue: Mythri Alle <mythria@chromium.org> Reviewed-by: Ulan Degenbaev <ulan@chromium.org> Reviewed-by: Dan Elphick <delphick@chromium.org> Cr-Commit-Position: refs/heads/master@{#56482}
This commit is contained in:
parent
34e45c8476
commit
c47de2934a
@ -3317,7 +3317,7 @@ class V8_EXPORT Object : public Value {
|
||||
V8_WARN_UNUSED_RESULT MaybeLocal<Value> GetOwnPropertyDescriptor(
|
||||
Local<Context> context, Local<Name> key);
|
||||
|
||||
V8_DEPRECATE_SOON("Use maybe version", bool Has(Local<Value> key));
|
||||
V8_DEPRECATED("Use maybe version", bool Has(Local<Value> key));
|
||||
/**
|
||||
* Object::Has() calls the abstract operation HasProperty(O, P) described
|
||||
* in ECMA-262, 7.3.10. Has() returns
|
||||
@ -3336,7 +3336,7 @@ class V8_EXPORT Object : public Value {
|
||||
V8_WARN_UNUSED_RESULT Maybe<bool> Has(Local<Context> context,
|
||||
Local<Value> key);
|
||||
|
||||
V8_DEPRECATE_SOON("Use maybe version", bool Delete(Local<Value> key));
|
||||
V8_DEPRECATED("Use maybe version", bool Delete(Local<Value> key));
|
||||
V8_WARN_UNUSED_RESULT Maybe<bool> Delete(Local<Context> context,
|
||||
Local<Value> key);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user