diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2020-10-12 14:27:29 +0200 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2020-10-13 09:35:20 +0000 |
commit | c30a6232df03e1efbd9f3b226777b07e087a1122 (patch) | |
tree | e992f45784689f373bcc38d1b79a239ebe17ee23 /chromium/v8/src/debug/debug-interface.h | |
parent | 7b5b123ac58f58ffde0f4f6e488bcd09aa4decd3 (diff) | |
download | qtwebengine-chromium-85-based.tar.gz |
BASELINE: Update Chromium to 85.0.4183.14085-based
Change-Id: Iaa42f4680837c57725b1344f108c0196741f6057
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'chromium/v8/src/debug/debug-interface.h')
-rw-r--r-- | chromium/v8/src/debug/debug-interface.h | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/chromium/v8/src/debug/debug-interface.h b/chromium/v8/src/debug/debug-interface.h index 3a46cf9b391..e52bd1ba2a2 100644 --- a/chromium/v8/src/debug/debug-interface.h +++ b/chromium/v8/src/debug/debug-interface.h @@ -528,6 +528,7 @@ class PostponeInterruptsScope { class WeakMap : public v8::Object { public: + WeakMap() = delete; V8_EXPORT_PRIVATE V8_WARN_UNUSED_RESULT v8::MaybeLocal<v8::Value> Get( v8::Local<v8::Context> context, v8::Local<v8::Value> key); V8_EXPORT_PRIVATE V8_WARN_UNUSED_RESULT v8::MaybeLocal<WeakMap> Set( @@ -536,9 +537,6 @@ class WeakMap : public v8::Object { V8_EXPORT_PRIVATE static Local<WeakMap> New(v8::Isolate* isolate); V8_INLINE static WeakMap* Cast(Value* obj); - - private: - WeakMap(); }; /** @@ -549,6 +547,7 @@ class WeakMap : public v8::Object { */ class V8_EXPORT_PRIVATE AccessorPair : public v8::Value { public: + AccessorPair() = delete; v8::Local<v8::Value> getter(); v8::Local<v8::Value> setter(); @@ -556,7 +555,6 @@ class V8_EXPORT_PRIVATE AccessorPair : public v8::Value { V8_INLINE static AccessorPair* Cast(v8::Value* obj); private: - AccessorPair(); static void CheckCast(v8::Value* obj); }; @@ -596,17 +594,17 @@ class PropertyIterator { // Wrapper around v8::internal::WasmValue. class V8_EXPORT_PRIVATE WasmValue : public v8::Value { public: + WasmValue() = delete; static bool IsWasmValue(v8::Local<v8::Value> obj); V8_INLINE static WasmValue* Cast(v8::Value* obj); int value_type(); // Get the underlying values as a byte array, this is only valid if value_type // is i32, i64, f32, f64, or s128. v8::Local<v8::Array> bytes(); - // Get the underlying anyref, only valid if value_type is anyref. + // Get the underlying externref, only valid if value_type is externref. v8::Local<v8::Value> ref(); private: - WasmValue(); static void CheckCast(v8::Value* obj); }; |