Index: src/contexts.cc |
diff --git a/src/contexts.cc b/src/contexts.cc |
index 1b495265265dd412467136a6b3b0736a28abe5c1..30c474d5fff58fd8130f5bc00d58c89f78f1438c 100644 |
--- a/src/contexts.cc |
+++ b/src/contexts.cc |
@@ -388,7 +388,7 @@ Handle<Object> Context::ErrorMessageForCodeGenerationFromStrings() { |
Isolate* isolate = GetIsolate(); |
Handle<Object> result(error_message_for_code_gen_from_strings(), isolate); |
if (!result->IsUndefined()) return result; |
- return isolate->factory()->NewStringFromStaticAscii( |
+ return isolate->factory()->NewStringFromStaticChars( |
"Code generation from strings disallowed for this context"); |
} |