Skip to content

[skia-sync] Merge upstream chrome/m150 - #336

Merged
mattleibow merged 3 commits into
release/4.150.xfrom
skia-sync/release-4.150.x
Aug 4, 2026
Merged

[skia-sync] Merge upstream chrome/m150#336
mattleibow merged 3 commits into
release/4.150.xfrom
skia-sync/release-4.150.x

Conversation

@mattleibow

Copy link
Copy Markdown
Collaborator

Automated upstream merge of chrome/m150.

Upstream merge

Bug-fix sync on the release/4.150.x line — merged upstream/chrome/m150
(tip a81173f17b197686dc1e6c78515de86e92ddc861) into
skia-sync/release-4.150.x.

Two new upstream commits since the previous sync:

  • a81173f17b [M150] Address incorrect handling of a map pointer in SkRP
  • 4452d2cbf4 Roll infra dep to 055b758759c89b0cfafc8264ae2100a9aa6582d3

Upstream files touched: DEPS, go.mod/go.sum, infra/bots/** (Go task
drivers + tasks.json), src/sksl/codegen/SkSLRasterPipelineCodeGenerator.cpp,
tests/RasterPipelineCodeGeneratorTest.cpp. No files added or removed
under src/ or include/, so BUILD.gn needed no source-list update.

Conflicts resolved

File Resolution
DEPS Combined — took upstream's infra_revision bump (5997e027…055b7587…), kept all fork dependency pins (harfbuzz, expat, libjpeg-turbo, freetype, zlib, libpng, libwebp, brotli, deps-removal). No fork patch has ever touched infra_revision; verified by git log --oneline release/4.150.x -- DEPS against the pre-merge fork-patch snapshot in /tmp/gh-aw/agent/fork-patches-before.txt.

No other conflicts. C API files (src/c/, include/c/) untouched by the merge.

C API fixes

None — no upstream C++ API changes affected our C API shim. SK_C_INCREMENT
remains 0 (release-line policy).

Items needing human attention

None. Straightforward bug-fix sync; native build + full C# test suite are green.

Created by skia-upstream-sync.

erock2112 and others added 3 commits July 30, 2026 10:51
Bug: b/535581863
Change-Id: Idea1fd6496e8b54823f32820ae2351a6d17383f2
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/1308696
Commit-Queue: Eric Boren <borenet@google.com>
Reviewed-by: Kaylee Lubick <kjlubick@google.com>
Auto-Submit: Eric Boren <borenet@google.com>
Commit-Queue: Kaylee Lubick <kjlubick@google.com>
Original change's description:
> Address incorrect handling of a map pointer in SkRP
>
> In pushChildCall, we held on to a pointer from a fChildEffectMap
> and then later dereferenced it. However, in between those
> points was a code path that could grow the map, invalidating
> the pointer. This is demonstrated in the newly added test.
>
> To fix it, we just dereference it earlier. While tracking this
> down, I found a suspicious other usage of the map which works
> in newer C++, but could break in older versions. It's trivial
> to fix Generator::writeFunction, so I handled that as well.
>
> Bug: b/540157141
> Fixed: 540157141
> Change-Id: I149b070c31d4cfefa65b30972f0b8b94441e66db
> Reviewed-on: https://skia-review.googlesource.com/c/skia/+/1308776
> Reviewed-by: Jorge Betancourt <jmbetancourt@google.com>
> Commit-Queue: Kaylee Lubick <kjlubick@google.com>

(cherry picked from commit 5b90a36)

Bug: 541110610,b/540157141,540157141
Change-Id: I149b070c31d4cfefa65b30972f0b8b94441e66db
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/1311197
Auto-Submit: Chrome Cherry Picker <chrome-cherry-picker@chops-service-accounts.iam.gserviceaccount.com>
Commit-Queue: rubber-stamper@appspot.gserviceaccount.com <rubber-stamper@appspot.gserviceaccount.com>
Bot-Commit: rubber-stamper@appspot.gserviceaccount.com <rubber-stamper@appspot.gserviceaccount.com>
@mattleibow mattleibow added type/milestone-sync Any upstream Skia sync PR (milestone bump, same-milestone bug-fix re-sync, or tip sync). partner/agentic-workflows Issues and PRs created by SkiaSharp agentic workflows. labels Aug 4, 2026
@mattleibow
mattleibow marked this pull request as ready for review August 4, 2026 14:07
@mattleibow
mattleibow merged commit 7395928 into release/4.150.x Aug 4, 2026
3 checks passed
@mattleibow
mattleibow deleted the skia-sync/release-4.150.x branch August 4, 2026 16:25
mattleibow added a commit to mono/SkiaSharp that referenced this pull request Aug 4, 2026
[skia-sync] Merge upstream chrome/m150 bug fixes (#4648)

Changes: mono/skia#336

Update the release/4.150.x SkiaSharp line to the m150 bug-fix sync from mono/skia. Advance the Skia submodule and update cgmanifest.json to record the new fork and upstream merge commits.

This is a release-line sync only: package versions, SONAMEs, SK_C_INCREMENT, and the managed API remain unchanged. Regenerating the bindings produces no diff, confirming that the upstream fixes do not affect the C API or P/Invoke surface.

Native and managed builds pass, along with the full test suite.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
`` inst
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

partner/agentic-workflows Issues and PRs created by SkiaSharp agentic workflows. type/milestone-sync Any upstream Skia sync PR (milestone bump, same-milestone bug-fix re-sync, or tip sync).

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants