| Summary: | [macOS] Content filter blocking shield is not displayed | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Per Arne Vollan <pvollan> | ||||||
| Component: | WebKit Misc. | Assignee: | Nobody <webkit-unassigned> | ||||||
| Status: | RESOLVED FIXED | ||||||||
| Severity: | Normal | CC: | ggaren, webkit-bug-importer | ||||||
| Priority: | P2 | Keywords: | InRadar | ||||||
| Version: | WebKit Nightly Build | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Attachments: |
|
||||||||
|
Description
Per Arne Vollan
2022-05-06 11:34:38 PDT
Created attachment 458966 [details]
Patch
Comment on attachment 458966 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=458966&action=review r=me > Source/WebCore/platform/cocoa/ContentFilterUnblockHandlerCocoa.mm:185 > + auto unblocked = false; > + callOnMainThread([decisionHandler, unblocked] { > + decisionHandler(unblocked); > + }); Can unblocked be a local variable rather than a captured variable here? (In reply to Geoffrey Garen from comment #3) > Comment on attachment 458966 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=458966&action=review > > r=me > > > Source/WebCore/platform/cocoa/ContentFilterUnblockHandlerCocoa.mm:185 > > + auto unblocked = false; > > + callOnMainThread([decisionHandler, unblocked] { > > + decisionHandler(unblocked); > > + }); > > Can unblocked be a local variable rather than a captured variable here? Yes, that is a good point, will fix. Thanks for reviewing! Created attachment 458976 [details]
Patch
Committed r293931 (250378@main): <https://commits.webkit.org/250378@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 458976 [details]. |