[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/+/3275564 Reviewed-by: Michael Lippautz <mlippautz@chromium.org> Commit-Queue: Camillo Bruni <cbruni@chromium.org> Cr-Commit-Position: refs/heads/main@{#77895}
This commit is contained in:
parent
6b2fa4c12b
commit
b295d0b0af
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user