Commit b295d0b0 authored by Camillo Bruni's avatar Camillo Bruni Committed by V8 LUCI CQ

[api] Advance API deprecation for APIs last marked in v9.6

Bug: v8:11165
Change-Id: I4b5160245d032f3b57167344b03553e5c0374ca2
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3275564Reviewed-by: 's avatarMichael Lippautz <mlippautz@chromium.org>
Commit-Queue: Camillo Bruni <cbruni@chromium.org>
Cr-Commit-Position: refs/heads/main@{#77895}
parent 6b2fa4c1
......@@ -832,14 +832,14 @@ static constexpr CTypeInfo kTypeInfoFloat64 =
* returns true on success. `type_info` will be used for conversions.
*/
template <const CTypeInfo* type_info, typename T>
V8_DEPRECATE_SOON(
V8_DEPRECATED(
"Use TryToCopyAndConvertArrayToCppBuffer<CTypeInfo::Identifier, T>()")
bool V8_EXPORT V8_WARN_UNUSED_RESULT
TryCopyAndConvertArrayToCppBuffer(Local<Array> src, T* dst,
uint32_t max_length);
template <>
V8_DEPRECATE_SOON(
V8_DEPRECATED(
"Use TryToCopyAndConvertArrayToCppBuffer<CTypeInfo::Identifier, T>()")
inline bool V8_WARN_UNUSED_RESULT
TryCopyAndConvertArrayToCppBuffer<&kTypeInfoInt32, int32_t>(
......@@ -848,7 +848,7 @@ inline bool V8_WARN_UNUSED_RESULT
}
template <>
V8_DEPRECATE_SOON(
V8_DEPRECATED(
"Use TryToCopyAndConvertArrayToCppBuffer<CTypeInfo::Identifier, T>()")
inline bool V8_WARN_UNUSED_RESULT
TryCopyAndConvertArrayToCppBuffer<&kTypeInfoFloat64, double>(
......
......@@ -128,7 +128,7 @@ class V8_EXPORT Locker {
* results if anybody uses v8::Locker in the current process.
*/
static bool WasEverUsed();
V8_DEPRECATE_SOON("Use WasEverUsed instead")
V8_DEPRECATED("Use WasEverUsed instead")
static bool IsActive();
// Disallow copying and assigning.
......
......@@ -215,7 +215,7 @@ class V8_EXPORT Message {
bool IsSharedCrossOrigin() const;
bool IsOpaque() const;
V8_DEPRECATE_SOON("Use the version that takes a std::ostream&.")
V8_DEPRECATED("Use the version that takes a std::ostream&.")
static void PrintCurrentStackTrace(Isolate* isolate, FILE* out);
static void PrintCurrentStackTrace(Isolate* isolate, std::ostream& out);
......
......@@ -604,7 +604,7 @@ class V8_EXPORT Object : public Value {
Local<Context> GetCreationContextChecked();
/** Same as above, but works for Persistents */
V8_DEPRECATE_SOON(
V8_DEPRECATED(
"Use MaybeLocal<Context> GetCreationContext(const "
"PersistentBase<Object>& object)")
static Local<Context> CreationContext(const PersistentBase<Object>& object);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment