Index: test/cctest/test-api.cc |
diff --git a/test/cctest/test-api.cc b/test/cctest/test-api.cc |
index a30fbdac957773635702ffe3366c8ffb79d50091..6f5c841d8149496711db9fe99b1124349dd7a41c 100644 |
--- a/test/cctest/test-api.cc |
+++ b/test/cctest/test-api.cc |
@@ -12225,8 +12225,8 @@ static bool NamedGetAccessBlockAandH(Local<v8::Object> obj, |
if (!name->IsString()) return false; |
i::Handle<i::String> name_handle = |
v8::Utils::OpenHandle(String::Cast(*name)); |
- return !name_handle->IsEqualTo(i::CStrVector(kPropertyA)) |
- && !name_handle->IsEqualTo(i::CStrVector(kPropertyH)); |
+ return !name_handle->IsUtf8EqualTo(i::CStrVector(kPropertyA)) |
+ && !name_handle->IsUtf8EqualTo(i::CStrVector(kPropertyH)); |
} |