Index: tools/dom/src/native_DOMImplementation.dart |
diff --git a/tools/dom/src/native_DOMImplementation.dart b/tools/dom/src/native_DOMImplementation.dart |
index a43df6998d5e2b7b405d010d6a3e7435a2633d65..34c032bb7377e674228c7e78276c1cbdbc2f9816 100644 |
--- a/tools/dom/src/native_DOMImplementation.dart |
+++ b/tools/dom/src/native_DOMImplementation.dart |
@@ -187,7 +187,10 @@ class _Utils { |
return element; |
} |
- static window() => wrap_jso(_blink.Blink_Utils.window()['window']); |
+ // 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 forwardingPrint(String message) => _blink.Blink_Utils.forwardingPrint(message); |
static void spawnDomHelper(Function f, int replyTo) => |
_blink.Blink_Utils.spawnDomHelper(f, replyTo); |