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

Unified Diff: runtime/bin/common.dart

Issue 9773037: Make the temporary OSError allocation method private. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 9 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 | « no previous file | runtime/bin/dartutils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/common.dart
diff --git a/runtime/bin/common.dart b/runtime/bin/common.dart
index b1f7da882b7ce550031f1493c1ae9e0d32aa6002..aa3365a7caf82830a0c7ea9d85e7b9486314493c 100644
--- a/runtime/bin/common.dart
+++ b/runtime/bin/common.dart
@@ -42,14 +42,6 @@ class OSError {
}
-/**
- * Utility for creating an OSError instance. NOTE: This will go away
- * soon, so please don't use this utility function. The reason for
- * having it temporarily is that the Dart C API does not currently
- * support constructing objects.
- */
// TODO(sgjesse): Remove this once Dart constructors can be invoked
// through the API.
-class IOUtils {
- static OSError makeOSError(message, code) => new OSError(message, code);
-}
+OSError _makeOSError(message, code) => new OSError(message, code);
« no previous file with comments | « no previous file | runtime/bin/dartutils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698