Index: test/cctest/test-api.cc |
diff --git a/test/cctest/test-api.cc b/test/cctest/test-api.cc |
index 74f67d1910e656f1fee4fd852b47dad04f664cb7..21892f86d1b2a1a3c1690de783d35fa3f867a1ed 100644 |
--- a/test/cctest/test-api.cc |
+++ b/test/cctest/test-api.cc |
@@ -25974,7 +25974,7 @@ TEST(ObjectTemplatePerContextIntrinsics) { |
object->Get(env.local(), v8_str("values")).ToLocalChecked()); |
auto fn = i::Handle<i::JSFunction>::cast(v8::Utils::OpenHandle(*values)); |
auto ctx = v8::Utils::OpenHandle(*env.local()); |
- CHECK_EQ(fn->GetCreationContext(), *ctx); |
+ CHECK_EQ(*fn->GetCreationContext(), *ctx); |
{ |
LocalContext env2; |
@@ -25990,7 +25990,7 @@ TEST(ObjectTemplatePerContextIntrinsics) { |
object2->Get(env2.local(), v8_str("values")).ToLocalChecked()); |
auto fn2 = i::Handle<i::JSFunction>::cast(v8::Utils::OpenHandle(*values2)); |
auto ctx2 = v8::Utils::OpenHandle(*env2.local()); |
- CHECK_EQ(fn2->GetCreationContext(), *ctx2); |
+ CHECK_EQ(*fn2->GetCreationContext(), *ctx2); |
} |
} |