Index: src/v8threads.cc |
diff --git a/src/v8threads.cc b/src/v8threads.cc |
index 978e2ddf3fa7dde41bb21f340fc9bece9ddbd3f4..c9a8bb6fa2df0f7ea70b56a0fdf69094a8a14af2 100644 |
--- a/src/v8threads.cc |
+++ b/src/v8threads.cc |
@@ -46,7 +46,7 @@ bool Locker::active_ = false; |
// current thread will be guaranteed to have the lock for a given isolate. |
Locker::Locker(v8::Isolate* isolate) |
: has_lock_(false), |
- top_level_(false), |
+ top_level_(true), |
isolate_(reinterpret_cast<i::Isolate*>(isolate)) { |
if (isolate_ == NULL) { |
isolate_ = i::Isolate::GetDefaultIsolateForLocking(); |