diff options
author | Michal Klocek <michal.klocek@qt.io> | 2022-08-19 13:35:32 +0200 |
---|---|---|
committer | Michal Klocek <michal.klocek@qt.io> | 2022-09-06 09:28:03 +0000 |
commit | 5cca05c6637d709dfd2cbbccd2406b16b3a41766 (patch) | |
tree | 6adf5a4676c34812b1bf464cb1af613dcbb64f06 /chromium/third_party/blink/renderer/core | |
parent | 479cb46ed68d4d365f476de445d3372af4bf0b7f (diff) | |
download | qtwebengine-chromium-5cca05c6637d709dfd2cbbccd2406b16b3a41766.tar.gz |
Fix crashes of touchTapAndHold on qemu
Qemu-arm throws unaligned memory access when trying to
allocate AsynFindBuffer for cppgc::MakeGarbageCollected,
which uses new placement operator. The issue happens only
when gesture handling code path gets involved.
See bug report for the stacktrace.
Make user defined constructor inline.
Fixes: QTBUG-105817
Task-number: QTBUG-105342
Change-Id: Ib264d91c183f25c93af699a4af02750ebc1f43e8
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'chromium/third_party/blink/renderer/core')
-rw-r--r-- | chromium/third_party/blink/renderer/core/editing/finder/async_find_buffer.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chromium/third_party/blink/renderer/core/editing/finder/async_find_buffer.h b/chromium/third_party/blink/renderer/core/editing/finder/async_find_buffer.h index 9a8bc48137a..be08728eb47 100644 --- a/chromium/third_party/blink/renderer/core/editing/finder/async_find_buffer.h +++ b/chromium/third_party/blink/renderer/core/editing/finder/async_find_buffer.h @@ -17,7 +17,7 @@ namespace blink { // callback-based interface. class AsyncFindBuffer final : public FindBufferRunner { public: - explicit AsyncFindBuffer() = default; + explicit AsyncFindBuffer(){}; ~AsyncFindBuffer() = default; void FindMatchInRange(RangeInFlatTree* search_range, |