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

Unified Diff: runtime/bin/process_script.cc

Issue 8437056: Implemented File create API. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 9 years, 1 month 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 | « runtime/bin/main.cc ('k') | tests/standalone/src/FileTest.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/process_script.cc
diff --git a/runtime/bin/process_script.cc b/runtime/bin/process_script.cc
index 8da571c5e6ba3460fd0ad7ca74c436f51df30a01..3261c294d246bd9bebc87aa6b4378202a7a3149c 100644
--- a/runtime/bin/process_script.cc
+++ b/runtime/bin/process_script.cc
@@ -58,7 +58,7 @@ static const char* CanonicalizeUrl(const char* reference_dir,
static Dart_Handle ReadStringFromFile(const char* filename) {
- File* file = File::OpenFile(filename, false);
+ File* file = File::Open(filename, false);
if (file == NULL) {
const char* format = "Unable to open file: %s";
intptr_t len = snprintf(NULL, 0, format, filename);
« no previous file with comments | « runtime/bin/main.cc ('k') | tests/standalone/src/FileTest.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698