Chromium Code Reviews| Index: tools/dom/templates/html/dart2js/impl_RTCSessionDescription.darttemplate |
| diff --git a/tools/dom/templates/html/impl/impl_ImageData.darttemplate b/tools/dom/templates/html/dart2js/impl_RTCSessionDescription.darttemplate |
| similarity index 57% |
| copy from tools/dom/templates/html/impl/impl_ImageData.darttemplate |
| copy to tools/dom/templates/html/dart2js/impl_RTCSessionDescription.darttemplate |
| index c7e0977bb537c18f02357fedc6c19d2581ee1eb8..5793e3f49376b7303fc87753885b5c06afc58194 100644 |
| --- a/tools/dom/templates/html/impl/impl_ImageData.darttemplate |
| +++ b/tools/dom/templates/html/dart2js/impl_RTCSessionDescription.darttemplate |
| @@ -3,18 +3,12 @@ |
| // BSD-style license that can be found in the LICENSE file. |
| part of $LIBRARYNAME; |
| -$ANNOTATIONS |
| -class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC { |
| -$if DARTIUM |
| - List<int> __data; |
| - List<int> get data { |
| - if (__data == null) { |
| - __data = _data; |
| - } |
| - return __data; |
| +/// @domName $DOMNAME; @docsEditable true$ANNOTATIONS |
|
blois
2013/02/11 17:24:33
Ditto.
|
| +class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC { |
| + factory $CLASSNAME(Map dictionary) { |
| + return JS('RtcSessionDescription', 'new RTCSessionDescription(#)', |
| + convertDartToNative_SerializedScriptValue(dictionary)); |
| } |
| -$endif |
| - |
| $!MEMBERS |
| } |