Changeset 278319 in webkit
- Timestamp:
- Jun 1, 2021, 12:04:12 PM (5 years ago)
- Location:
- trunk/Source/WebKit
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
SwiftOverlay/SwiftOverlay/ObjectiveCBlockConversions.swift (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/ChangeLog
r278318 r278319 1 2021-06-01 Chris Dumez <cdumez@apple.com> 2 3 Unreviewed build fix after r278253. 4 5 Revert changes to ObjectiveCBlockConversions.swift and this is Swift's Optional<> not WTF's. 6 7 * SwiftOverlay/SwiftOverlay/ObjectiveCBlockConversions.swift: 8 (ObjCBlockConversion.boxingNilAsAnyForCompatibility(_:Error:Error:)): 9 1 10 2021-06-01 Chris Dumez <cdumez@apple.com> 2 11 -
trunk/Source/WebKit/SwiftOverlay/SwiftOverlay/ObjectiveCBlockConversions.swift
r278253 r278319 71 71 /// 72 72 /// This performs the same conversion as `Self.exclusive(_:)`, but if the result block is called 73 /// with `(nil, nil)` then `handler` is called with `.success( std::optional<Any>.none as Any)`. This73 /// with `(nil, nil)` then `handler` is called with `.success(Optional<Any>.none as Any)`. This 74 74 /// is a compatibility behavior for http://webkit.org/b/216198, and should not be adopted by 75 75 /// new code. … … 81 81 handler(.success(success)) 82 82 } else { 83 handler(.success( std::optional<Any>.none as Any))83 handler(.success(Optional<Any>.none as Any)) 84 84 } 85 85 }
Note:
See TracChangeset
for help on using the changeset viewer.