Skip to content

Commit

Permalink
Fix cosmetic issue in WKSafeBrowsingWarning
Browse files Browse the repository at this point in the history
https://bugs.webkit.org/show_bug.cgi?id=251166
rdar://104389623

Reviewed by Wenson Hsieh and Tim Horton.

I manually verified this fixes the issue and doesn't cause other issues on other macOS versions.

* Source/WebKit/UIProcess/Cocoa/WKSafeBrowsingWarning.mm:
(-[WKSafeBrowsingTextView clipsToBounds]):

Canonical link: https://commits.webkit.org/259390@main
  • Loading branch information
achristensen07 committed Jan 25, 2023
1 parent 560abdc commit abec243
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Source/WebKit/UIProcess/Cocoa/WKSafeBrowsingWarning.mm
Expand Up @@ -601,4 +601,11 @@ - (SizeType)intrinsicContentSize
#endif
}

#if PLATFORM(MAC)
- (BOOL)clipsToBounds
{
return YES;
}
#endif

@end

0 comments on commit abec243

Please sign in to comment.