Index: runtime/bin/isolate_data.h |
diff --git a/runtime/bin/isolate_data.h b/runtime/bin/isolate_data.h |
index 06ac164d77fa0d93c5897f619caa153e65150a83..7824285cc01f8a0493063a768fdf65ad7e43bdf5 100644 |
--- a/runtime/bin/isolate_data.h |
+++ b/runtime/bin/isolate_data.h |
@@ -5,6 +5,7 @@ |
#ifndef BIN_ISOLATE_DATA_H_ |
#define BIN_ISOLATE_DATA_H_ |
+#include "include/dart_api.h" |
#include "platform/globals.h" |
// Forward declaration. |
@@ -15,9 +16,15 @@ class EventHandler; |
// when the isolate shuts down. |
class IsolateData { |
public: |
- IsolateData() : event_handler(NULL) {} |
+ IsolateData() |
+ : event_handler(NULL), object_array_class(NULL), |
+ growable_object_array_class(NULL), immutable_array_class(NULL) { |
+ } |
EventHandler* event_handler; |
+ Dart_Handle object_array_class; |
+ Dart_Handle growable_object_array_class; |
+ Dart_Handle immutable_array_class; |
private: |
DISALLOW_COPY_AND_ASSIGN(IsolateData); |