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

Unified Diff: runtime/bin/builtin_natives.cc

Issue 10343010: Fix two semantic errors from my previous check-in. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: 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 | « no previous file | runtime/vm/dart_api_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/builtin_natives.cc
diff --git a/runtime/bin/builtin_natives.cc b/runtime/bin/builtin_natives.cc
index 214bd28db1c0de5430f0cc57d3c215b24a517675..eadd3296886852f8086ee33395396f9fd1981b28 100644
--- a/runtime/bin/builtin_natives.cc
+++ b/runtime/bin/builtin_natives.cc
@@ -112,7 +112,7 @@ void Builtin::PrintString(FILE* out, Dart_Handle str) {
// an isolate gets interrupted by the embedder in the middle of
// Dart_StringToBytes? We need to make sure not to swallow the
// interrupt.
- fputs(Dart_GetError(result));
+ fputs(Dart_GetError(result), out);
} else {
fwrite(characters, sizeof(*characters), length, out);
}
« no previous file with comments | « no previous file | runtime/vm/dart_api_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698