| Index: tools/dom/src/native_DOMImplementation.dart
|
| diff --git a/tools/dom/src/native_DOMImplementation.dart b/tools/dom/src/native_DOMImplementation.dart
|
| index 34c032bb7377e674228c7e78276c1cbdbc2f9816..944b5424c29641c638d730799f29456a4a31a3ac 100644
|
| --- a/tools/dom/src/native_DOMImplementation.dart
|
| +++ b/tools/dom/src/native_DOMImplementation.dart
|
| @@ -187,9 +187,7 @@ class _Utils {
|
| return element;
|
| }
|
|
|
| - // TODO(terry): Enable below for Dartium w/ interop and remove other static window().
|
| - // static window() => wrap_jso(_blink.Blink_Utils.window()['window']);
|
| - static window() => _blink.Blink_Utils.window();
|
| + static window() => wrap_jso(js.context['window']);
|
|
|
| static forwardingPrint(String message) => _blink.Blink_Utils.forwardingPrint(message);
|
| static void spawnDomHelper(Function f, int replyTo) =>
|
| @@ -806,9 +804,6 @@ class _Utils {
|
| static Element createElement(Document document, String tagName) =>
|
| wrap_jso(_blink.Blink_Utils.createElement(unwrap_jso(document), tagName));
|
|
|
| - static void initializeCustomElement(HtmlElement element) =>
|
| - _blink.Blink_Utils.initializeCustomElement(unwrap_jso(element));
|
| -
|
| static Element changeElementWrapper(HtmlElement element, Type type) =>
|
| _blink.Blink_Utils.changeElementWrapper(unwrap_jso(element), type);
|
| }
|
| @@ -873,7 +868,7 @@ class _LocationCrossFrame extends NativeFieldWrapperClass2 implements LocationBa
|
| _LocationCrossFrame.internal();
|
|
|
| // Fields.
|
| - void set href(String h) => _blink.Blink_LocationCrossFrame.set_href(this, h);
|
| + set href(String h) => _blink.Blink_LocationCrossFrame.set_href(this, h);
|
|
|
| // Implementation support.
|
| String get typeName => "Location";
|
| @@ -1109,10 +1104,6 @@ get _pureIsolateScheduleImmediateClosure => ((void callback()) =>
|
| throw new UnimplementedError("scheduleMicrotask in background isolates "
|
| "are not supported in the browser"));
|
|
|
| -void _initializeCustomElement(Element e) {
|
| - _Utils.initializeCustomElement(e);
|
| -}
|
| -
|
| // Class for unsupported native browser 'DOM' objects.
|
| class _UnsupportedBrowserObject extends NativeFieldWrapperClass2 {
|
| }
|
|
|