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

Unified Diff: tools/dom/templates/html/dartium/html_dartium.darttemplate

Issue 11783009: Big merge from experimental to bleeding edge. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 11 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
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 2d1d6cfff5e4f60b8ce6dbf4c278ed29555046ac..d9cc41f488f1f19c313bcfbca90f87e1b6f46036 100644
--- a/tools/dom/templates/html/dartium/html_dartium.darttemplate
+++ b/tools/dom/templates/html/dartium/html_dartium.darttemplate
@@ -7,11 +7,12 @@
library html;
+import 'dart:async';
import 'dart:collection';
import 'dart:html_common';
import 'dart:indexed_db';
import 'dart:isolate';
-import 'dart:json';
+import 'dart:json' as json;
import 'dart:nativewrappers';
// Not actually used, but imported since dart:html can generate these objects.
import 'dart:svg' as svg;
@@ -75,7 +76,7 @@ var _callPortLastResult = null;
_callPortSync(num id, var message) {
if (!_callPortInitialized) {
window.on['js-result'].add((event) {
- _callPortLastResult = JSON.parse(_getPortSyncEventData(event));
+ _callPortLastResult = json.parse(_getPortSyncEventData(event));
}, false);
_callPortInitialized = true;
}
« no previous file with comments | « tools/dom/templates/html/dart2js/impl_Window.darttemplate ('k') | tools/dom/templates/html/dartium/impl_Window.darttemplate » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698