Index: src/builtins/builtins-arraybuffer.cc |
diff --git a/src/builtins/builtins-arraybuffer.cc b/src/builtins/builtins-arraybuffer.cc |
index ff2753cab24addb21a320ebf56792ea0d3f08e45..addf8ac291fd223fc9fc7fff6dc18000060de3ac 100644 |
--- a/src/builtins/builtins-arraybuffer.cc |
+++ b/src/builtins/builtins-arraybuffer.cc |
@@ -41,7 +41,7 @@ BUILTIN(ArrayBufferConstructor_ConstructStub) { |
ASSIGN_RETURN_FAILURE_ON_EXCEPTION(isolate, result, |
JSObject::New(target, new_target)); |
size_t byte_length; |
- if (!TryNumberToSize(isolate, *number_length, &byte_length)) { |
+ if (!TryNumberToSize(*number_length, &byte_length)) { |
THROW_NEW_ERROR_RETURN_FAILURE( |
isolate, NewRangeError(MessageTemplate::kInvalidArrayBufferLength)); |
} |