-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Some smart pointer adoption in platform/mac #47369
Conversation
EWS run on previous version of this PR (hash d630976) |
Safer C++ Build #42045 (d630976)
|
Source/WebKit/Shared/API/APIObject.h
Outdated
@@ -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; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why this change?
There was a problem hiding this comment.
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.
d630976
to
b6b074f
Compare
EWS run on current version of this PR (hash b6b074f) |
https://bugs.webkit.org/show_bug.cgi?id=295196 Reviewed by Charlie Wolfe. Apply https://github.com/WebKit/WebKit/wiki/Safer-CPP-Guidelines Canonical link: https://commits.webkit.org/296805@main
b6b074f
to
4a9b412
Compare
Committed 296805@main (4a9b412): https://commits.webkit.org/296805@main Reviewed commits have been landed. Closing PR #47369 and removing active labels. |
4a9b412
b6b074f
🧪 api-ios