| Index: test/cctest/test-lockers.cc
|
| diff --git a/test/cctest/test-lockers.cc b/test/cctest/test-lockers.cc
|
| index 76d0e8331055f7385098d511a634ea240dfeeb37..c909a02125e4f918b0d23907d313033cdba618c9 100644
|
| --- a/test/cctest/test-lockers.cc
|
| +++ b/test/cctest/test-lockers.cc
|
| @@ -67,7 +67,8 @@ class KangarooThread : public v8::base::Thread {
|
| {
|
| v8::Locker locker(isolate_);
|
| v8::Isolate::Scope isolate_scope(isolate_);
|
| - CHECK_EQ(isolate_, v8::internal::Isolate::Current());
|
| + CHECK_EQ(reinterpret_cast<v8::internal::Isolate*>(isolate_),
|
| + v8::internal::Isolate::Current());
|
| v8::HandleScope scope(isolate_);
|
| v8::Local<v8::Context> context =
|
| v8::Local<v8::Context>::New(isolate_, context_);
|
| @@ -106,7 +107,8 @@ TEST(KangarooIsolates) {
|
| v8::HandleScope handle_scope(isolate);
|
| v8::Local<v8::Context> context = v8::Context::New(isolate);
|
| v8::Context::Scope context_scope(context);
|
| - CHECK_EQ(isolate, v8::internal::Isolate::Current());
|
| + CHECK_EQ(reinterpret_cast<v8::internal::Isolate*>(isolate),
|
| + v8::internal::Isolate::Current());
|
| CompileRun("function getValue() { return 30; }");
|
| thread1.Reset(new KangarooThread(isolate, context));
|
| }
|
| @@ -184,7 +186,8 @@ class IsolateLockingThreadWithLocalContext : public JoinableThread {
|
| v8::Isolate::Scope isolate_scope(isolate_);
|
| v8::HandleScope handle_scope(isolate_);
|
| LocalContext local_context(isolate_);
|
| - CHECK_EQ(isolate_, v8::internal::Isolate::Current());
|
| + CHECK_EQ(reinterpret_cast<v8::internal::Isolate*>(isolate_),
|
| + v8::internal::Isolate::Current());
|
| CalcFibAndCheck();
|
| }
|
| private:
|
|
|