| Index: src/top.cc
|
| diff --git a/src/top.cc b/src/top.cc
|
| index 7a1ce1bf7168a1dbd1a65cc6adca893117984ca4..69b296f76bb7682e8649c5ce2f7fc088b2853426 100644
|
| --- a/src/top.cc
|
| +++ b/src/top.cc
|
| @@ -69,8 +69,7 @@ void ThreadLocalTop::Initialize() {
|
| #endif
|
| try_catch_handler_address_ = NULL;
|
| context_ = NULL;
|
| - int id = Isolate::Current()->thread_manager()->CurrentId();
|
| - thread_id_ = (id == 0) ? ThreadManager::kInvalidId : id;
|
| + thread_id_ = ThreadId::Current();
|
| external_caught_exception_ = false;
|
| in_exception_reporting_ = false;
|
| failed_access_check_callback_ = NULL;
|
|
|