Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge r220620 - [Bindings] Simplify DOMPromiseProxy now that WTF::Fun…
…ction can return references https://bugs.webkit.org/show_bug.cgi?id=175394 Patch by Sam Weinig <sam@webkit.org> on 2017-08-11 Reviewed by Chris Dumez. * bindings/IDLTypes.h: (WebCore::IDLWrapper::convertToParameterType): Deleted. Remove no longer used convertToParameterType. * bindings/js/DOMPromiseProxy.h: - Replace Variant<Value, Exception> with ExceptionOr<Value> / ExceptionOr<void>. - Update ResolveCallback to have a return type of IDLType::ParameterType, rather than IDLType::ImplementationType, now that WTF::Function supports references as the return type. This is needed, since the IDLType::ParameterType for an interface T is T&. * css/FontFace.cpp: * css/FontFace.h: * css/FontFaceSet.cpp: * css/FontFaceSet.h: Update resolve callbacks to return a reference rather than a RefPtr, matching the new signature requirement.
- Loading branch information
1 parent
30ef731
commit ec55b9b
Showing
7 changed files
with
65 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters