Index: src/api.cc |
diff --git a/src/api.cc b/src/api.cc |
index 0aa10b82d0137fe0f04dedc04a1f12aa0de95e5a..93a688ee322306e2328e978d326cbef4b0d9fc45 100644 |
--- a/src/api.cc |
+++ b/src/api.cc |
@@ -4461,7 +4461,7 @@ |
} |
auto func = i::Handle<i::JSFunction>::cast(self); |
i::Handle<i::String> property_name = |
- isolate->factory()->display_name_string(); |
+ isolate->factory()->NewStringFromStaticChars("displayName"); |
i::Handle<i::Object> value = |
i::JSReceiver::GetDataProperty(func, property_name); |
if (value->IsString()) { |