Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
[Web IDL] Specify default values for optional parameters of type 'uns…
…igned long' https://bugs.webkit.org/show_bug.cgi?id=157043 Reviewed by Alex Christensen. Specify default values for optional parameters of type 'unsigned long' and let the bindings generator use WTF::Optional<> for the parameters that do not have such default value. * Modules/webaudio/AudioContext.cpp: (WebCore::AudioContext::createScriptProcessor): Deleted. (WebCore::AudioContext::createChannelSplitter): Deleted. (WebCore::AudioContext::createChannelMerger): Deleted. * Modules/webaudio/AudioContext.h: * Modules/webaudio/AudioContext.idl: * bindings/scripts/CodeGeneratorJS.pm: (CanUseWTFOptionalForParameter): Deleted. * css/CSSStyleSheet.cpp: (WebCore::CSSStyleSheet::addRule): * css/CSSStyleSheet.h: * inspector/InspectorStyleSheet.cpp: (WebCore::InspectorStyleSheet::addRule): Canonical link: https://commits.webkit.org/175165@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@200110 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
Showing
with
33 additions
and 44 deletions.
- +25 −0 Source/WebCore/ChangeLog
- +0 −24 Source/WebCore/Modules/webaudio/AudioContext.cpp
- +0 −4 Source/WebCore/Modules/webaudio/AudioContext.h
- +4 −4 Source/WebCore/Modules/webaudio/AudioContext.idl
- +0 −1 Source/WebCore/bindings/scripts/CodeGeneratorJS.pm
- +2 −8 Source/WebCore/css/CSSStyleSheet.cpp
- +1 −2 Source/WebCore/css/CSSStyleSheet.h
- +1 −1 Source/WebCore/inspector/InspectorStyleSheet.cpp
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
@@ -3384,7 +3384,6 @@ sub CanUseWTFOptionalForParameter | ||
return 0 if $codeGenerator->IsWrapperType($type); | ||
return 0 if $type eq "DOMString"; | ||
return 0 if $type eq "any"; | ||
|
||
return 1; | ||
} | ||
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