From 936433a5deb6ccc8f8476096f2c2b8dc72c33388 Mon Sep 17 00:00:00 2001 From: zorz Date: Thu, 2 Apr 2026 01:11:55 +0300 Subject: chromium musl --- chromium/patches/llvm21-fixes.patch | 44 +++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 chromium/patches/llvm21-fixes.patch (limited to 'chromium/patches/llvm21-fixes.patch') diff --git a/chromium/patches/llvm21-fixes.patch b/chromium/patches/llvm21-fixes.patch new file mode 100644 index 0000000..01208af --- /dev/null +++ b/chromium/patches/llvm21-fixes.patch @@ -0,0 +1,44 @@ +diff --git a/components/autofill/core/browser/payments/full_card_request.cc b/components/autofill/core/browser/payments/full_card_request.cc +index 8b7319d..5a8ade3 100644 +--- a/components/autofill/core/browser/payments/full_card_request.cc ++++ b/components/autofill/core/browser/payments/full_card_request.cc +@@ -124,7 +124,7 @@ void FullCardRequest::GetFullCardImpl( + request_->card = std::move(card); + request_->last_committed_primary_main_frame_origin = + last_committed_primary_main_frame_origin; +- request_->context_token = std::move(context_token).value_or({}); ++ request_->context_token = std::move(context_token).value_or(std::string{}); + request_->selected_challenge_option = std::move(selected_challenge_option); + + should_unmask_card_ = request_->card.masked() || +diff --git a/ui/gfx/paint_vector_icon.cc b/ui/gfx/paint_vector_icon.cc +index eef47b4..710f070 100644 +--- a/ui/gfx/paint_vector_icon.cc ++++ b/ui/gfx/paint_vector_icon.cc +@@ -235,7 +235,7 @@ void PaintPath(Canvas* canvas, + break; + + case H_LINE_TO: { +- const SkPoint last_point = path.getLastPt().value_or({0, 0}); ++ const SkPoint last_point = path.getLastPt().value_or(SkPoint{0, 0}); + path.lineTo(arg(0), last_point.fY); + break; + } +@@ -245,7 +245,7 @@ void PaintPath(Canvas* canvas, + break; + + case V_LINE_TO: { +- const SkPoint last_point = path.getLastPt().value_or({0, 0}); ++ const SkPoint last_point = path.getLastPt().value_or(SkPoint{0, 0}); + path.lineTo(last_point.fX, arg(0)); + break; + } +@@ -273,7 +273,7 @@ void PaintPath(Canvas* canvas, + // details. + // Note that |x1| and |y1| will correspond to the sole control point if + // calculating a quadratic curve. +- const SkPoint last_point = path.getLastPt().value_or({0, 0}); ++ const SkPoint last_point = path.getLastPt().value_or(SkPoint{0, 0}); + SkScalar delta_x = 0; + SkScalar delta_y = 0; + if (IsCommandTypeCurve(previous_command_type)) { -- cgit v1.2.3