Index: src/liveedit.cc |
diff --git a/src/liveedit.cc b/src/liveedit.cc |
index 4a6fe731a6ef3eb1b2bd09cebf0b3f7d97c8693c..d0eab5bfb6ebea3758e801772ff09dd7ae96780c 100644 |
--- a/src/liveedit.cc |
+++ b/src/liveedit.cc |
@@ -1888,8 +1888,8 @@ Handle<JSArray> LiveEdit::CheckAndDropActivations( |
DropActivationsInActiveThread(shared_info_array, result, do_drop); |
if (error_message != NULL) { |
// Add error message as an array extra element. |
- Handle<String> str = isolate->factory()->NewStringFromAscii( |
- CStrVector(error_message)); |
+ Handle<String> str = |
+ isolate->factory()->NewStringFromAsciiChecked(error_message); |
SetElementSloppy(result, len, str); |
} |
return result; |