Changeset 246687 in webkit
- Timestamp:
- Jun 21, 2019 12:12:44 PM (5 years ago)
- Location:
- trunk/Source/WebKit
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/ChangeLog
r246677 r246687 1 2019-06-21 Keith Rollin <krollin@apple.com> 2 3 Address reference to UIColor.groupTableViewBackgroundColor in WKPasswordView.mm 4 https://bugs.webkit.org/show_bug.cgi?id=199111 5 <rdar://problem/51992107> 6 7 Reviewed by Timothy Hatcher. 8 9 WKPasswordView.mm is used on iOS-family devices. However, it doesn't 10 build on tvOS or watchOS when "treat deprecation warnings as errors" 11 is enabled. This build failure is due to a reference to 12 UIColor.groupTableViewBackgroundColor in a branch of non-dark-mode 13 code. Address this by surrounding the reference with 14 ALLOW_DEPRECATED_DECLARATIONS_* macros. 15 16 Attempting to address the build failure by unconditionally enabling 17 the dark-mode code works for tvOS, but fails for watchOS due to lack 18 of dark-mode support on that platform. 19 20 * UIProcess/ios/WKPasswordView.mm: 21 (-[WKPasswordView showInScrollView:]): 22 1 23 2019-06-21 Michael Catanzaro <mcatanzaro@igalia.com> 2 24 -
trunk/Source/WebKit/UIProcess/ios/WKPasswordView.mm
r246270 r246687 105 105 [_scrollView setBackgroundColor:UIColor.systemGroupedBackgroundColor]; 106 106 #else 107 ALLOW_DEPRECATED_DECLARATIONS_BEGIN 107 108 [_scrollView setBackgroundColor:UIColor.groupTableViewBackgroundColor]; 109 ALLOW_DEPRECATED_DECLARATIONS_END 108 110 #endif 109 111
Note: See TracChangeset
for help on using the changeset viewer.