MiniBrowser toolbar is ugly with default macOS Big Sur styl
<rdar://problem/65637420>
Created attachment 404409 [details] Patch
Created attachment 404410 [details] Before
Created attachment 404411 [details] After (in dark mode)
Comment on attachment 404409 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=404409&action=review > Tools/MiniBrowser/mac/BrowserWindowController.m:46 > +#if TARGET_OS_OSX && __MAC_OS_X_VERSION_MIN_REQUIRED >= 110000 Why the TARGET_ check? > Tools/MiniBrowser/mac/BrowserWindowController.m:51 > + reloadButton.image = [NSImage imageWithSystemSymbolName:@"arrow.clockwise" accessibilityDescription:@"Reload"]; I believe it is possible to specify symbols in IB? But I could be wrong.
Seems like @available should be used instead for best practices here.
Committed r264441: <https://trac.webkit.org/changeset/264441>