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: samples/third_party/dromaeo/common/BenchUtil.dart

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
« no previous file with comments | « samples/third_party/dromaeo/Suites.dart ('k') | samples/third_party/dromaeo/common/JSON.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: samples/third_party/dromaeo/common/BenchUtil.dart
diff --git a/samples/third_party/dromaeo/common/BenchUtil.dart b/samples/third_party/dromaeo/common/BenchUtil.dart
index 5c9073ae326b18224dbf3083843d337fd90485ba..2d0a487bf63e9f539f78f97782968ada6eab0456 100644
--- a/samples/third_party/dromaeo/common/BenchUtil.dart
+++ b/samples/third_party/dromaeo/common/BenchUtil.dart
@@ -12,11 +12,11 @@ class BenchUtil {
}
static Map<String, Object> deserialize(String data) {
- return JSON.parse(data);
+ return parseJson(data);
}
static String serialize(Object obj) {
- return JSON.stringify(obj);
+ return jsonStringify(obj);
}
// Shuffle a list randomly.
« no previous file with comments | « samples/third_party/dromaeo/Suites.dart ('k') | samples/third_party/dromaeo/common/JSON.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698