Index: src/runtime/runtime-typedarray.cc |
diff --git a/src/runtime/runtime-typedarray.cc b/src/runtime/runtime-typedarray.cc |
index 26929565c6edcb23475308f2ade1579a18cabef3..93ff56dbf7b9c9ec250643cf7eefdabe4ef24dd3 100644 |
--- a/src/runtime/runtime-typedarray.cc |
+++ b/src/runtime/runtime-typedarray.cc |
@@ -5,7 +5,6 @@ |
#include "src/v8.h" |
#include "src/arguments.h" |
-#include "src/messages.h" |
#include "src/runtime/runtime.h" |
#include "src/runtime/runtime-utils.h" |
@@ -400,7 +399,8 @@ |
DCHECK(args.length() == 3); |
if (!args[0]->IsJSTypedArray()) { |
THROW_NEW_ERROR_RETURN_FAILURE( |
- isolate, NewTypeError(MessageTemplate::kNotTypedArray)); |
+ isolate, |
+ NewTypeError("not_typed_array", HandleVector<Object>(NULL, 0))); |
} |
if (!args[1]->IsJSTypedArray()) |