Skip to content

Commit

Permalink
Deploy more smart pointers in WKWebProcessPlugInFrame.mm
Browse files Browse the repository at this point in the history
https://bugs.webkit.org/show_bug.cgi?id=265740
rdar://119083832

Reviewed by Chris Dumez.

* Source/WebKit/WebProcess/InjectedBundle/API/Cocoa/WKWebProcessPlugInFrame.mm:
(collectIcons):

Canonical link: https://commits.webkit.org/271448@main
  • Loading branch information
abigailfox committed Dec 4, 2023
1 parent d4b790b commit 4886de7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ - (NSString *)_securityOrigin
{
if (!frame)
return @[];
auto document = frame->document();
RefPtr document = frame->document();
if (!document)
return @[];
return createNSArray(WebCore::LinkIconCollector(*document).iconsOfTypes(iconTypes), [] (auto&& icon) -> NSURL * {
Expand Down

0 comments on commit 4886de7

Please sign in to comment.