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
Fix use-after-move on navigationActionData #8822
Fix use-after-move on navigationActionData #8822
Conversation
EWS run on previous version of this PR (hash 4fe3368) |
4fe3368
to
e2fe6f4
Compare
EWS run on previous version of this PR (hash e2fe6f4) |
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 think we should switch to using navigationAction.data()
to access navigationActionData
values after creating the navigationAction
object.
e2fe6f4
to
db28602
Compare
EWS run on current version of this PR (hash db28602) |
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.
r=me
https://bugs.webkit.org/show_bug.cgi?id=250826 rdar://104420066 Reviewed by Youenn Fablet and David Kilzer. This patch fixes a use-after-move on `navigationActionData`. This is benign, but we should still change this to fix the clang-tidy warning. * Source/WebKit/UIProcess/WebPageProxy.cpp: (WebKit::WebPageProxy::decidePolicyForNavigationAction): Canonical link: https://commits.webkit.org/259164@main
db28602
to
2f177bc
Compare
Committed 259164@main (2f177bc): https://commits.webkit.org/259164@main Reviewed commits have been landed. Closing PR #8822 and removing active labels. |
2f177bc
db28602