Changeset 206094 in webkit
- Timestamp:
- Sep 19, 2016 5:30:53 AM (8 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r206093 r206094 1 2016-09-19 Nael Ouedraogo <nael.ouedraogo@crf.canon.fr> 2 3 If a host object is only used as a variadic argument, its bindings header isn't properly included 4 https://bugs.webkit.org/show_bug.cgi?id=150121 5 6 Reviewed by Youenn Fablet. 7 8 Modify JS binding generator to include binding headers of objects passed 9 as variadic argument. 10 11 * Modules/mediastream/RTCPeerConnection.h: Remove workaround. 12 * bindings/scripts/CodeGeneratorJS.pm: 13 (AddVariadicToImplIncludes): 14 (GenerateParametersCheck): 15 * bindings/scripts/test/JS/JSTestObj.cpp: 16 1 17 2016-09-19 Joseph Pecoraro <pecoraro@apple.com> 2 18 -
trunk/Source/WebCore/Modules/mediastream/RTCPeerConnection.h
r205542 r206094 39 39 #include "Dictionary.h" 40 40 #include "EventTarget.h" 41 // FIXME: Workaround for bindings bug http://webkit.org/b/150121 42 #include "JSMediaStream.h" 41 #include "MediaStream.h" 43 42 #include "PeerConnectionBackend.h" 44 43 #include "RTCRtpTransceiver.h" … … 49 48 namespace WebCore { 50 49 51 class MediaStream;52 50 class MediaStreamTrack; 53 51 class PeerConnectionBackend; -
trunk/Source/WebCore/bindings/scripts/CodeGeneratorJS.pm
r206090 r206094 4003 4003 $value = "WTFMove($name)"; 4004 4004 } elsif ($parameter->isVariadic) { 4005 AddToImplIncludes("JS${type}.h", $function->signature->extendedAttributes->{"Conditional"}) unless $codeGenerator->SkipIncludeHeader($type) or !$codeGenerator->IsWrapperType($type); 4005 4006 my ($wrapperType, $wrappedType) = GetVariadicType($interface, $type); 4006 4007 push(@$outputArray, " auto $name = toArguments<VariadicHelper<$wrapperType, $wrappedType>>(*state, $argumentIndex);\n"); -
trunk/Source/WebCore/bindings/scripts/test/JS/JSTestObj.cpp
r206090 r206094 32 32 #include "Frame.h" 33 33 #include "HTMLNames.h" 34 #include "JSBlob.h" 34 35 #include "JSDOMBinding.h" 35 36 #include "JSDOMConstructor.h"
Note: See TracChangeset
for help on using the changeset viewer.