Index: src/contexts.cc |
diff --git a/src/contexts.cc b/src/contexts.cc |
index ada6e049a67727baa66362f198497cbaa7ed1f03..33d47e9c4bb73eeceec550c0116cea6c6cf5db51 100644 |
--- a/src/contexts.cc |
+++ b/src/contexts.cc |
@@ -368,7 +368,7 @@ Handle<Object> Context::ErrorMessageForCodeGenerationFromStrings() { |
Handle<Object> result(error_message_for_code_gen_from_strings(), |
GetIsolate()); |
if (!result->IsUndefined()) return result; |
- return GetIsolate()->factory()->NewStringFromAscii(i::CStrVector( |
+ return GetIsolate()->factory()->NewStringFromOneByte(STATIC_ASCII_VECTOR( |
"Code generation from strings disallowed for this context")); |
} |