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