Index: src/api.h |
diff --git a/src/api.h b/src/api.h |
index cd0205b2cc374b68612d965f30a8b13ae1e51f80..90cada7a3b2eb08ba06f8fe5556865f41901a018 100644 |
--- a/src/api.h |
+++ b/src/api.h |
@@ -399,8 +399,9 @@ class StringTracker { |
ISOLATED_CLASS HandleScopeImplementer { |
public: |
- HandleScopeImplementer() |
- : blocks_(0), |
+ explicit HandleScopeImplementer(Isolate* isolate) |
+ : isolate_(isolate), |
+ blocks_(0), |
entered_contexts_(0), |
saved_contexts_(0), |
spare_(NULL), |
@@ -466,6 +467,7 @@ ISOLATED_CLASS HandleScopeImplementer { |
ASSERT(call_depth_ == 0); |
} |
+ Isolate* isolate_; |
List<internal::Object**> blocks_; |
// Used as a stack to keep track of entered contexts. |
List<Handle<Object> > entered_contexts_; |