| Index: src/v8.cc
|
| diff --git a/src/v8.cc b/src/v8.cc
|
| index 19ed18401181a0d50a96c38f7dd28efe1840b0d7..efce78ce839a405174b992326930fa7531218c5a 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());
|
|
|
|
|