Skip to content

[skia-sync] Merge upstream chrome/m151 - #334

Closed
mattleibow wants to merge 3 commits into
skiasharpfrom
skia-sync/m151
Closed

[skia-sync] Merge upstream chrome/m151#334
mattleibow wants to merge 3 commits into
skiasharpfrom
skia-sync/m151

Conversation

@mattleibow

Copy link
Copy Markdown
Collaborator

Automated upstream merge of chrome/m151.

Summary

Same-milestone bug-fix sync: merges the latest upstream chrome/m151 commits into mono/skia skiasharp.

Upstream Merge

  • Merged ref: upstream/chrome/m151 (tip 86bb2f25f4)
  • Base: skiasharp (a0dd072787)
  • Commits pulled in (2):
    • 86bb2f25f4 [M151] Address incorrect handling of a map pointer in SkRP
    • f7be6d7766 Roll infra dep to 055b758759c89b0cfafc8264ae2100a9aa6582d3
  • Merge commit: two-parent merge, no -s ours.

Conflicts Resolved

None. git merge --no-commit upstream/chrome/m151 reported Auto-merging DEPS and completed cleanly; git diff --check reported zero conflict markers.

Modified files inherited from upstream (no manual resolution required):

  • DEPS
  • .disabled.go.mod, .disabled.go.sum
  • infra/bots/deps/deps_gen.go
  • infra/bots/task_drivers/{canvaskit_gold,check_generated_files,cpu_tests,go_linters,toolchain_layering_check}/*.go
  • infra/bots/tasks.json
  • src/sksl/codegen/SkSLRasterPipelineCodeGenerator.cpp
  • tests/RasterPipelineCodeGeneratorTest.cpp

Since no fork-owned files (src/c/, include/c/, BUILD.gn) were touched by the upstream commits, no verify-upstream-or-reapply audit was needed. Fork-patch snapshot (/tmp/gh-aw/agent/fork-patches-before.txt) preserved for the record: 1053 patches on skiasharp above the merge base, all of which merged cleanly.

C API Fixes

None required — no C API files (src/c/, include/c/) changed.

Verification

  • ls src/c/*.cpp include/c/*.h — all fork C API files intact.
  • git diff --check — clean.

Items Needing Human Attention

None.

Created by skia-upstream-sync.

erock2112 and others added 3 commits July 30, 2026 09:05
Bug: b/535581863
Change-Id: Idffa66ff5cb6247d28dbc0b17006352198164770
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/1308756
Auto-Submit: Eric Boren <borenet@google.com>
Reviewed-by: Kaylee Lubick <kjlubick@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: 541111785,b/540157141,540157141
Change-Id: I149b070c31d4cfefa65b30972f0b8b94441e66db
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/1311216
Commit-Queue: rubber-stamper@appspot.gserviceaccount.com <rubber-stamper@appspot.gserviceaccount.com>
Bot-Commit: rubber-stamper@appspot.gserviceaccount.com <rubber-stamper@appspot.gserviceaccount.com>
Auto-Submit: Chrome Cherry Picker <chrome-cherry-picker@chops-service-accounts.iam.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 16:25
@mattleibow mattleibow closed this Aug 4, 2026
@mattleibow
mattleibow deleted the skia-sync/m151 branch August 4, 2026 16:35
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