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

Unified Diff: runtime/bin/isolate_data.h

Issue 10990083: Reapply change to hide VM-only List implementation classes. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fix dart:io perf regression. Created 8 years, 3 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 | « runtime/bin/file_impl.dart ('k') | runtime/bin/process_impl.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « runtime/bin/file_impl.dart ('k') | runtime/bin/process_impl.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698