⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 278319 in webkit


Ignore:
Timestamp:
Jun 1, 2021, 12:04:12 PM (5 years ago)
Author:
Chris Dumez
Message:

Unreviewed build fix after r278253.

Revert changes to ObjectiveCBlockConversions.swift and this is Swift's Optional<> not WTF's.

  • SwiftOverlay/SwiftOverlay/ObjectiveCBlockConversions.swift:

(ObjCBlockConversion.boxingNilAsAnyForCompatibility(_:Error:Error:)):

Location:
trunk/Source/WebKit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/ChangeLog

    r278318 r278319  
     12021-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
    1102021-06-01  Chris Dumez  <cdumez@apple.com>
    211
  • trunk/Source/WebKit/SwiftOverlay/SwiftOverlay/ObjectiveCBlockConversions.swift

    r278253 r278319  
    7171    ///
    7272    /// 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)`. This
     73    /// with `(nil, nil)` then `handler` is called with `.success(Optional<Any>.none as Any)`. This
    7474    /// is a compatibility behavior for http://webkit.org/b/216198, and should not be adopted by
    7575    /// new code.
     
    8181                handler(.success(success))
    8282            } else {
    83                 handler(.success(std::optional<Any>.none as Any))
     83                handler(.success(Optional<Any>.none as Any))
    8484            }
    8585        }
Note: See TracChangeset for help on using the changeset viewer.