Changeset 267215 in webkit
- Timestamp:
- Sep 17, 2020, 5:50:17 PM (6 years ago)
- Location:
- trunk/Source
- Files:
-
- 4 edited
-
WebCore/PAL/ChangeLog (modified) (1 diff)
-
WebCore/PAL/pal/spi/mac/NSApplicationSPI.h (modified) (1 diff)
-
WebKit/ChangeLog (modified) (1 diff)
-
WebKit/UIProcess/mac/PageClientImplMac.mm (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/PAL/ChangeLog
r267150 r267215 1 2020-09-17 Tim Horton <timothy_horton@apple.com> 2 3 Per-app accent color overrides are broken 4 https://bugs.webkit.org/show_bug.cgi?id=216674 5 <rdar://problem/67745464> 6 7 Reviewed by Wenson Hsieh. 8 9 * pal/spi/mac/NSApplicationSPI.h: 10 1 11 2020-09-16 Alex Christensen <achristensen@webkit.org> 2 12 -
trunk/Source/WebCore/PAL/pal/spi/mac/NSApplicationSPI.h
r265264 r267215 38 38 // Conditionally define this only for !USE_APPLE_INTERNAL_SDK when <rdar://problem/63864711> is fixed. 39 39 @property (copy, setter=_setAccentColor:) NSColor *_accentColor; 40 @property (readonly, copy) NSColor *_effectiveAccentColor; 40 41 41 42 @end -
trunk/Source/WebKit/ChangeLog
r267208 r267215 1 2020-09-17 Tim Horton <timothy_horton@apple.com> 2 3 Per-app accent color overrides are broken 4 https://bugs.webkit.org/show_bug.cgi?id=216674 5 <rdar://problem/67745464> 6 7 Reviewed by Wenson Hsieh. 8 9 No new tests; I've no idea how to write a test that would have caught this; 10 any test I can imagine would have also written to _accentColor and worked fine. 11 12 * UIProcess/mac/PageClientImplMac.mm: 13 (WebKit::PageClientImpl::accentColor): 14 AppKit changed the meaning of the IPI. Use the correct version. 15 We still write to _accentColor; it is now purely an override. 16 1 17 2020-09-17 Kate Cheney <katherine_cheney@apple.com> 2 18 -
trunk/Source/WebKit/UIProcess/mac/PageClientImplMac.mm
r266654 r267215 974 974 WebCore::Color PageClientImpl::accentColor() 975 975 { 976 return WebCore::colorFromNSColor([NSApp _ accentColor]);976 return WebCore::colorFromNSColor([NSApp _effectiveAccentColor]); 977 977 } 978 978 #endif
Note:
See TracChangeset
for help on using the changeset viewer.