Index: runtime/bin/file.cc |
diff --git a/runtime/bin/file.cc b/runtime/bin/file.cc |
index 61b408f7e394ee927428f26c314a76951ee95acf..b775eb633e55f5c669a8619aa955c8539e2a6818 100644 |
--- a/runtime/bin/file.cc |
+++ b/runtime/bin/file.cc |
@@ -11,6 +11,7 @@ |
#include "bin/utils.h" |
#include "include/dart_api.h" |
+#include "include/dart_native_api.h" |
siva
2013/12/13 21:29:14
Leftover from a previous version? Not needed anymo
|
namespace dart { |
namespace bin { |
@@ -262,7 +263,6 @@ void FUNCTION_NAME(File_WriteFrom)(Dart_NativeArguments args) { |
// Write the data out into the file. |
int64_t bytes_written = file->Write(reinterpret_cast<void*>(buffer), length); |
- |
// Release the direct pointer acquired above. |
result = Dart_TypedDataReleaseData(buffer_obj); |
if (Dart_IsError(result)) Dart_PropagateError(result); |