Index: test/cctest/test-serialize.cc |
diff --git a/test/cctest/test-serialize.cc b/test/cctest/test-serialize.cc |
index 3ca9b612ef4e6f223ae2d077c0470575e05aa59c..3eaab7818a3f4a05c8f705b3d2650611773a962d 100644 |
--- a/test/cctest/test-serialize.cc |
+++ b/test/cctest/test-serialize.cc |
@@ -283,7 +283,7 @@ static void SanityCheck() { |
HEAP->Verify(); |
#endif |
CHECK(Isolate::Current()->global()->IsJSObject()); |
- CHECK(Isolate::Current()->global_context()->IsContext()); |
+ CHECK(Isolate::Current()->native_context()->IsContext()); |
CHECK(HEAP->symbol_table()->IsSymbolTable()); |
CHECK(!FACTORY->LookupAsciiSymbol("Empty")->IsFailure()); |
} |