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

Unified Diff: vm/isolate.cc

Issue 8673002: - Refactor the isolate callback mechanism to also include creation of the (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/
Patch Set: '' Created 9 years, 1 month 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
Index: vm/isolate.cc
===================================================================
--- vm/isolate.cc (revision 1771)
+++ vm/isolate.cc (working copy)
@@ -50,7 +50,6 @@
random_seed_(Random::kDefaultRandomSeed),
bigint_store_(NULL),
top_exit_frame_info_(0),
- init_callback_data_(NULL),
library_tag_handler_(NULL),
api_state_(NULL),
stub_code_(NULL),
@@ -223,16 +222,16 @@
}
-Dart_IsolateInitCallback Isolate::init_callback_ = NULL;
+Dart_IsolateCreateAndInitCallback Isolate::create_init_callback_ = NULL;
-void Isolate::SetInitCallback(Dart_IsolateInitCallback callback) {
- init_callback_ = callback;
+void Isolate::SetCreateAndInitCallback(Dart_IsolateCreateAndInitCallback cb) {
+ create_init_callback_ = cb;
}
-Dart_IsolateInitCallback Isolate::InitCallback() {
- return init_callback_;
+Dart_IsolateCreateAndInitCallback Isolate::CreateAndInitCallback() {
+ return create_init_callback_;
}

Powered by Google App Engine
This is Rietveld 408576698