Skip to content

Some smart pointer adoption in platform/mac #47369

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

@annevk annevk self-assigned this Jun 30, 2025
@annevk annevk added the WebCore Misc. For miscellaneous bugs in the WebCore framework (and not JavaScriptCore or WebKit). label Jun 30, 2025
@webkit-ews-buildbot
Copy link
Collaborator

Safer C++ Build #42045 (d630976)

⚠️ Found 4 fixed files! Please update expectations in Source/[Project]/SaferCPPExpectations by running the following command and update your pull request:

  • Tools/Scripts/update-safer-cpp-expectations -p WebCore --UncheckedLocalVarsChecker platform/mac/PlatformScreenMac.mm --UncountedCallArgsChecker platform/mac/PasteboardMac.mm --UncountedLocalVarsChecker platform/mac/ScrollbarsControllerMac.mm platform/mac/ScrollAnimatorMac.mm platform/mac/PlatformScreenMac.mm

@annevk annevk marked this pull request as ready for review June 30, 2025 10:06
@@ -279,7 +279,7 @@ class Object
// Derived classes must override operator new and call newObject().
void* operator new(size_t) = delete;

CFTypeRef m_wrapper;
const CFTypeRef m_wrapper;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why this change?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was hoping it would help. Removed from this PR.

@annevk annevk force-pushed the eng/Some-smart-pointer-adoption-in-platform-mac branch from d630976 to b6b074f Compare June 30, 2025 15:48
@annevk annevk added the unsafe-merge-queue Applied to send a pull request to merge-queue, but skip building and testing label Jun 30, 2025
@webkit-commit-queue webkit-commit-queue force-pushed the eng/Some-smart-pointer-adoption-in-platform-mac branch from b6b074f to 4a9b412 Compare June 30, 2025 17:00
@webkit-commit-queue
Copy link
Collaborator

Committed 296805@main (4a9b412): https://commits.webkit.org/296805@main

Reviewed commits have been landed. Closing PR #47369 and removing active labels.

@webkit-commit-queue webkit-commit-queue merged commit 4a9b412 into WebKit:main Jun 30, 2025
@webkit-commit-queue webkit-commit-queue removed the unsafe-merge-queue Applied to send a pull request to merge-queue, but skip building and testing label Jun 30, 2025
@annevk annevk deleted the eng/Some-smart-pointer-adoption-in-platform-mac branch June 30, 2025 17:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
WebCore Misc. For miscellaneous bugs in the WebCore framework (and not JavaScriptCore or WebKit).
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants