Index: src/messages.cc |
diff --git a/src/messages.cc b/src/messages.cc |
index 50b204ab222648889be79394996837dba2b4b02b..290f756770c7d4b287ee2f5ce6d5b2326b7fe521 100644 |
--- a/src/messages.cc |
+++ b/src/messages.cc |
@@ -130,7 +130,7 @@ Handle<String> MessageHandler::GetMessage(Isolate* isolate, |
Handle<Object> data) { |
Factory* factory = isolate->factory(); |
Handle<String> fmt_str = |
- factory->InternalizeOneByteString(STATIC_ASCII_VECTOR("FormatMessage")); |
+ factory->InternalizeOneByteString(STATIC_CHAR_VECTOR("FormatMessage")); |
Handle<JSFunction> fun = Handle<JSFunction>::cast(Object::GetProperty( |
isolate->js_builtins_object(), fmt_str).ToHandleChecked()); |
Handle<JSMessageObject> message = Handle<JSMessageObject>::cast(data); |
@@ -141,7 +141,7 @@ Handle<String> MessageHandler::GetMessage(Isolate* isolate, |
fun, isolate->js_builtins_object(), arraysize(argv), argv); |
Handle<Object> result; |
if (!maybe_result.ToHandle(&result) || !result->IsString()) { |
- return factory->InternalizeOneByteString(STATIC_ASCII_VECTOR("<error>")); |
+ return factory->InternalizeOneByteString(STATIC_CHAR_VECTOR("<error>")); |
} |
Handle<String> result_string = Handle<String>::cast(result); |
// A string that has been obtained from JS code in this way is |