| Index: test/cctest/test-serialize.cc
|
| diff --git a/test/cctest/test-serialize.cc b/test/cctest/test-serialize.cc
|
| index f87eb96e9db01c01e7127c71f38ddf18fa2f110e..8973d5417884208d986be2dc94cb923ca73ef2ca 100644
|
| --- a/test/cctest/test-serialize.cc
|
| +++ b/test/cctest/test-serialize.cc
|
| @@ -286,14 +286,15 @@ static void Deserialize() {
|
|
|
|
|
| static void SanityCheck() {
|
| + Isolate* isolate = Isolate::Current();
|
| v8::HandleScope scope(v8::Isolate::GetCurrent());
|
| #ifdef VERIFY_HEAP
|
| HEAP->Verify();
|
| #endif
|
| - CHECK(Isolate::Current()->global_object()->IsJSObject());
|
| - CHECK(Isolate::Current()->native_context()->IsContext());
|
| + CHECK(isolate->global_object()->IsJSObject());
|
| + CHECK(isolate->native_context()->IsContext());
|
| CHECK(HEAP->string_table()->IsStringTable());
|
| - CHECK(!FACTORY->InternalizeOneByteString(
|
| + CHECK(!isolate->factory()->InternalizeOneByteString(
|
| STATIC_ASCII_VECTOR("Empty"))->IsFailure());
|
| }
|
|
|
|
|