Skip to content

Remove unnecessary unsafe modifier from GRContextOptions#3991

Draft
Copilot wants to merge 2 commits into
mainfrom
copilot/remove-unsafe-modifier-grcontextoptions
Draft

Remove unnecessary unsafe modifier from GRContextOptions#3991
Copilot wants to merge 2 commits into
mainfrom
copilot/remove-unsafe-modifier-grcontextoptions

Conversation

Copilot AI commented May 15, 2026

Copy link
Copy Markdown
Contributor

Description of Change

GRContextOptions was declared public unsafe class despite containing zero unsafe code — no pointers, no fixed blocks, no stackalloc. Remove the unnecessary modifier.

Bugs Fixed

API Changes

None.

Behavioral Changes

None.

Required skia PR

None.

PR Checklist

  • Has tests (if omitted, state reason in description)
  • Rebased on top of main at time of PR
  • Merged related skia PRs
  • Changes adhere to coding standard
  • Updated documentation

No tests needed — keyword-only removal with no behavioral or ABI impact.

Copilot AI changed the title [WIP] Remove unnecessary class-level unsafe modifier from GRContextOptions Remove unnecessary unsafe modifier from GRContextOptions May 15, 2026
Copilot AI requested a review from mattleibow May 15, 2026 22:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

[fix-finder] Remove unnecessary class-level unsafe modifier from GRContextOptions

2 participants