Changeset 193489 in webkit
- Timestamp:
- Dec 4, 2015, 4:53:03 PM (10 years ago)
- Location:
- trunk/Source/WebKit2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit2/ChangeLog
r193483 r193489 1 2015-12-04 Beth Dakin <bdakin@apple.com> 2 3 Crash in clients using userData in 4 _immediateActionAnimationControllerForHitTestResult 5 https://bugs.webkit.org/show_bug.cgi?id=151887 6 7 Rubber-stamped by Anders Carlsson. 8 9 Follow-up fix to handle null userData. 10 * UIProcess/API/Cocoa/WKWebView.mm: 11 (-[WKWebView _web_immediateActionAnimationControllerForHitTestResultInternal:withType:userData:]): 12 1 13 2015-12-04 Beth Dakin <bdakin@apple.com> 2 14 -
trunk/Source/WebKit2/UIProcess/API/Cocoa/WKWebView.mm
r193483 r193489 2772 2772 - (id)_web_immediateActionAnimationControllerForHitTestResultInternal:(API::HitTestResult*)hitTestResult withType:(uint32_t)type userData:(API::Object*)userData 2773 2773 { 2774 return [self _immediateActionAnimationControllerForHitTestResult:wrapper(*hitTestResult) withType:(_WKImmediateActionType)type userData:static_cast<id<NSSecureCoding>>(userData->wrapper())]; 2774 id<NSSecureCoding> data = userData ? static_cast<id<NSSecureCoding>>(userData->wrapper()) : nil; 2775 return [self _immediateActionAnimationControllerForHitTestResult:wrapper(*hitTestResult) withType:(_WKImmediateActionType)type userData:data]; 2775 2776 } 2776 2777
Note:
See TracChangeset
for help on using the changeset viewer.