Index: runtime/bin/file.h |
diff --git a/runtime/bin/file.h b/runtime/bin/file.h |
index 5f3fd004a082dca9718500b94f9b9b9b880cc86a..53a1e448ca0aa030ab62770009e21868898ac41f 100644 |
--- a/runtime/bin/file.h |
+++ b/runtime/bin/file.h |
@@ -12,6 +12,7 @@ |
#include "bin/builtin.h" |
#include "bin/dartutils.h" |
+#include "bin/native_service.h" |
#include "platform/globals.h" |
#include "platform/thread.h" |
@@ -138,10 +139,7 @@ class File { |
// FileHandle is an OS specific class which stores data about the file. |
FileHandle* handle_; // OS specific handle for the file. |
- static dart::Mutex mutex_; |
- static int service_ports_size_; |
- static Dart_Port* service_ports_; |
- static int service_ports_index_; |
+ static NativeService file_service_; |
DISALLOW_COPY_AND_ASSIGN(File); |
}; |