Chromium Code Reviews| Index: runtime/bin/builtin.cc |
| diff --git a/runtime/bin/builtin.cc b/runtime/bin/builtin.cc |
| index 5f8abcf33522625f0d8604fc08e2891978e11ca9..9f7e0a404a8e3f909dfb3feb8b3870b53a72e7e2 100644 |
| --- a/runtime/bin/builtin.cc |
| +++ b/runtime/bin/builtin.cc |
| @@ -4,9 +4,10 @@ |
| #include <assert.h> |
| #include <stdlib.h> |
| -#include <string.h> |
| #include <stdio.h> |
| +#include <string> |
|
Ivan Posva
2011/10/18 20:52:43
I do not see a reason for changing which headers a
rchandia
2011/10/18 21:05:28
Neither do I, but the presubmit script complained
Ivan Posva
2011/10/18 21:31:53
Agreed, but as I said it should not matter as all
|
| + |
| #include "include/dart_api.h" |
| #include "bin/builtin.h" |
| @@ -19,6 +20,7 @@ void PrintString(FILE* out, Dart_Handle string) { |
| const char* cstring = Dart_IsValidResult(result) ? |
| Dart_GetResultAsCString(result) : Dart_GetErrorCString(result); |
| fprintf(out, "%s\n", cstring); |
| + fflush(out); |
| } |