| Index: tools/dom/templates/html/dart2js/impl_RTCIceCandidate.darttemplate
|
| diff --git a/tools/dom/templates/html/dart2js/impl_RTCIceCandidate.darttemplate b/tools/dom/templates/html/dart2js/impl_RTCIceCandidate.darttemplate
|
| index 6090f900702b66235e70ecfa0eca6c84807c4798..b6a33d6263b83dd592f05c1905b9d9a924c4849e 100644
|
| --- a/tools/dom/templates/html/dart2js/impl_RTCIceCandidate.darttemplate
|
| +++ b/tools/dom/templates/html/dart2js/impl_RTCIceCandidate.darttemplate
|
| @@ -4,13 +4,13 @@
|
|
|
| part of $LIBRARYNAME;
|
|
|
| -$(ANNOTATIONS)class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC {
|
| +$(ANNOTATIONS)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC {
|
| factory $CLASSNAME(Map dictionary) {
|
| // TODO(efortuna): Remove this check if when you can actually construct with
|
| // the unprefixed RTCIceCandidate in Firefox (currently both are defined,
|
| // but one can't be used as a constructor).
|
| var constructorName = JS('', 'window[#]',
|
| - Device.isFirefox ? '${Device.propertyPrefix}RTCIceCandidate' :
|
| + Device.isFirefox ? '${Device.propertyPrefix}RTCIceCandidate' :
|
| 'RTCIceCandidate');
|
| return JS('RtcIceCandidate', 'new #(#)', constructorName,
|
| convertDartToNative_SerializedScriptValue(dictionary));
|
|
|