@@ -1963,9 +1963,9 @@ class V8_EXPORT JSON {
1963
1963
* \param json_string The string to parse.
1964
1964
* \return The corresponding value if successfully parsed.
1965
1965
*/
1966
- static V8_DEPRECATE_SOON (" Use the maybe version taking context" ,
1967
- MaybeLocal<Value> Parse (Isolate* isolate,
1968
- Local<String> json_string));
1966
+ static V8_DEPRECATED (" Use the maybe version taking context" ,
1967
+ MaybeLocal<Value> Parse (Isolate* isolate,
1968
+ Local<String> json_string));
1969
1969
static V8_WARN_UNUSED_RESULT MaybeLocal<Value> Parse (
1970
1970
Local<Context> context, Local<String> json_string);
1971
1971
@@ -2065,7 +2065,7 @@ class V8_EXPORT ValueSerializer {
2065
2065
* Returns the stored data. This serializer should not be used once the buffer
2066
2066
* is released. The contents are undefined if a previous write has failed.
2067
2067
*/
2068
- V8_DEPRECATE_SOON (" Use Release()" , std::vector<uint8_t > ReleaseBuffer ());
2068
+ V8_DEPRECATED (" Use Release()" , std::vector<uint8_t > ReleaseBuffer ());
2069
2069
2070
2070
/* *
2071
2071
* Returns the stored data (allocated using the delegate's
@@ -2086,10 +2086,10 @@ class V8_EXPORT ValueSerializer {
2086
2086
/* *
2087
2087
* Similar to TransferArrayBuffer, but for SharedArrayBuffer.
2088
2088
*/
2089
- V8_DEPRECATE_SOON (" Use Delegate::GetSharedArrayBufferId" ,
2090
- void TransferSharedArrayBuffer (
2091
- uint32_t transfer_id,
2092
- Local<SharedArrayBuffer> shared_array_buffer));
2089
+ V8_DEPRECATED (" Use Delegate::GetSharedArrayBufferId" ,
2090
+ void TransferSharedArrayBuffer (
2091
+ uint32_t transfer_id,
2092
+ Local<SharedArrayBuffer> shared_array_buffer));
2093
2093
2094
2094
/* *
2095
2095
* Indicate whether to treat ArrayBufferView objects as host objects,
@@ -3439,7 +3439,7 @@ class V8_EXPORT Object : public Value {
3439
3439
V8_WARN_UNUSED_RESULT Maybe<bool > Has (Local<Context> context,
3440
3440
Local<Value> key);
3441
3441
3442
- V8_DEPRECATE_SOON (" Use maybe version" , bool Delete (Local<Value> key));
3442
+ V8_DEPRECATED (" Use maybe version" , bool Delete (Local<Value> key));
3443
3443
V8_WARN_UNUSED_RESULT Maybe<bool > Delete (Local<Context> context,
3444
3444
Local<Value> key);
3445
3445
@@ -5148,8 +5148,8 @@ class V8_EXPORT SharedArrayBuffer : public Object {
5148
5148
*/
5149
5149
class V8_EXPORT Date : public Object {
5150
5150
public:
5151
- static V8_DEPRECATE_SOON (" Use maybe version." ,
5152
- Local<Value> New (Isolate* isolate, double time));
5151
+ static V8_DEPRECATED (" Use maybe version." ,
5152
+ Local<Value> New (Isolate* isolate, double time));
5153
5153
static V8_WARN_UNUSED_RESULT MaybeLocal<Value> New (Local<Context> context,
5154
5154
double time);
5155
5155
@@ -6408,14 +6408,14 @@ class V8_EXPORT ResourceConstraints {
6408
6408
uint64_t virtual_memory_limit);
6409
6409
6410
6410
// Returns the max semi-space size in MB.
6411
- V8_DEPRECATE_SOON (" Use max_semi_space_size_in_kb()" ,
6412
- size_t max_semi_space_size ()) {
6411
+ V8_DEPRECATED (" Use max_semi_space_size_in_kb()" ,
6412
+ size_t max_semi_space_size ()) {
6413
6413
return max_semi_space_size_in_kb_ / 1024 ;
6414
6414
}
6415
6415
6416
6416
// Sets the max semi-space size in MB.
6417
- V8_DEPRECATE_SOON (" Use set_max_semi_space_size_in_kb(size_t limit_in_kb)" ,
6418
- void set_max_semi_space_size (size_t limit_in_mb)) {
6417
+ V8_DEPRECATED (" Use set_max_semi_space_size_in_kb(size_t limit_in_kb)" ,
6418
+ void set_max_semi_space_size (size_t limit_in_mb)) {
6419
6419
max_semi_space_size_in_kb_ = limit_in_mb * 1024 ;
6420
6420
}
6421
6421
@@ -6433,12 +6433,12 @@ class V8_EXPORT ResourceConstraints {
6433
6433
void set_max_old_space_size (size_t limit_in_mb) {
6434
6434
max_old_space_size_ = limit_in_mb;
6435
6435
}
6436
- V8_DEPRECATE_SOON (" max_executable_size_ is subsumed by max_old_space_size_" ,
6437
- size_t max_executable_size () const ) {
6436
+ V8_DEPRECATED (" max_executable_size_ is subsumed by max_old_space_size_" ,
6437
+ size_t max_executable_size () const ) {
6438
6438
return max_executable_size_;
6439
6439
}
6440
- V8_DEPRECATE_SOON (" max_executable_size_ is subsumed by max_old_space_size_" ,
6441
- void set_max_executable_size (size_t limit_in_mb)) {
6440
+ V8_DEPRECATED (" max_executable_size_ is subsumed by max_old_space_size_" ,
6441
+ void set_max_executable_size (size_t limit_in_mb)) {
6442
6442
max_executable_size_ = limit_in_mb;
6443
6443
}
6444
6444
uint32_t * stack_limit () const { return stack_limit_; }
@@ -7067,9 +7067,9 @@ class V8_EXPORT EmbedderHeapTracer {
7067
7067
* Note: Only one of the AdvanceTracing methods needs to be overriden by the
7068
7068
* embedder.
7069
7069
*/
7070
- V8_DEPRECATE_SOON (" Use void AdvanceTracing(deadline_in_ms)" ,
7071
- virtual bool AdvanceTracing (
7072
- double deadline_in_ms, AdvanceTracingActions actions)) {
7070
+ V8_DEPRECATED (" Use void AdvanceTracing(deadline_in_ms)" ,
7071
+ virtual bool AdvanceTracing (
7072
+ double deadline_in_ms, AdvanceTracingActions actions)) {
7073
7073
return false ;
7074
7074
}
7075
7075
@@ -7108,8 +7108,8 @@ class V8_EXPORT EmbedderHeapTracer {
7108
7108
* Note: Only one of the EnterFinalPause methods needs to be overriden by the
7109
7109
* embedder.
7110
7110
*/
7111
- V8_DEPRECATE_SOON (" Use void EnterFinalPause(EmbedderStackState)" ,
7112
- virtual void EnterFinalPause ()) {}
7111
+ V8_DEPRECATED (" Use void EnterFinalPause(EmbedderStackState)" ,
7112
+ virtual void EnterFinalPause ()) {}
7113
7113
virtual void EnterFinalPause (EmbedderStackState stack_state);
7114
7114
7115
7115
/* *
0 commit comments