[cef][wam] Make the recipe work with official chromium release tarballs
[AGL/meta-agl-demo.git] / recipes-wam / cef / files / chromium / 0028-M118-fix-Don-t-delete-ZstdSourceStream-copy-move-cto.patch
1 From f45fd7f3cd85c0d421c37202d0f4dff2f7925162 Mon Sep 17 00:00:00 2001
2 From: Roger Zanoni <rzanoni@igalia.com>
3 Date: Fri, 3 Nov 2023 15:53:09 -0300
4 Subject: [PATCH 28/33] [M118-fix] Don't delete ZstdSourceStream copy/move
5  ctors
6
7 std::unique_ptr requires the deleted ZstdSourceStream deleted
8 constructors and it causes a build issue.
9
10 Upstream-Status: Inappropriate
11 Signed-off-by: Roger Zanoni <rzanoni@igalia.com>
12 ---
13  net/filter/zstd_source_stream.cc | 3 ---
14  1 file changed, 3 deletions(-)
15
16 diff --git a/net/filter/zstd_source_stream.cc b/net/filter/zstd_source_stream.cc
17 index 551729ac542b7..81d4565608e7a 100644
18 --- a/net/filter/zstd_source_stream.cc
19 +++ b/net/filter/zstd_source_stream.cc
20 @@ -64,9 +64,6 @@ class ZstdSourceStream : public FilterSourceStream {
21      }
22    }
23  
24 -  ZstdSourceStream(const ZstdSourceStream&) = delete;
25 -  ZstdSourceStream& operator=(const ZstdSourceStream&) = delete;
26 -
27    ~ZstdSourceStream() override {
28      if (ZSTD_isError(decoding_result_)) {
29        ZSTD_ErrorCode error_code = ZSTD_getErrorCode(decoding_result_);
30 -- 
31 2.42.1
32