| 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 512ff7df12783579ad2c51114f305354413497dc..e1b5833ee89b5f0b6ead58d68e6940ee49dc727c 100644
|
| --- a/tools/dom/templates/html/dartium/html_dartium.darttemplate
|
| +++ b/tools/dom/templates/html/dartium/html_dartium.darttemplate
|
| @@ -142,15 +142,15 @@ Future<Isolate> spawnDomUri(Uri uri, List<String> args, message) {
|
| }
|
| $if DART_USE_BLINK
|
| // FIXME: Can we make this private?
|
| -const htmlBlinkMap = const {
|
| - '_HistoryCrossFrame': _HistoryCrossFrame,
|
| - '_LocationCrossFrame': _LocationCrossFrame,
|
| - '_DOMWindowCrossFrame': _DOMWindowCrossFrame,
|
| +final htmlBlinkMap = {
|
| + '_HistoryCrossFrame': () => _HistoryCrossFrame,
|
| + '_LocationCrossFrame': () => _LocationCrossFrame,
|
| + '_DOMWindowCrossFrame': () => _DOMWindowCrossFrame,
|
| // FIXME: Move these to better locations.
|
| - 'DateTime': DateTime,
|
| - 'JsObject': js.JsObject,
|
| - 'JsFunction': js.JsFunction,
|
| - 'JsArray': js.JsArray,
|
| + 'DateTime': () => DateTime,
|
| + 'JsObject': () => js.JsObject,
|
| + 'JsFunction': () => js.JsFunction,
|
| + 'JsArray': () => js.JsArray,
|
| $!TYPE_MAP
|
| };
|
| $endif
|
|
|