diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2020-07-16 11:45:35 +0200 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2020-07-17 08:59:23 +0000 |
commit | 552906b0f222c5d5dd11b9fd73829d510980461a (patch) | |
tree | 3a11e6ed0538a81dd83b20cf3a4783e297f26d91 /chromium/third_party/blink/renderer/platform/bindings/v8_binding_macros.h | |
parent | 1b05827804eaf047779b597718c03e7d38344261 (diff) | |
download | qtwebengine-chromium-552906b0f222c5d5dd11b9fd73829d510980461a.tar.gz |
BASELINE: Update Chromium to 83.0.4103.122
Change-Id: Ie3a82f5bb0076eec2a7c6a6162326b4301ee291e
Reviewed-by: Michael BrĂ¼ning <michael.bruning@qt.io>
Diffstat (limited to 'chromium/third_party/blink/renderer/platform/bindings/v8_binding_macros.h')
-rw-r--r-- | chromium/third_party/blink/renderer/platform/bindings/v8_binding_macros.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/chromium/third_party/blink/renderer/platform/bindings/v8_binding_macros.h b/chromium/third_party/blink/renderer/platform/bindings/v8_binding_macros.h index 2ec174ff7aa..1c5a0f9dacf 100644 --- a/chromium/third_party/blink/renderer/platform/bindings/v8_binding_macros.h +++ b/chromium/third_party/blink/renderer/platform/bindings/v8_binding_macros.h @@ -59,16 +59,6 @@ namespace blink { if (UNLIKELY(!var.Prepare())) \ return retVal; -// Checks for a given v8::Value (value) whether it is an ArrayBufferView and -// below a certain size limit. If below the limit, memory is allocated on the -// stack to hold the actual payload. Keep the limit in sync with V8's -// typed_array_max_size. -#define allocateFlexibleArrayBufferViewStorage(value) \ - (value->IsArrayBufferView() && \ - (value.As<v8::ArrayBufferView>()->ByteLength() <= 64) \ - ? alloca(value.As<v8::ArrayBufferView>()->ByteLength()) \ - : nullptr) - } // namespace blink #endif // THIRD_PARTY_BLINK_RENDERER_PLATFORM_BINDINGS_V8_BINDING_MACROS_H_ |