| Index: tools/dom/templates/html/impl/impl_RTCPeerConnection.darttemplate
|
| diff --git a/tools/dom/templates/html/impl/impl_RTCPeerConnection.darttemplate b/tools/dom/templates/html/impl/impl_RTCPeerConnection.darttemplate
|
| index 8af6b9a65ad52f57c082fe9d04c2f014931aaad2..46dcc3775229c547d72f5b2f5a437e4ea6882357 100644
|
| --- a/tools/dom/templates/html/impl/impl_RTCPeerConnection.darttemplate
|
| +++ b/tools/dom/templates/html/impl/impl_RTCPeerConnection.darttemplate
|
| @@ -9,7 +9,7 @@ $if DART2JS
|
| factory $CLASSNAME(Map rtcIceServers, [Map mediaConstraints]) {
|
| var constructorName = JS('RtcPeerConnection', 'window[#]',
|
| '${Device.propertyPrefix}RTCPeerConnection');
|
| - if (?mediaConstraints) {
|
| + if (mediaConstraints != null) {
|
| return JS('RtcPeerConnection', 'new #(#,#)', constructorName,
|
| convertDartToNative_SerializedScriptValue(rtcIceServers),
|
| convertDartToNative_SerializedScriptValue(mediaConstraints));
|
|
|