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

Unified Diff: samples/third_party/dromaeo/tests/RunnerSuite.dart

Issue 23596007: Remove usage of dart:json. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Rebase. Created 7 years, 4 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: samples/third_party/dromaeo/tests/RunnerSuite.dart
diff --git a/samples/third_party/dromaeo/tests/RunnerSuite.dart b/samples/third_party/dromaeo/tests/RunnerSuite.dart
index 42143c521fb23148ca762fa93bb6b6dd210339c8..e61da7d1f584e7bb3de1da0c8c7cf09f357069e8 100644
--- a/samples/third_party/dromaeo/tests/RunnerSuite.dart
+++ b/samples/third_party/dromaeo/tests/RunnerSuite.dart
@@ -113,7 +113,7 @@ class Suite {
if (data != null) {
payload['data'] = data;
}
- _window.top.postMessage(json.stringify(payload), '*');
+ _window.top.postMessage(JSON.encode(payload), '*');
}
// Implementation.

Powered by Google App Engine
This is Rietveld 408576698