Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(325)

Unified Diff: tools/dom/src/native_DOMImplementation.dart

Issue 1239653003: Fixed a few more things to make Dartium build w/o --gen-interop (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Re-enable analyzer tests - now pass. Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tests/co19/co19-analyzer2.status ('k') | tools/dom/templates/html/impl/impl_Element.darttemplate » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « tests/co19/co19-analyzer2.status ('k') | tools/dom/templates/html/impl/impl_Element.darttemplate » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698