[Safe CPP] Address Warnings in RenderFrame and HTMLFrameElement#46235
[Safe CPP] Address Warnings in RenderFrame and HTMLFrameElement#46235webkit-commit-queue merged 1 commit intoWebKit:mainfrom
Conversation
|
EWS run on previous version of this PR (hash 69fe000) Details
|
|
EWS run on previous version of this PR (hash 65a9cca) Details |
There was a problem hiding this comment.
This is against our style. Our getters do not return smart pointers. Sometimes, we do have a second getter which is named protectedFoo() or checkedFoo() which return a Ref or a CheckedRef. I'm not sure this is helpful here since this is nullable and the caller will likely have to store the result in a local variable (which can be a CheckedPtr) in order to null check it.
There was a problem hiding this comment.
Addressed the requested style changes.
Safer C++ Build #38446 (65a9cca)
|
|
EWS run on previous version of this PR (hash b910232) Details |
|
EWS run on previous version of this PR (hash 8eacea0) Details |
Safer C++ Build #38462 (b910232)
|
Safer C++ Build #38464 (8eacea0)❌ Found 1 failing file with 1 issue. Please address these issues before landing. See WebKit Guidelines for Safer C++ Programming. |
|
EWS run on previous version of this PR (hash 45da766) Details |
Safer C++ Build #38506 (45da766)❌ Found 1 failing file with 1 issue. Please address these issues before landing. See WebKit Guidelines for Safer C++ Programming. |
|
EWS run on previous version of this PR (hash 3f791e3) Details |
|
EWS run on previous version of this PR (hash 3da04c9) Details |
|
EWS run on current version of this PR (hash d1e96c3) Details |
|
Failed api-wpe checks. Please resolve failures and re-apply Rejecting #46235 from merge queue. |
|
Safe-Merge-Queue: Build #59268. |
https://bugs.webkit.org/show_bug.cgi?id=293931 rdar://problem/152464519 Reviewed by Chris Dumez. Address safe cpp warnings in RenderFrame and HTMLFrameElement. * Source/WebCore/html/HTMLFrameElement.cpp: (WebCore::HTMLFrameElement::attributeChanged): * Source/WebCore/html/HTMLFrameElement.h: * Source/WebCore/rendering/RenderFrame.cpp: (WebCore::RenderFrame::frameElement const): (WebCore::RenderFrame::edgeInfo const): * Source/WebCore/rendering/RenderFrame.h: (WebCore::HTMLFrameElement::renderer const): Canonical link: https://commits.webkit.org/295787@main
d1e96c3 to
4af4465
Compare
|
Committed 295787@main (4af4465): https://commits.webkit.org/295787@main Reviewed commits have been landed. Closing PR #46235 and removing active labels. |
4af4465
d1e96c3