| Index: tools/dom/templates/html/dartium/html_dartium.darttemplate
|
| diff --git a/tools/dom/templates/html/dartium/html_dartium.darttemplate b/tools/dom/templates/html/dartium/html_dartium.darttemplate
|
| index 09d9a58be6d075b4a362f20681421b7d668cfb6f..6895c3663e65accb26effbbc2cec763168df369e 100644
|
| --- a/tools/dom/templates/html/dartium/html_dartium.darttemplate
|
| +++ b/tools/dom/templates/html/dartium/html_dartium.darttemplate
|
| @@ -140,22 +140,8 @@ Future<Isolate> spawnDomUri(Uri uri, List<String> args, message) {
|
| return _Utils.spawnDomUri(uri.toString());
|
| }
|
| $if DART_USE_BLINK
|
| -// FIXME: This should be generated.
|
| -const _typeMap = const {
|
| - 'EventTarget': EventTarget,
|
| - 'Window': Window,
|
| - 'Element': Element,
|
| - 'Console': Console,
|
| - 'Node': Node,
|
| - 'Document': Document,
|
| - 'HTMLElement': HtmlElement,
|
| - 'HTMLCanvasElement': CanvasElement,
|
| - 'HTMLDocument': HtmlDocument,
|
| +// FIXME: Can we make this private?
|
| +const htmlBlinkMap = const {
|
| +$!TYPE_MAP
|
| };
|
| -
|
| -Type _getType(String key) {
|
| - if (!_typeMap.containsKey(key))
|
| - return null;
|
| - return _typeMap[key];
|
| -}
|
| $endif
|
|
|