| Index: src/v8.cc
|
| diff --git a/src/v8.cc b/src/v8.cc
|
| index f89ed838ce1839b07175bad884427e99ce933c6b..eda8d9614fc9a06ba8570071559d98bc143f21b6 100644
|
| --- a/src/v8.cc
|
| +++ b/src/v8.cc
|
| @@ -63,8 +63,8 @@ bool V8::Initialize(Deserializer* des) {
|
| }
|
|
|
| ASSERT(i::Isolate::CurrentPerIsolateThreadData() != NULL);
|
| - ASSERT(i::Isolate::CurrentPerIsolateThreadData()->thread_id() ==
|
| - i::Thread::GetThreadLocalInt(i::Isolate::thread_id_key()));
|
| + ASSERT(i::Isolate::CurrentPerIsolateThreadData()->thread_id().Equals(
|
| + i::ThreadId::Current()));
|
| ASSERT(i::Isolate::CurrentPerIsolateThreadData()->isolate() ==
|
| i::Isolate::Current());
|
|
|
|
|