Changeset 260290 in webkit
- Timestamp:
- Apr 17, 2020 3:08:31 PM (4 years ago)
- Location:
- trunk/Source
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r260277 r260290 1 2020-04-17 David Kilzer <ddkilzer@apple.com> 2 3 REGRESSION (r234105): [iOS] WKColorButton leaks a UIColor 4 <https://webkit.org/b/210658> 5 <rdar://problem/61938137> 6 7 Reviewed by Darin Adler. 8 9 * html/ColorInputType.cpp: 10 (WebCore::ColorInputType::isKeyboardFocusable const): 11 * page/Chrome.cpp: 12 (WebCore::Chrome::createColorChooser): 13 - Drive-by fix of unreachable code on PLATFORM(IOS_FAMILY). 14 1 15 2020-04-17 Don Olmstead <don.olmstead@sony.com> 2 16 -
trunk/Source/WebCore/html/ColorInputType.cpp
r258516 r260290 95 95 96 96 return element()->isTextFormControlFocusable(); 97 #else 98 return false; 97 99 #endif 98 return false;99 100 } 100 101 -
trunk/Source/WebCore/page/Chrome.cpp
r258487 r260290 422 422 { 423 423 #if PLATFORM(IOS_FAMILY) 424 UNUSED_PARAM(client); 425 UNUSED_PARAM(initialColor); 424 426 return nullptr; 425 #e ndif427 #else 426 428 notifyPopupOpeningObservers(); 427 429 return m_client.createColorChooser(client, initialColor); 430 #endif 428 431 } 429 432 -
trunk/Source/WebKit/ChangeLog
r260284 r260290 1 2020-04-17 David Kilzer <ddkilzer@apple.com> 2 3 REGRESSION (r234105): [iOS] WKColorButton leaks a UIColor 4 <https://webkit.org/b/210658> 5 <rdar://problem/61938137> 6 7 Reviewed by Darin Adler. 8 9 * UIProcess/ios/forms/WKFormColorPicker.mm: 10 (-[WKColorButton dealloc]): Add. 11 - Release _color instance variable to fix leak. 12 1 13 2020-04-17 Per Arne Vollan <pvollan@apple.com> 2 14 -
trunk/Source/WebKit/UIProcess/ios/forms/WKFormColorPicker.mm
r259843 r260290 76 76 } 77 77 78 - (void)dealloc 79 { 80 [_color release]; 81 _color = nil; 82 83 [super dealloc]; 84 } 85 78 86 @end 79 87
Note: See TracChangeset
for help on using the changeset viewer.