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

Unified Diff: utils/compiler/build_helper.dart

Issue 10021048: Remove need to instantiate Platform and make methods static. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Add stable test binaries. Created 8 years, 8 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 | « tools/testing/dart/test_suite.dart ('k') | utils/tests/pub/test_pub.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: utils/compiler/build_helper.dart
diff --git a/utils/compiler/build_helper.dart b/utils/compiler/build_helper.dart
index b0116994e7f589bab402dc9081ec5c3b07d9e114..04aa0cc48ee5b6cdaf945fdfc4e84e2a26cd51d2 100644
--- a/utils/compiler/build_helper.dart
+++ b/utils/compiler/build_helper.dart
@@ -31,7 +31,7 @@ writeScript(Uri uri, List<String> chunks) {
// TODO(ahe): Also make a .bat file for Windows.
- if (new Platform().operatingSystem() != 'windows') {
+ if (Platform.operatingSystem() != 'windows') {
onExit(int exitCode, String stdout, String stderr) {
if (exitCode != 0) {
print(stdout);
« no previous file with comments | « tools/testing/dart/test_suite.dart ('k') | utils/tests/pub/test_pub.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698